🌍 Public
Viewing a saved revision (read-only)
f58bd320e64240a5a1329919eb0ab52e
Fork of Interactive Color Legend
This interactive scatter plot displays the Iris dataset, mapping petal length against sepal width with points colored by species. A color legend on the right allows users to hover over a species name, which fades all non-matching points to 20% opacity while highlighting the selected group. The visualization uses React for the interface, d3.v5’s `scaleLinear` and `scaleOrdinal` for scaling, and renders as SVG. The code also includes native tooltips showing the x-axis value on hover.
AI-generated descriptionA scatter plot of The Iris Dataset.