Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
AAnimesh Nautiyal
Last edited Oct 17, 2020
Created on Oct 17, 2020
Forked from 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 description

interactive color legend

MIT Licensed

Similar vizzes