🌍 Public
Viewing a saved revision (read-only)
49998c49b9854c61beb22551b57d7cc7
Scatter Plot with Menus
This scatter plot visualizes the Iris Dataset, allowing users to explore relationships between sepal and petal measurements. The example uses React with hooks to manage state for the X and Y axis attributes, which are selected via two dropdown menus. D3’s scaleLinear and extent functions compute the scales, while custom React components render the SVG axes and circle marks. Data is loaded asynchronously from a CSV using D3’s csv function with type coercion.
AI-generated descriptionA scatter plot of The Iris Dataset.