Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 7 Q2

Public visualization

Viewing a saved revision (read-only)

35d7a728c49b4a10935927db227469ab

Assignment 7 Q2

0 stars1🌍 Public
Ppezguy97@gmail.com
Last edited Nov 1, 2026
Created on Oct 30, 2026
Forked from Assignment 7 Q1C

This heatmap shows CO₂ emissions per capita across 50 countries and 8 years, with row ordering toggleable between alphabetical and by row mean. Missing data appears as gray cells, while color intensity uses a sequential YlOrRd scale. Built with D3 v7 in SVG, it uses `d3.scaleBand` for row and column positioning, `d3.scaleSequential` for color mapping, and `d3.rollup` for aggregate calculations, with data loaded from a CSV file.

AI-generated description