🌍 Public
Viewing a saved revision (read-only)
3c227260eec041468d5bd9e2bc5b880f
Polished Scatter Plot with Menus
This scatter plot visualizes the Iris Dataset, with dropdown menus that let viewers choose which measurement attribute (sepal length, sepal width, petal length, or petal width) appears on each axis. The plot updates dynamically when a menu selection changes, using React state to trigger re-renders. The visualization is rendered as an SVG, with axes built from D3’s `scaleLinear` and `extent` functions, while the React dropdown component handles the user input. Each data point is drawn as a circle with a hover tooltip showing the x-value.
AI-generated descriptionA scatter plot of The Iris Dataset.