Skip to main content
100%

Interactive Color Legend Scatter Plot

✓ Published0🌍 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.

MIT Licensed

Similar vizzes