Skip to main content
100%

27. Scatter Plot with Color Legend

✓ Published0🌍 Public
PPrashish Paudel
Last edited Apr 1, 2021
Created on Apr 1, 2021

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 description

A scatter plot of The Iris Dataset with color legend.

MIT Licensed

Similar vizzes