Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
WWolfgang
Last edited Apr 3, 2021
Created on Apr 3, 2021

This interactive scatter plot visualizes the Iris Dataset, allowing users to select which flower attributes appear on the x and y axes via dropdown menus. The visualization updates dynamically using React state management, with scales from D3 v6 (scaleLinear, extent) mapping petal and sepal measurements to SVG coordinates. Axes are rendered as reusable React components, and data loading uses D3’s csv function with type coercion. The plot displays all species together as teal circles, with axis labels reflecting the selected attributes.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes