🌍 Public
Viewing a saved revision (read-only)
384b61bce0114da1b57b2a411d65cf0d
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.