Skip to main content
100%

Fork of Scatter Plot with Menus

✓ Published0🌍 Public
AAnnie Ulichney
Last edited Feb 9, 2021
Created on Feb 9, 2021

This interactive scatter plot explores the Iris dataset, allowing users to select any of four measurements—sepal length/width and petal length/width—for both the X and Y axes via dropdown menus, with axis labels updating accordingly. Built with React and D3 v5, the visualization uses `scaleLinear` and `extent` to compute scales, then renders circles via SVG marks with tooltips. The code relies on the `useData` hook to asynchronously load the CSV from Curran’s Gist, and custom `AxisBottom`/`AxisLeft` components generate ticks.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes