🌍 Public
Viewing a saved revision (read-only)
3216c150cb38451785cd3a013051a511
Fork of Interactive Color Legend
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.