Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
NNelson M
Last edited Nov 23, 2023
Created on Nov 23, 2023

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes