Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Cchar0496
Last edited Apr 17, 2022
Created on Apr 17, 2022

This interactive scatter plot visualizes the Iris dataset, displaying petal length against sepal width with points colored by species. The visualization uses react and d3.scaleOrdinal for coloring, d3.scaleLinear for positioning, and SVG for rendering. Hovering over a species in the color legend highlights only those data points, while non-matching points fade to 20% opacity, implemented through React's useState hook for hover state management.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes