🌍 Public
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.
MIT Licensed
Comments
Sign in to join the discussion.