🌍 Public
Viewing a saved revision (read-only)
8b23cae78e704b1ab0f088e2e6ef4659
Scatter plot with Menus
This interactive scatter plot of Fisher’s Iris dataset lets users select which numeric attributes (sepal length, sepal width, petal length, petal width, or species) to map to the x- and y-axes via two dropdown menus. The React app uses d3.scaleLinear scales, d3.extent for domains, and d3.csv to load the data, rendering SVG circles with tooltips. Axis components map ticks to lines and text, while the dropdown options trigger state updates via useState.
AI-generated description