Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
JJoshuoYang
Last edited Oct 14, 2022
Created on Oct 14, 2022

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for three iris species. Hovering over a species in the color legend highlights only that species’ points while dimming the others. Built with D3 v5 scales and React components, the visualization uses SVG circles for marks and implements hover interactions through React state and mouse events. The color legend uses `d3.scaleOrdinal` and supports opacity fading via the `fadeOpacity` prop.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes