🌍 Public
Viewing a saved revision (read-only)
31a72c851cd345f6968544c1a1508d9c
histogram graph for map
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