Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

37cb76fe40ec4dd28b1986414fb2301c

Fork of Interactive Color Legend

0 stars0🌍 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.