Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 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.

MIT Licensed

Similar vizzes