🌍 Public
Viewing a saved revision (read-only)
8c62c2d33b054e89a6806c0a536a3caa
Fork of Green house gas bar chart
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