🌍 Public
Viewing a saved revision (read-only)
9c4e7aa7012d4ed1a204cd5f6ba2c73a
Activity 8 Question 1
This animated scatterplot displays the Iris dataset, showing petal and sepal measurements as colored circles representing species. Using D3 version 6.7.0 loaded via UNPKG, the visualization cycles through four different axis assignments every five seconds, alternating which flower dimensions are plotted. The code imports `csv`, `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` from D3, along with a custom `scatterPlot` module. Rendered as an SVG animation, it includes a color legend and dynamically updates axis labels to reflect the current measurement pair.
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.