Skip to main content
100%

Scatter Plot With menu

✓ Published0🌍 Public
Aadewole-top
Last edited Aug 7, 2021
Created on Aug 7, 2021

This interactive scatter plot visualizes the Iris dataset, allowing users to dynamically select which flower measurements (sepal length, sepal width, petal length, petal width, or species) appear on the x- and y-axes via React dropdown menus. The SVG visualization uses d3.scaleLinear for both axes, with d3.extent and d3.max for domain calculation, and renders circles with native tooltips. The React components (AxisBottom, AxisLeft, Marks, Dropdown) manage the state-driven re-rendering as users change axis selections, pulling data asynchronously via d3.csv.

AI-generated description

Dataset about Iris from Curran

MIT Licensed

Similar vizzes