Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
陳陳泰元
Last edited Oct 1, 2022
Created on Oct 1, 2022

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes