Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Eevers-codeshop-ai
Last edited Jun 20, 2021
Created on Jun 20, 2021

This interactive scatter plot of the Iris dataset maps petal length against sepal width, with each species represented by a distinct color. Users can hover over the color legend to highlight points of a particular species while dimming all others, using React state for hover tracking. The visualization uses d3.scaleLinear, d3.scaleOrdinal, and d3.csv for data loading and scaling, with SVG rendering through React components for axes, marks, and the interactive legend.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes