Skip to main content
100%

Fork of Green house gas bar chart

✓ Published0🌍 Public
HHoyeoun
Last edited Dec 19, 2022
Created on Dec 19, 2022

This horizontal bar chart displays greenhouse gas emissions in 2019 for the top 11 GDP countries, with each bar’s length representing the population metric from the `data.csv` file. The visualization employs D3 v7’s `scaleLinear` and `scaleBand` for axes, `axisLeft` and `axisBottom` for ticks, and SVG `<rect>` elements drawn on a 960x500 canvas. A custom tooltip appears on mouseover, showing the emission value, and the bars are colored steelblue via CSS. The chart includes a title and margin-based layout.

AI-generated description
MIT Licensed

Similar vizzes