Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 2

Public visualization

Viewing a saved revision (read-only)

5e6da5cfdcea45f1a6d1d1b299126f76

Activity 6 Question 2

0 stars0🌍 Public
Cchandikasreeakhil@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This stacked area chart visualizes fruit quantities across multiple years, with three colored layers representing apples, oranges, and bananas. It loads CSV data via `d3.csv`, then uses `d3.stack()` to compute the stacked series. The chart renders SVG paths with `d3.area()`, scales data with `d3.scaleBand()` and `d3.scaleLinear()`, and adds axes with `d3.axisBottom()` and `d3.axisLeft()`.

AI-generated description