Skip to content
The sensors.AFRICA map showing data from air quality sensors deployed across the continent. Accessible at https://v2.map.aq.sensors.africa/
JavaScript CSS HTML
Branch: master
Clone or download
Pull request Compare This branch is 48 commits ahead of opendata-stuttgart:master.
Latest commit 2f77fcf Aug 16, 2019

README.md

sensors.AFRICA-AQ-map-v2

A new version of air quality map for the Luftdaten. You can find a here a Live Version.

Goals and ideas

  • visualise recent sensor data on a map
  • switch between sensor data (PM2.5, PM10, humidity data, ...)
  • visualization between Air Quality Index (AQI) and normal default levels
  • identify and add existing air quality data from external sources

Map application

The implementation makes use of various frameworks and is on ECMA 6 language level. Used frameworks are:

  • leaflet (mapping framework)
  • d3 (visualisation framework)
  • webpack is used for deployment

How to run

Installation

Requirements:

  • Node JS 10.15.x or higher
  • NPM should be version 6.9.x or higher

install all dependencies

cp src/js/config.js.dist src/js/config.js
npm install

Develop

start development server (http://127.0.0.1:8080/)

npm start

Publish

build all files needed to run on a webserver, files willl be compileed into dist/):

npm run build
npm run ghpages
You can’t perform that action at this time.