Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7.1_question2

Public visualization

Activity7.1_question2

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed