Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
Hhung2606
Last edited Oct 19, 2021
Created on Oct 19, 2021

This interactive scatter plot shows the Iris dataset, mapping petal length and sepal width while coloring points by species. A color legend to the right of the plot allows hovering over a species name to highlight the corresponding points and fade all others. The visualization is built with React and D3's scaleLinear, scaleOrdinal, and csv loading functions, rendering SVG marks and axes. Hover interactions are managed through React state, with fading applied by adjusting opacity on both the legend entries and data circles.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes