🌍 Public
Viewing a saved revision (read-only)
c76bb98ef3f343ee8676f2711ad3d2d9
Interactive Color Legend
A scatter plot of the Iris dataset shows petal length against sepal width, with points colored by species. An interactive color legend on the right highlights points of a selected species while fading all others. Built with React and D3, it uses `scaleLinear` for axes, `scaleOrdinal` for colors, and SVG circles. Mouse events on the legend trigger a re-render that filters the data into separate highlighted and faded point layers.
AI-generated descriptionA scatter plot of The Iris Dataset.