Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bargraph

Public visualization

Bargraph

0 stars0🌍 Public
Bbadrinath888@gmail.com
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from bar charts

This bar chart shows CO₂ emissions for a wide range of countries and global groupings, ordered by descending value. It uses D3’s `scaleBand` and `scaleLinear` to map country names and emission values to the canvas, and draws steel-blue rectangles for each bar. Axis ticks are generated with `axisBottom` and `axisLeft`, while rotated labels and explicit axis titles clarify the country and emissions units. The data is read from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed