🌍 Public
Viewing a saved revision (read-only)
5d1b8929fdff4cc798034815d48dac84
Activity 7 AreaChart
A D3.js area chart visualizes USA CO2 emissions from 2000 to 2024, with a steelblue filled region showing emission changes over time. The chart loads data from a remote CSV file, parses it using `d3.csv`, and renders the area via `d3.area()` with linear scales for both axes. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while labels and a title provide context.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.