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)

0aec5826b6ee4c8abdcccf667d4b4022

Fork of Interactive Color Legend

0 stars0🌍 Public
CCheng Tang
Last edited Nov 3, 2022
Created on Nov 3, 2022

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width, with each point colored by species. Hovering over a species in the color legend highlights only points of that species by increasing their opacity while dimming others. The visualization uses React with D3 scales, including `d3.scaleLinear` for axes and `d3.scaleOrdinal` for colors. It fetches data via `d3.csv` and renders all marks and the legend as SVG circles.

AI-generated description

A scatter plot of The Iris Dataset.