Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

53738bf2b3c04268af6b0794bf617376

Scatter Plot with Menus

0 stars0🌍 Public
Kkbrookshire420
Last edited May 18, 2022
Created on May 18, 2022

This interactive scatter plot displays the Iris dataset, allowing users to select which of four numeric attributes or species appear on the x- and y-axes via dropdown menus. Built with React and D3 v5, the chart renders SVG circles and axes using reusable components like `AxisBottom`, `AxisLeft`, and `Marks`. Data loads through D3’s `csv` utility, while React state (`useState`) manages selections and updates scales with `scaleLinear` and `extent` from D3.

AI-generated description

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