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)

a03e66d11188471bb2f36e16f59e6748

Fork of Interactive Color Legend

0 stars0🌍 Public
MMohaimin-1935
Last edited Aug 21, 2021
Created on Aug 21, 2021

A scatter plot of the Iris dataset shows petal length against sepal width, with points colored by species. Hovering over a species in the color legend highlights only that species’ points while dimming others. The visualization uses React with D3 v5 scales and axes, including `scaleLinear`, `scaleOrdinal`, `AxisBottom`, and `AxisLeft`. The custom `ColorLegend` component handles hover interactions, while `Marks` renders the SVG circles with tooltips. Data is loaded via `d3.csv` from a GitHub gist.

AI-generated description

A scatter plot of The Iris Dataset.