Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
Vvitoriss12
Last edited May 31, 2020
Created on May 31, 2020

A scatter plot of the Iris dataset maps petal length against sepal width, with points colored by species. An interactive color legend using React hooks highlights one species at a time while fading others, achieved through onMouseEnter and onMouseOut events on SVG circles. The visualization uses d3.scaleOrdinal for colors, d3.scaleLinear for axes, and renders via React to SVG with data loaded from a CSV using d3.csv.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes