Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Los Angeles G. Riha Air Pollution and Income

Public visualization

Los Angeles G. Riha Air Pollution and Income

0 stars0🌍 Public
Ggarrettriha
Last edited Dec 12, 2018
Created on Dec 8, 2018

A scatterplot for the Los Angeles area compares PM2.5 air pollution levels (x-axis) against a user-selectable income or health attribute from a dataset of regional census tracts. Using D3 v5, the visualization loads a CSV and converts its string columns to numbers. Animated circles transition between positions when the user changes the y-axis variable through a dropdown menu. The chart relies on D3's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to render scales and axes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed