Skip to main content
100%

Dataviz 9 - Scatter plot with Menus (Interactive Colour Legend)

✓ Published0🌍 Public
RRyAlpha
Last edited Nov 26, 2021
Created on Nov 26, 2021

This interactive scatter plot displays the classic Iris dataset, letting users choose any two attributes for the x- and y-axes via React dropdown menus. The visualization uses an interactive color legend where hovering over a species name dims all other points, highlighting the selected species. Built with React and D3 v5, the chart uses `scaleLinear` and `scaleOrdinal` to map measurements and species to positions and colors, rendering all marks as SVG circles.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes