Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Green house gas bar chart

Public visualization

Viewing a saved revision (read-only)

78b9af19d7974f37a3f996e1cd6c6cb2

Fork of Green house gas bar chart

0 stars0🌍 Public
VVitor Leonel
Last edited Mar 31, 2023
Created on Mar 28, 2023

This bar chart displays greenhouse gas emissions (in MtCO₂e) for several countries, using horizontal bars ordered by country name. Built with D3 v7, it maps population values to a linear x-scale and country names to a band y-scale, rendering SVG rectangles with axes. A custom tooltip appears on mouseover, showing the emission value, while the bar color darkens slightly on hover. Data is loaded from a CSV file and parsed as numbers before rendering.

AI-generated description