Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatterplot with menu

Public visualization

scatterplot with menu

0 stars1🌍 Public
Sseanowh
Last edited Sep 16, 2021
Created on Sep 16, 2021

A scatterplot of the Iris flower dataset renders sepal and petal measurements as circles, with dropdown menus above the chart to select which numerical attribute appears on the x- and y-axes. The React app manages the selected attributes in state, and D3’s `scaleLinear`, `extent`, and `nice` compute the axes from the CSV data loaded via `d3.csv`. SVG circles and axis ticks are generated by React components, with hover tooltips supplied by SVG `<title>` elements.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed