🌍 Public
Viewing a saved revision (read-only)
46c691233ad24e62952b298cd22995b1
Activity7.1_tutorial
This animated scatter plot visualizes penguin size measurements from a CSV dataset, dynamically cycling through different x-axis variables including body mass, culmen measurements, and flipper length. The visualization uses D3.js v6 to render SVG circles colored by penguin species, with a reusable `scatterPlot()` function that handles scaling, axes, and data binding. The animation rotates through four measurement columns using `setInterval`, updating the x-axis and re-rendering the plot while maintaining a consistent legend and axis labels.
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.