🌍 Public
Viewing a saved revision (read-only)
4c7c392eb8224441a11b40a85f4df228
Polished Scatter Plot with Menus
This interactive scatter plot visualizes the Iris dataset, allowing users to select which flower measurements (sepal length, sepal width, petal length, petal width, or species) to plot on the x- and y-axes via dropdown menus. Written in React and rendered as an SVG, the chart uses D3’s `scaleLinear` and `extent` for axes and scaling, with custom tick marks and labels. A tooltip shows the x-value on hover. The code also imports the `react-dropdown` library for the menus.
AI-generated descriptionA scatter plot of The Iris Dataset.