histogram for map
✓ Published0🌍 Public
This histogram displays the average Air Quality Index (AQI) for each month, derived from ozone data collected across the United States. The visualization uses d3.bin with timeMonths thresholds to group daily measurements into monthly bins, then calculates the mean AQI per bin via d3.mean. The resulting bar chart is rendered as SVG elements through React components, with d3.scaleTime and d3.scaleLinear mapping the time and AQI values. The data is loaded asynchronously from a CSV file using d3.csv, and the bars include tooltips showing each monthly average.
AI-generated descriptionMIT Licensed