🌍 Public
Viewing a saved revision (read-only)
5e752c2ca1134a80a889617cb778e573
Interactive Color Legend
This interactive scatter plot displays the Iris dataset, plotting total students against department on linear scales. Users can hover over the color legend to highlight points of a selected gender category while fading others, using React’s `useState` to manage hover state. The visualization uses `d3.scaleOrdinal` for categorical colors, `d3.scaleLinear` for axes, and renders SVG circles via React components. Data loads asynchronously from a CSV using `d3.csv`.
AI-generated descriptionA scatter plot of The Iris Dataset.