Skip to content

HuangLiPang/pm2.5-idw-map

Repository files navigation

PM2.5-IDW-Map

A PM2.5 Inverse Distance Weighting (IDW) map using Leaflet (v1.4.0).

PM2.5 data source

Data source is from PM2.5 Open Data Portal.

Website

PM2.5-IDW-Map

Demo

Inverse Distance Weighting (IDW)

Reference

       Σ (1 / (di ^ p)) * vi
 V = -------------------------
          Σ (1 / (di ^ p))

Libraries

The map is using Leaflet and IDW is edited from IDW. The PM2.5 contour is made from contourgeojson.