Co2 Emissions Sunburst chart - Top 3 Regions
✓ Published0🌍 Public
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 descriptionCreating A sunburst chart
MIT Licensed