Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HeatMap

Public visualization

Viewing a saved revision (read-only)

258e56b422134d70954bda70d38212a8

HeatMap

0 stars0🌍 Public
Hhxu51@usfca.edu
Last edited May 15, 2025
Created on Apr 24, 2025
Forked from Time-Series Chart

This heatmap visualizes San Francisco municipal greenhouse gas emissions by commodity information across fiscal years 2020–2022, using color intensity to represent the total mtCO₂e per category per year. It reads emissions data from a CSV file, aggregates it with `d3.rollups` and `d3.sum`, and renders an SVG via `d3.scaleBand` for axes and `d3.scaleSequential` with an Orange-Red interpolator for the color gradient. Hovering a cell displays a tooltip with commodity, year, and formatted emissions value.

AI-generated description