🌍 Public
Viewing a saved revision (read-only)
b690b15eab7343ee883f462174566803
Interactive Color Legend
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.