Skip to main content
100%

Polished Scatter Plot with Menus

✓ Published0🌍 Public
LLigoon
Last edited Oct 5, 2020
Created on Oct 5, 2020

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes