Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
SSteven Pearce
Last edited Dec 16, 2021
Created on Dec 16, 2021

This interactive scatter plot visualizes the Iris dataset, showing petal length versus sepal width for three species of iris flowers. A static SVG renders circles for each data point, colored by species via a D3 ordinal scale. Hovering over a species label in the adjacent color legend fades out non-matching points and highlights the selected group. The implementation uses D3 scales (`scaleLinear`, `scaleOrdinal`) for axes and colors, React hooks for hover state, and renders everything as SVG elements.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes