🌍 Public
Viewing a saved revision (read-only)
5e6da5cfdcea45f1a6d1d1b299126f76
Activity 6 Question 2
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