🌍 Public
Viewing a saved revision (read-only)
d71bedd9638443af9430c4b0e092e3ae
Interactive Color Legend
This interactive scatter plot displays the Iris dataset, mapping petal length against sepal width with species encoded by color. Hovering over a legend item dims all non-matching data points, highlighting the selected species. The visualization uses React for component structure, d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and d3.csv for data loading, rendering as an SVG with mouse events triggering the filtering effect.
AI-generated descriptionA program that follows your mouse with a circle.