Skip to main content
100%

Fork of Scatter Plot with Menus

✓ Published0🌍 Public
RRoberto
Last edited Sep 5, 2023
Created on Sep 5, 2023

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements. Dropdown menus control which attributes map to the x- and y-axes, with the SVG marks updating accordingly. The React component uses `useState` and `useCallback` to manage selections, while `d3.csv` loads the data and `d3.scaleLinear` with `extent` handles scaling. Axes are rendered as custom SVG components, and a native `<title>` element provides tooltips on each circle.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes