Interactive Color Legend
✓ Published1🌍 Public
A scatter plot of the Iris dataset maps petal length and sepal width, with points colored by species. The interactive color legend uses React state to track a hovered species, which fades all non-matching marks via `opacity` and re-renders the filtered subset. Built with React, D3 v5 scales (`scaleLinear`, `scaleOrdinal`), and SVG circles, it updates through `MouseEnter` and `MouseOut` events on legend items.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed