Fork of Multiple Line plot with Dropdown
This visualization presents monthly air quality measurements for London from January 2010 through August 2018, using data from the Kings College London Air Quality Dataset in the London Datastore. A dropdown menu lets users select which pollutant to plot on the y-axis, while colored lines show annual trends for each year. Built with D3 v5, the example uses `scaleTime`, `scaleLinear`, `nest`, and `line` to generate smooth curves, with a transition animation updating the chart when the selection changes. The chart includes a color legend and axis labels.
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.