Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Green house gas bar chart

Public visualization

Fork of Green house gas bar chart

0 stars0🌍 Public
Ssnehareddygurram
Last edited Mar 11, 2023
Created on Mar 11, 2023

This bar chart visualizes greenhouse gas emissions by country for 2022, measured in MtCO₂e. It uses D3 v7’s `scaleLinear` and `scaleBand` to map population values and country names, with axes generated via `axisLeft` and `axisBottom`. The SVG rendering includes an animated tooltip that appears on mouseover, displaying each country’s emission value. Data is loaded from a remote CSV file using D3’s `csv` method, and the chart features a custom interactive fill effect on hover.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed