🌍 Public
Fork of Interactive Color Legend
This interactive scatter plot visualizes the Iris dataset, displaying petal length against sepal width for three iris species. Users can hover over the color legend to highlight a selected species while fading non-matching points, using React state management. The visualization uses d3.scaleLinear and d3.scaleOrdinal for positioning and color encoding, with SVG circles rendered via React components. Data is loaded asynchronously from a CSV using d3.csv, and axes are constructed with custom React components that generate SVG tick marks and labels.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.