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