Interactive Color Legend
✓ Published0🌍 Public
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 descriptionA scatter plot of The Iris Dataset.
MIT Licensed