🌍 Public
Viewing a saved revision (read-only)
e90a97854c90418d972c87435f4530b3
27. Scatter Plot with Color Legend
A scatter plot of the Iris Dataset displays petal length versus sepal width, with each point colored by species and a legend identifying the three categories. The visualization uses React components and D3 v5 scales, including `scaleLinear` for axes and `scaleOrdinal` for color mapping. SVG circles are rendered via custom `Marks`, `AxisBottom`, `AxisLeft`, and `ColorLegend` components, with data loaded asynchronously using `d3.csv`.
AI-generated descriptionA scatter plot of The Iris Dataset with color legend.