Skip to main content
Public

Share visualization

Loading preview…

Activity7.1_Question2

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity7.1_Question2

0
Ssagipavan2385@gmail.com
Last edited Apr 11, 2025
Created on Apr 11, 2025
Forked from Hello VizHub

This visualization displays global CO₂ emissions over time as a green area chart, with the x-axis representing report years and the y-axis showing carbon output. The area chart is rendered using D3.js v7’s `d3.area()` generator, which fills the space between the line and the baseline. Data is loaded asynchronously via `d3.csv()` from a GitHub Gist, then mapped to linear scales (`d3.scaleLinear`) for positioning. Axes are added with `d3.axisBottom` and `d3.axisLeft`, and the SVG output is styled with a simple external stylesheet.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed