Skip to main content
100%

Multiple Line plot with Dropdown

✓ Published1🌍 Public
LLex
Last edited Apr 18, 2020
Created on Apr 17, 2020

This interactive visualization displays a multiple line plot of air quality data, allowing users to compare trends across different pollutants via a dropdown menu. The chart plots daily values for each pollutant across time, with lines colored by category. Built with D3 v5, it uses `scaleTime`, `scaleLinear`, `nest`, and `line` to generate smooth curves, while a custom `dropdownMenu` component handles user selection. The data comes from the London Datastore, and the visualization updates dynamically with animated transitions on the SVG paths.

AI-generated description

Kathleen 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.

MIT Licensed

Similar vizzes