🌍 Public
Viewing a saved revision (read-only)
bc0d72307785437ab63825662f21d599
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.