Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
AAnthony Le
Last edited Aug 18, 2024
Created on Aug 18, 2024

This example shows a scatter plot of the Iris Dataset, mapping petal length and sepal width along the axes and coloring each point by species. Hovering over a species name in the color legend fades non-matching points to 20% opacity and re-renders them at full opacity, built with React components and D3 scales (scaleLinear, scaleOrdinal). SVG circles render the marks, with axes from custom AxisBottom and AxisLeft components.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes