Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
CChira Cezara Victoria
Last edited Oct 10, 2021
Created on Oct 10, 2021

This interactive scatter plot visualizes the Iris dataset, mapping petal length and sepal width for three iris species. Hovering over legend items highlights the corresponding species while fading others, enabling quick comparisons. Built with React and D3 v5, the visualization uses `scaleLinear` for axes, `scaleOrdinal` for color mapping, and SVG circles for marks. The legend responds to `onMouseEnter` and `onMouseOut` events, revealing all data points at full opacity when no species is selected.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes