Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity7_question2

Public visualization

Viewing a saved revision (read-only)

4913dddf4fef4c2ea9b6c42e1ec9a770

activity7_question2

0 stars0🌍 Public
Hhoneyravuri.711@gmail.com
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

This example shows a stacked area chart of course enrollment by category (Technology, Business, Design) over time, where the colored regions represent the number of students enrolled in each category per year. The chart is rendered as an SVG using D3 v7, with `d3.csv` loading the data from a GitHub gist, `d3.area` generating the stacked paths, and `d3.scaleLinear` mapping the year and enrollment values. Axes are added via `d3.axisBottom` and `d3.axisLeft`, with a legend and axis labels included.

AI-generated description