🌍 Public
Viewing a saved revision (read-only)
50e55b5e23fb413486b6678cd281f525
Fork of Interactive Color Legend
This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for three iris species. Users can hover over the color legend to highlight data points of a specific species while dimming others, implemented through React state management. The visualization uses D3 scale functions including `scaleLinear` for axes and `scaleOrdinal` for categorical colors, with SVG rendering for marks and axes. Data is loaded via `d3.csv` from a GitHub gist, and hover interactions are handled through mouse events in the `ColorLegend` component.
AI-generated descriptionA scatter plot of The Iris Dataset.