🌍 Public
Viewing a saved revision (read-only)
a6c5aad7e2724cd0a26cc91f04c3f32b
HW2
An interactive scatter plot of the classic Iris dataset, colored by species, displays measurements of sepal and petal dimensions. Two dropdown menus let users choose which measurement appears on each axis, and the plot updates instantly. The code uses D3 v7’s `scaleLinear`, `axisBottom`, `axisLeft`, and `scaleOrdinal` with `schemeCategory10` to render SVG circles, with data loaded from a local CSV file via `d3.csv`.
AI-generated description