Interactive Color Legend
✓ Published0🌍 Public
A scatter plot of the Iris dataset maps petal length against sepal width, with points colored by species. An interactive color legend using React hooks highlights one species at a time while fading others, achieved through onMouseEnter and onMouseOut events on SVG circles. The visualization uses d3.scaleOrdinal for colors, d3.scaleLinear for axes, and renders via React to SVG with data loaded from a CSV using d3.csv.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed