Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

4475e4cf83514ed381fc57a2431b65bc

Scatter Plot with Interactive Color Legend

0 stars0🌍 Public
Aazharahmad0
Last edited Mar 28, 2021
Created on Mar 28, 2021

This scatter plot visualizes the classic Iris dataset, showing petal length against sepal width with points colored by species. A color legend on the right highlights all three Iris species, and hovering over a legend entry fades non-matching points while emphasizing the selected species. The visualization uses React and D3 v5, with D3’s `scaleLinear` for axes, `scaleOrdinal` for categorical coloring, and SVG rendering. It demonstrates interactive filtering through React state management and mouse event handlers.

AI-generated description

A scatter plot of The Iris Dataset.