🌍 Public
Scatter Plot with Color Legend
This scatter plot visualizes the Iris dataset, showing petal length against sepal width for three species of iris. The species are encoded by color using a categorical scale mapped to an ordinal color legend. Built with React and D3 v5, the visualization uses `scaleLinear` for the axes, `scaleOrdinal` for colors, and reactive rendering via the `useData` hook to load CSV data. SVG circles represent each data point, with axes and legend components rendered separately.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.