Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Llucas-langlois
Last edited Apr 21, 2021
Created on Apr 21, 2021

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width with points colored by species. A React-driven color legend allows users to hover over species names, which highlights matching data points and fades all others using opacity transitions. Built with d3.scaleLinear for axes, d3.scaleOrdinal for categorical colors, and SVG circles rendered through React components, the visualization responds to hover events via useState and onMouseEnter handlers to filter and re-render marks dynamically.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes