Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Ppete0707
Last edited Nov 23, 2022
Created on Nov 23, 2022

This interactive scatter plot visualizes the Iris Dataset, displaying petal length against sepal width. Each point is colored by species, with a color legend on the right. Hovering over a legend item fades all non-matching points, highlighting only the selected species, while hovering over data points reveals their values via tooltips. Built with React and D3 v5, it uses `scaleLinear` for axes, `scaleOrdinal` for colors, and custom React components for rendering SVG marks, axes, and the interactive legend.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes