Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CO2 Bar Chart 2025

Public visualization

CO2 Bar Chart 2025

0 stars0🌍 Public
Vvunnamnandini13@gmail.com
Last edited Oct 19, 2025
Created on Oct 18, 2025
Forked from HTML Starter

This bar chart displays CO₂ emissions by country for 2025, ranking nations from highest to lowest emissions. Each bar’s length encodes emission values in megatons, while color distinguishes geographic regions through a scaleOrdinal. The visualization uses d3.csv to load remote data, d3.scaleBand and d3.scaleLinear for positioning, and includes hover tooltips showing country, region, and precise values. Animated bar transitions grow from the baseline, and the SVG rendering includes axis labels and an interactive legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed