Skip to main content
100%

Fork of AQI Data in Bangor, Maine Over Time

✓ Published0🌍 Public
VVikil Lakkavatri
Last edited Dec 28, 2022
Created on Dec 26, 2022

The visualization shows daily Air Quality Index (AQI) readings for Bangor, Maine, over time, filtered by pollutant type (Ozone or PM2.5) through a dropdown menu. It plots AQI values against dates using d3.scaleTime and d3.scaleLinear, rendering a smooth curved line via d3.line with curveNatural and individual data points as circles with tooltips. The component uses React hooks to manage state and loads CSV data from a GitHub gist, while SVG elements are generated through reusable axis and mark components.

AI-generated description
MIT Licensed

Similar vizzes