Color legend
✓ Published0🌍 Public
This scatter plot of the Iris dataset maps sepal length and width, with points colored by species. A color legend on the right side filters the visualization, dimming non-matching species and highlighting the selected one on hover. The example uses React with d3.scaleOrdinal for color mapping, d3.scaleLinear for axes, and SVG circles rendered via ReactDOM. Data is loaded from a CSV using d3.csv.
AI-generated descriptionMIT Licensed