Skip to main content
100%

Interactive Color Legend

✓ Published117🌍 Public
CCurran Kelleher
Last edited Oct 9, 2025
Created on Oct 2, 2019

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes