Skip to main content
100%

CO2 Bar Chart 2025

✓ Published0🌍 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
MIT Licensed

Similar vizzes