🌍 Public
Viewing a saved revision (read-only)
f53d70f2be904de697c901d02b3fd958
Interactive Color Legend
A scatter plot of the Iris dataset maps petal length against sepal width, with each point colored by species. Hovering over the color legend dims non-matching points, creating an interactive filter. Built with React and D3 v5, the visualization uses `scaleLinear` for axes, `scaleOrdinal` for colors, and React state to manage the hovered value. SVG circles render the data, while the legend triggers `onMouseEnter` and `onMouseOut` events to update opacity.
AI-generated descriptionA scatter plot of The Iris Dataset.