Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
JJoe Hutchins
Last edited Feb 25, 2022
Created on Feb 25, 2022

A scatter plot of the Iris dataset maps petal length against sepal width, with points colored by species and a legend identifying each category. Built with React and D3 v5, it uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for colors, and SVG circles for marks. Data is loaded via `d3.csv` and parsed into numeric values, while axes and legend are rendered as reusable React components.

AI-generated description

A scatter plot of The Iris Dataset with a Color Legend

MIT Licensed

Similar vizzes