Scatter Plot with Menus
✓ Published0🌍 Public
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.
MIT Licensed