Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Color Legend

Public visualization

Fork of Interactive Color Legend

1 star0🌍 Public
Jjiangruofan
Last edited Mar 23, 2022
Created on Mar 23, 2022

This interactive scatter plot visualizes the Iris dataset, plotting petal length against sepal width and coloring each point by species. Hovering over a species in the color legend filters the visible marks to that category while dimming the rest, implemented through React state and mouse events. The visualization uses d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and d3.csv for data loading, with all elements rendered as SVG within a React component structure.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed