Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

histogram graph for map

Public visualization

Viewing a saved revision (read-only)

31a72c851cd345f6968544c1a1508d9c

histogram graph for map

0 stars0🌍 Public
CChase Hall
Last edited Jul 27, 2022
Created on Jul 27, 2022

This visualization displays U.S. ozone AQI data over time, using a histogram to show monthly average AQI values. The chart reveals how air quality varies across different months. Built with React and D3 v5, it uses `scaleTime` and `scaleLinear` to define axes, `d3.histogram` with `timeMonths` thresholds to bin data, and `mean` to calculate aggregate values. The data is loaded from a CSV file, and the resulting bars are rendered as SVG rectangles with mouseover tooltips showing the average AQI for each bin.

AI-generated description