Skip to main content
Public

Share visualization

Loading preview…

Fork of India CO2 emissions

vizhub.com

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

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 & exportHTML, source ZIP

Fork of India CO2 emissions

0 stars0Public
Bbhargavarathod
Last edited Mar 28, 2022
Created on Mar 28, 2022

A line-area chart shows India's CO2 emissions per capita over time, with the area filled in maroon beneath a smooth curve. The chart uses D3 v5's `scaleTime`, `scaleLinear`, `area`, and `curveBasis` to generate the SVG path, while `axisBottom` and `axisLeft` render labeled axes with gridlines. Data is loaded via `csv` from a GitHub gist and parsed as date objects, with the y-axis labeled "CO2 emissions (per capita)" and the x-axis as "Year."

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed