Activity 6 Question3
✓ Published0🌍 Public
This example visualizes the fruits dataset as a scatter plot, mapping fruit height to the x-axis and fruit width to the y-axis. Each data point is a circle colored according to its fruit type (apple, orange, banana, or grape). The plot includes axes labeled "Fruit Height" and "Tree Height" in green text. The code uses D3 v6 modules like `d3.csv`, `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom`, rendering the visualization as SVG with circles positioned via `cx` and `cy` attributes.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed