Activity7.1_tutorial
✓ Published0🌍 Public
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 descriptionA demonstration of reusable scatter plot.
MIT Licensed