Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
JJONATHAN SIMON
Last edited Nov 15, 2021
Created on Nov 15, 2021

This interactive scatter plot visualizes the Iris dataset, displaying petal length against sepal width and encoding species by color. Users can hover over a species in the color legend to highlight corresponding data points while dimming others to 20% opacity. Built with React and D3 v5, the visualization uses `scaleLinear` for axes, `scaleOrdinal` for categorical coloring, and SVG circles for marks. The legend leverages mouse events to trigger state changes that filter the rendered data, creating a focused comparison between species groups.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes