Skip to main content
100%

Color legend

✓ Published0🌍 Public
DDaniel Zsido
Last edited Nov 22, 2021
Created on Nov 22, 2021

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 description
MIT Licensed

Similar vizzes