🌍 Public
Viewing a saved revision (read-only)
2b0bec75f7414a6abdef4d46d717c752
Interactive Color Legend
This interactive scatter plot visualizes the Iris dataset, mapping petal length and sepal width for three flower species. Hovering over a species in the color legend highlights those data points while fading all others, using React state for hover interactions and D3 scales for positioning. The visualization renders as SVG, with marks as circles and a custom legend built from D3’s ordinal color scale.
AI-generated descriptionA scatter plot of The Iris Dataset.