🌍 Public
Viewing a saved revision (read-only)
dec16ccc4f3848d8a01b1ab62d30b63b
Interactive Color Legend
This interactive scatterplot displays the Iris flower dataset, letting viewers change the x-axis attribute via a dropdown and hover over a color legend to highlight points of a selected species. The React-based visualization uses d3.scaleLinear for axes, d3.scaleOrdinal for categorical colors, and renders all marks as SVG circles. Hovering the legend dims non-matching species while emphasizing the filtered data through a separate overlay layer built with array filtering.
AI-generated descriptioninteractive color legend