Skip to main content
100%

Scatterplot with Interactive Color Legend

✓ Published0🌍 Public
ZZoe Ferencova
Last edited Mar 9, 2023
Created on Mar 9, 2023

This scatterplot displays the Iris flower dataset, plotting sepal and petal measurements and coloring points by species. Interactive dropdowns let viewers change which measurement is mapped to the x- and y-axes. The color legend responds to mouse hover, fading non-hovered species to 30% opacity while highlighting the selected group. Built with React and D3 v7, it uses `scaleLinear` for axes, `scaleOrdinal` for categories, and SVG circles for rendering.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes