Skip to main content
100%

Fork of Green house gas bar chart

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

Similar vizzes