🌍 Public
Viewing a saved revision (read-only)
0a6528d645384dde880b01d6ee345a7a
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