🌍 Public
Viewing a saved revision (read-only)
b9bc51e1dc404e2999f43ae3818e9e10
interactive scatterplot with menu and color and legend
Sseanowh
Last edited Sep 21, 2021
Created on Sep 21, 2021
Forked from scatterplot with menu and color and legend
This interactive scatterplot visualizes the Iris flower dataset, allowing users to select which measurements to display on the x and y axes via dropdown menus. The plot uses color encoding to distinguish the three Iris species, with a legend that filters and fades points on hover. Built with React and D3 v7, the visualization uses `scaleLinear` for axes, `scaleOrdinal` for colors, and SVG rendering with custom axis and legend components.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.