Skip to main content
100%

Activity7.1_question2

✓ Published0🌍 Public
Aayeshamanzoor111798@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024

This visualization cycles through four numerical attributes of a penguin dataset, rendering each as an area chart where the x-axis shows species and the y-axis scales to the selected attribute. The chart updates every two seconds, clearing the previous SVG elements and redrawing with the next attribute in rotation. Built with D3 v6, the code uses `scaleLinear`, `scaleBand`, and the `area` generator, with axes created via `axisLeft` and `axisBottom`. Data comes from a remote CSV file containing penguin measurements, rendered as animated SVG in the browser.

AI-generated description

Area chart

MIT Licensed

Similar vizzes