Fork of Project 6
✓ Published1🌍 Public
A horizontal bar chart displays 2023 CO₂ per capita for countries, sorted descending and colored by region. It uses d3.csv to load data, d3.scaleLinear for bar lengths, d3.scaleBand for country positioning, and d3.scaleOrdinal with d3.schemeTableau10 for color encoding. A tooltip appears on mouseover, and an SVG legend shows the region categories.
AI-generated descriptionMIT Licensed