Skip to main content
100%

Interactive color legend

✓ Published0🌍 Public
Ddumbdataguy@gmail.com
Last edited Jan 28, 2024
Created on Jan 27, 2024

This interactive scatterplot visualizes the iris flower dataset, mapping petal length and sepal width for three species distinguished by color. Hovering over a species in the ordinal color legend dims non-matching points via React state and a fade opacity, while the selected species’ marks remain highlighted. Built with React and D3 v5, the SVG chart uses `scaleLinear`, `scaleOrdinal`, and reusable axis and legend components, with data loaded async from a CSV via `useEffect` and `d3.csv`.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes