Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Scatter Plot With Color Legend

Public visualization

Viewing a saved revision (read-only)

11686cd7977040f4affc69942b696f39

Interactive Scatter Plot With Color Legend

0 stars0🌍 Public
KKolezhannochka
Last edited Jan 15, 2022
Created on Jan 15, 2022

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width and coloring points by species. A color legend allows users to hover over species labels to highlight only the corresponding data points while dimming others. The visualization is built with React and D3 v5, using d3.scaleLinear for positioning, d3.scaleOrdinal for categorical colors, and custom SVG components for axes and marks. Data loads asynchronously via d3.csv from a GitHub gist.

AI-generated description

A scatter plot of The Iris Dataset.