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
CCharlie Smith
Last edited Sep 3, 2023
Created on Sep 3, 2023

A horizontal bar chart displays 2019 greenhouse gas emissions in MtCO₂e for the top 11 GDP countries, using population values from a CSV as the quantitative variable. The visualization, built with D3 v7, uses `scaleLinear` and `scaleBand` to map data to SVG rectangles, with `axisLeft` and `axisBottom` for axes. Hovering over a bar reveals a tooltip with the exact emission value, while the bar’s fill darkens briefly. The chart includes a title and renders with a clean, margin-based layout.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed