Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
TTOLBA Rafik
Last edited Feb 5, 2022
Created on Feb 5, 2022

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes