#4 G. Riha Air Pollution and Income
✓ Published2🌍 Public
An interactive scatter plot explores the relationship between air pollution (PM2.5 levels) and socioeconomic attributes—income, health insurance coverage, and poverty rates—across three California regions. Users select a region and an attribute from two dropdown menus to update the visualization. The D3 v5 code loads data from a CSV file, creates animated SVG circles, and updates scales and axes dynamically. The visualization uses `scaleLinear`, `axisLeft`, `axisBottom`, and custom `dropdownMenu` and `scatterPlot` modules, with a transition animating point positions over 900 milliseconds.
AI-generated descriptionMIT Licensed