🌍 Public
Viewing a saved revision (read-only)
1c2cf463b7d84b19bbe88add0554d543
Activity7
This animated scatter plot explores the Iris flower dataset, cycling through different combinations of sepal and petal measurements on the x- and y-axes. It uses D3's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to construct the axes and positions. Circles are colored by species (setosa, versicolor, virginica) via a custom marker function. The visualization loops through four variable pairings using `setInterval`, updating the plot's scales and redrawing axis labels and legends.
AI-generated descriptionA demonstration of reusable scatter plot.