Skip to main content
Public

Share visualization

Loading preview…

Scatter Plot Pollutant (Menu) over Time

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Scatter Plot Pollutant (Menu) over Time

0 stars4Public
KKCachel
Last edited Nov 5, 2018
Created on Oct 8, 2018

This interactive scatter plot visualizes monthly air quality measurements for London from January 2010 through August 2018, sourced from the Kings College London Air Quality Dataset. Users select which two pollutants to plot against each other using dropdown menus, while the color of each circle encodes the month of the year using a D3 `scaleOrdinal` color scale based on `interpolateInferno`. Clicking a legend item highlights all data points from that month, dimming others. The visualization uses D3 v5, rendering as an SVG with animated transitions of 1500 milliseconds via `transition.duration` and `.delay`, with axis and legend components built using D3’s `axisBottom`, `axisLeft`, and custom `dropdownMenu` and `colorLegend` modules.

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> Thanks to Jonathan for helping me dubug my code.

Comments

Sign in to join the discussion.

MIT Licensed