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)

f1a140c6b3ba4d759bfe3b11916d3774

Fork of Interactive Color Legend

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