Skip to main content
100%

ScatterWithDropdowns -- UsingD3Selects

✓ Published0🌍 Public
EEd Hutchinson
Last edited May 14, 2023
Created on May 14, 2023

This example displays the classic Iris dataset as a scatter plot, mapping petal length and sepal length along the x- and y-axes. The visualization uses D3’s `scaleLinear` for axes and `scaleOrdinal` for color coding, with a hoverable legend to highlight species. Built with React and D3 v5, the SVG is generated via D3 selections and the `join` API, while a dropdown menu offers interactive selection of the data columns to plot.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes