Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
Wwhiteswallow87
Last edited May 3, 2021
Created on May 3, 2021

This interactive scatter plot visualizes the Iris dataset, showing the relationship between petal length and sepal width across three species. Hovering over a species in the color legend highlights points of that species while fading all others to 20% opacity. The visualization uses React components with d3.scaleLinear and d3.scaleOrdinal for positioning and color encoding, rendering as SVG. The color legend responds to mouse events via onMouseEnter and onMouseOut handlers, demonstrating a linked-highlight interaction pattern.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes