Steve's Interactive Scatter Plot with Color and Legend
✓ Published1🌍 Public
Bbootshine2
Last edited Oct 10, 2019
Created on Oct 9, 2019
Forked from Steve's Scatter Plot with Color and Legend
This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for individual flowers. Using React and D3 v5, the SVG-based visualization employs `d3.scaleLinear` for both axes and `d3.scaleOrdinal` for species-based coloring. Hovering over the color legend highlights the corresponding species by fading other points to 30% opacity, while native SVG `<title>` elements provide basic tooltips. The chart includes labeled axes and a species legend, with data loaded asynchronously via D3’s `csv` parser.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed