Multiple Line plot with Dropdown
This visualization shows monthly air quality measurements in London from 2010 to 2018, displaying pollutant levels as a multiple line plot. A dropdown menu lets users select which pollutant to display, from options like PM2.5, PM10, and nitrogen dioxide. Each year is represented by a colored line, with a color legend identifying the annual series. The visualization uses D3 v5 with SVG rendering and animated transitions, loading data from the London Datastore via the `csv` method, and employing `d3.nest` for data grouping.
AI-generated descriptionKathleen Cachel
Data in this scatter plot is from from the Kings College London Air Quality Dataset in the London Datastore. The data is from January 2010 through August 2018.
</n> Inspiration from Curran and this Vis. This week I spent time munging the data and adding a dropdown menu.