Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 Line Chart

Public visualization

Viewing a saved revision (read-only)

b77ee3ee8f6441b68145b04e8e1f9d95

ICE 7 Line Chart

0 stars0🌍 Public
Yyvarshachowdary@gmail.com
Last edited Mar 27, 2024
Created on Mar 27, 2024

This line chart shows India’s CO2 emissions over time, with a single steelblue line tracing annual values on a time-scaled x-axis and a linear y-axis labeled in MtCO₂e. The code uses d3.csv to load data, d3.timeParse to convert year strings into dates, and d3.scaleTime, d3.scaleLinear, d3.axisLeft, d3.axisBottom, and d3.line to render the SVG chart. The visualization filters out invalid data points before drawing, and the axes are labeled directly within the SVG group elements.

AI-generated description