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