🌍 Public
Viewing a saved revision (read-only)
0acfb049c5d9458cac34e0f1701e7628
Fork of Interactive Color Legend
This interactive scatter plot visualizes the Iris dataset, mapping petal length and sepal width for different iris species. Hovering over a species in the color legend highlights matching data points and fades the rest, using `onMouseEnter` and `onMouseOut` events. Built with React and D3 v5, it renders as an SVG with `scaleLinear` for axes, `scaleOrdinal` for colors, and custom `AxisBottom`, `AxisLeft`, `Marks`, and `ColorLegend` components.
AI-generated descriptionA scatter plot of The Iris Dataset.