Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Color Legend Scatter Plot

Public visualization

Interactive Color Legend Scatter Plot

0 stars0🌍 Public
TTsaiJie
Last edited May 3, 2021
Created on May 3, 2021

A scatter plot of the Iris dataset, with sepal width on the y-axis and petal length on the x-axis, colored by species. Hovering over a color legend item fades out points from other species and brightens the selected one. Built with React and D3 v5, it uses `d3.csv`, `scaleLinear`, and `scaleOrdinal`, with `onMouseEnter` and `onMouseOut` events for interactivity, and renders axes, legend, and marks as SVG elements.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed