🌍 Public
Viewing a saved revision (read-only)
1370fc7a353e47fc80c278fa8c081b7e
Scatter Plot with Menus
This interactive scatter plot displays the Iris flower dataset, where users can select which quantitative attributes (like sepal length or petal width) to plot on the X and Y axes via two dropdown menus built with React’s `useState` and the custom `Dropdown` component. The axes and points are rendered as SVG elements using `d3.scaleLinear` and `d3.extent` for scaling, with tick marks generated by the `AxisBottom` and `AxisLeft` components. Each data point includes a native `<title>` tooltip showing its numeric value.
AI-generated descriptionScatter plot of Iris Data Set