Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Mmengdong
Last edited Jul 17, 2021
Created on Jul 17, 2021

A scatter plot of the iris dataset shows petal length against sepal width, colored by species. The visualization includes an interactive color legend; hovering over a species name in the legend highlights only the points of that species in full opacity, while all other marks fade to 20% opacity. Built with React and D3 v5, the example uses `d3.scaleLinear` and `d3.scaleOrdinal` for axes and color mapping, with SVG rendering for the marks and legend.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes