🌍 Public
Viewing a saved revision (read-only)
fb90ef916a774154b67664b86e17a8a9
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