Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Hhenry c
Last edited Apr 1, 2022
Created on Apr 1, 2022

This interactive scatter plot visualizes the Iris Dataset, showing petal length against sepal width with points colored by species. Built with React and D3 v5, it uses d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and SVG circles for marks. Hovering over a species in the color legend highlights only those data points while fading the rest, using React state for hover tracking. Native SVG `<title>` elements provide tooltips showing the petal length value for each point.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes