Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
WWei-Che Chang
Last edited Sep 29, 2020
Created on Sep 27, 2020

A scatter plot of the Iris dataset shows petal length against sepal width, with points colored by species. An interactive color legend on the right highlights points of a selected species while fading all others. Built with React and D3, it uses `scaleLinear` for axes, `scaleOrdinal` for colors, and SVG circles. Mouse events on the legend trigger a re-render that filters the data into separate highlighted and faded point layers.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes