🌍 Public
Viewing a saved revision (read-only)
59096728eb05486f9383889367c95e85
interactive color legend
This interactive scatter plot displays the classic Iris dataset, allowing users to explore relationships between flower measurements through dropdown menus that select the X and Y axes. The visualization uses D3.js v5 scales and React state to manage selections, while the color legend for species is interactive—hovering over a species name highlights only those data points and fades the others. All marks render as SVG circles, with the legend built from ordinal color scales and hover event handlers that filter the displayed data.
AI-generated descriptionA program that loads in some data using d3 utilities and use react state to store the data