Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Color Legend

Public visualization

Fork of Interactive Color Legend

0 stars0🌍 Public
陳陳泰元
Last edited Oct 1, 2022
Created on Oct 1, 2022

This interactive scatter plot visualizes the Iris dataset, mapping petal length and sepal width for different iris species. Hovering over a species in the color legend highlights matching data points and fades the rest, using `onMouseEnter` and `onMouseOut` events. Built with React and D3 v5, it renders as an SVG with `scaleLinear` for axes, `scaleOrdinal` for colors, and custom `AxisBottom`, `AxisLeft`, `Marks`, and `ColorLegend` components.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed