Skip to main content
100%

Interactive color legend

✓ Published0🌍 Public
LLewis Ward
Last edited Jul 3, 2021
Created on Jul 3, 2021

This interactive scatterplot displays the Iris dataset, mapping sepal and petal measurements against each other. Users can select which attributes appear on the x- and y-axes via dropdown menus, while a color legend encodes species. Hovering over a legend item temporarily fades and isolates the corresponding species’ points. The visualization uses React for state management, D3’s scaleLinear, scaleOrdinal, and csv loader, and renders SVG circles and axes.

AI-generated description

A program that loads in some data using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes