Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
OOlof Ollerstam
Last edited Jul 7, 2022
Created on Jan 4, 2022

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for three iris varieties. The d3.scaleOrdinal color scale encodes species, while d3.scaleLinear handles both axes. Hovering over any item in the React-rendered color legend highlights matching points and fades the rest using opacity transitions, driven by state management in React hooks.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes