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)

c6909bbdffd542c8b50a6afd6ee97618

Fork of Interactive Color Legend

0 stars1🌍 Public
Llindy0119
Last edited Oct 1, 2022
Created on Oct 1, 2022

This example presents an interactive scatter plot of the Iris dataset, mapping petal length and sepal width while coloring points by species. A color legend allows hovering over a species to highlight its corresponding points and fade the others. The visualization is built with React and D3 v5, using `d3.scaleLinear` for axes, `d3.scaleOrdinal` for colors, and SVG circles rendered by custom React components. Data is loaded asynchronously via `d3.csv` from a remote gist.

AI-generated description

A scatter plot of The Iris Dataset.