Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
JJONATHAN SIMON
Last edited Nov 15, 2021
Created on Nov 15, 2021

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes