Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
MMatthew Talty Colvard
Last edited Mar 13, 2021
Created on Mar 13, 2021

This interactive scatter plot visualizes the Iris dataset, showing petal length against sepal width with points colored by species. Hovering over a species label in the color legend fades non-matching points to 20% opacity while highlighting the selected group. Built with React and D3 v5, the code uses `scaleLinear`, `scaleOrdinal`, and `csv` for data loading, rendering SVG circles and axes via reusable components. The color legend triggers hover events through React state to dynamically filter and emphasize data points.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes