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)

75d1ad0e5fdc47238ee28662688049bd

Scatter Plot with Interactive Color Legend

0 stars0🌍 Public
NNelson M
Last edited Nov 23, 2023
Created on Nov 23, 2023

This interactive scatter plot visualizes the Iris dataset, mapping petal length and sepal width along the axes and encoding species with color. Hovering over a legend item highlights the corresponding species’ points while dimming others. Built with React and D3 v5, it uses `scaleOrdinal` for color, `scaleLinear` for positions, and custom React components for axes, marks, and the interactive legend. Data is loaded as CSV and rendered as SVG circles with tooltips.

AI-generated description

A scatter plot of The Iris Dataset.