🌍 Public
Viewing a saved revision (read-only)
83cdd27962e341ea865b622aa3cced6d
Fork of Scatter Plot with Menus
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 descriptionA scatter plot of The Iris Dataset.