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 chart tracks India’s population alongside CO2 emissions per capita over time, using a black stroke for the population trend and labeled axes. The visualization loads a CSV from a GitHub gist via `d3.csv`, parses years with `timeParse`, and renders an SVG through React components. Scales from `d3.scaleTime` and `d3.scaleLinear` position the line, while `d3.axisBottom` and `d3.axisLeft` add gridlines and tick labels. Marker lines, though defined, are not actively invoked in the displayed chart.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed