Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

c1b19a8a9dea4bb0868a730841d1daba

Fork of Scatter Plot with Menus

0 stars0🌍 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.