Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Jjiangruofan
Last edited Mar 23, 2022
Created on Mar 23, 2022

This interactive scatter plot visualizes the Iris dataset, plotting petal length against sepal width and coloring each point by species. Hovering over a species in the color legend filters the visible marks to that category while dimming the rest, implemented through React state and mouse events. The visualization uses d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and d3.csv for data loading, with all elements rendered as SVG within a React component structure.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes