Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
AAllOneeeee
Last edited Dec 28, 2023
Created on Dec 28, 2023

This interactive scatter plot visualizes the Iris dataset, displaying petal length against sepal width for three flower species. Hovering over a species in the color legend highlights only that species’ data points while dimming all others. The visualization uses React with D3 scales (`scaleLinear`, `scaleOrdinal`) for positioning and coloring, and SVG circles for rendering. The color legend implements mouse-event handlers to update hovered state, which filters the data and adjusts opacity for the fade effect.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes