PM2.5 Air Pollution Trend
This visualization presents PM2.5 air pollution trends from 2010 to 2017 for 240 countries, with each country’s annual mean exposure drawn as a thin, semi-transparent line over time, revealing a sharp global dip in 2014 followed by a rebound in 2015. Built with the vega-lite-api and D3.js, it loads CSV data from a GitHub Gist via `d3.csv`, then melts the dataset into a tidy format before rendering line marks with tooltips. The code customizes axis styles, hides the domain, and uses a dark color scheme to improve readability, with the view auto-sizing to the browser window.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the Kaggle:PM2.5 Global Air Pollution 2010-2017 (Mean Annual Exposure for 240 Countries) via Gist: PM2.5 Global Air Pollution Dataset (From 2010-2017)
The data is processed and melt to fit the visualization.
So, based on this visualization we can know the trend of PM2.5 Air pollution from 2010 to 2017. We can know that in 2014 there would be a sharp decrease in PM2.5 for most country. But in 2015 the value increases. From the news we can find that there was some policy change in WHO and each country which may have effect on the PM2.5 level in some degree.