DannyYDT / waka-commuter

Discover how we get to work & school, using travel data from the New Zealand 2018 Census

Home Page:https://commuter.waka.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Waka Commuter

Netlify Status

Waka Commuter is a visualization of the 2018 Census commuter data, built for the There and back again competition.

This is competition code, so, well, it's not great. It uses Mapbox GL JS for maps, D3 for the graphs, and lit-element to keep everything from getting too messy. To keep things fast, datasets are pre-processed and served statically, using Netlify.

Build Instructions

  • Set the environment variable MAPBOX_TOKEN to your Mapbox Token. You can get a free one from the Mapbox website.
  • npm run build - to build everything - JS & datasets. You should run this first.
  • npm run process - to process all the data sets into static json.
  • npm start - to serve the built version
  • npm run dev for local development
  • Check package.json for more scripts.

Deployment

About

Discover how we get to work & school, using travel data from the New Zealand 2018 Census

https://commuter.waka.app


Languages

Language:JavaScript 67.3%Language:Svelte 32.7%