Skip to main content
100%

Co2 Emissions Sunburst chart - Top 3 Regions

✓ Published0🌍 Public
Nnitinramagiri1@gmail.com
Last edited Nov 22, 2024
Created on Nov 22, 2024

This sunburst chart visualizes the top three regions by total CO₂ emissions, with each ring segment representing a country within those regions. The size of each arc corresponds to a country’s emissions value, while a warm-to-cool sequential color scale (using `scaleSequential` and `interpolateWarm`) reflects the total emissions range. The visualization is built with D3’s `hierarchy`, `partition`, and `arc` APIs, starting from a dataset grouped by region and filtered to the highest emitters. Hovering over a segment highlights it with a black border and displays the country name and rounded emissions value as temporary text.

AI-generated description

Creating A sunburst chart

MIT Licensed

Similar vizzes