🌍 Public
Viewing a saved revision (read-only)
b18f0db2ee2e4ebe91e2b092955a7ff2
Task 9 and 10 Tutorial
This interactive scatterplot visualizes the Iris dataset, cycling through different x-axis variable combinations every few seconds to compare sepal and petal measurements across three flower species. The animation uses `setInterval` to update the reusable scatter plot component, which leverages D3 v5 scales, axes, and SVG circle elements. Each species appears as a distinct color, with a static legend and rotating axis labels clarifying which measurement is currently displayed.
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.