Skip to main content
100%

Color Legend

✓ Published1🌍 Public
AAnthony Zornig
Last edited Oct 3, 2021
Created on Oct 3, 2021

This interactive scatter plot visualizes the Iris Dataset, mapping petal length against sepal width. A color legend categorizes the three iris species, and hovering over a legend item highlights the corresponding points while fading the rest. The visualization uses React with ReactDOM, D3 v5’s `scaleLinear`, `scaleOrdinal`, and `extent` for scales, and renders SVG circles with tooltips. Data is loaded asynchronously via `csv`, and interactivity is managed through React state hooks.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes