🌍 Public
Viewing a saved revision (read-only)
35d83d025ab940fcb13b233b7844b739
ICE-6
This example shows a bar chart of CO₂ emissions by country, sorted from the largest emitter (Non-OECD GCP) down to the Dominican Republic. It uses an SVG canvas with D3’s `scaleBand` and `scaleLinear` to position bars, and `axisBottom` and `axisLeft` to render axes. The chart displays only the first 10 tick labels to avoid clutter, with rotated text. Data comes from an embedded CSV file, and the visualization is built with D3 v7.
AI-generated description