Skip to main content
100%

Activity7

✓ Published0🌍 Public
FFayezuddin Mohammed Khan
Last edited Nov 10, 2025
Created on Nov 10, 2025
Forked from HTML Starter

This interactive pie chart visualizes global CO₂ emissions by country for 2019, using data loaded from a CSV file via d3.csv. Each slice represents a country’s emissions, with a color-coded legend, country labels inside slices, and hover tooltips displaying exact emission values in tonnes. The visualization is rendered as SVG using d3.pie and d3.arc, with d3.scaleOrdinal mapping countries to the d3.schemeSet3 color palette. Transitions on tooltip opacity provide subtle animation feedback during mouse interactions.

AI-generated description
MIT Licensed

Similar vizzes