🌍 Public
Viewing a saved revision (read-only)
24b493e7ab1340e6b5f11c7bcb9396c1
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.