Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter-plot matrix plot

Public visualization

Viewing a saved revision (read-only)

6e37fa3429f047868dfe559f1e4e6593

Scatter-plot matrix plot

0 stars0🌍 Public
Hhxu51@usfca.edu
Last edited May 15, 2025
Created on May 15, 2025
Forked from Choropleth map

This scatter-plot matrix compares daily air quality (AQI), temperature, and annual municipal greenhouse gas emissions in San Francisco from 2020 to 2022. Each cell pairs two variables, with points colored by year using `d3.scaleOrdinal` and `d3.schemeCategory10`. The code loads both CSV files via `d3.csv` with `d3.autoType`, then aggregates emissions per fiscal year using `d3.rollup`. Tooltips appear on hover, and linear scales per trait are created with `d3.scaleLinear`.

AI-generated description