Fork of Interactive Color Legend
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, displaying petal length against sepal width with points colored by species. The visualization uses react and d3.scaleOrdinal for coloring, d3.scaleLinear for positioning, and SVG for rendering. Hovering over a species in the color legend highlights only those data points, while non-matching points fade to 20% opacity, implemented through React's useState hook for hover state management.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed