Skip to main content
100%

Scatter Plot+Menus

✓ Published1🌍 Public
CCyc-Evelyn
Last edited Oct 4, 2020
Created on Oct 4, 2020

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements through two dropdown menus that independently control the X and Y axes. The visualization uses React state management to dynamically update D3 scales and SVG circles when selections change, with axis labels updating to reflect the chosen attributes. The code leverages D3's scaleLinear and extent functions for data mapping, while React hooks manage the component's interactive state transitions.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes