Fork of Scatter Plot with Menus
✓ Published0🌍 Public
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 descriptionA scatter plot of The Iris Dataset.
MIT Licensed