https://github.com/consindo/waka-commuter
Discover how we get to work & school, using travel data from the New Zealand 2023 & 2018 Census
https://github.com/consindo/waka-commuter
census commute nz stats
Last synced: 4 months ago
JSON representation
Discover how we get to work & school, using travel data from the New Zealand 2023 & 2018 Census
- Host: GitHub
- URL: https://github.com/consindo/waka-commuter
- Owner: consindo
- License: mit
- Created: 2020-06-22T10:00:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-13T21:55:38.000Z (9 months ago)
- Last Synced: 2025-09-13T22:22:44.402Z (9 months ago)
- Topics: census, commute, nz, stats
- Language: Svelte
- Homepage: https://commuter.waka.app
- Size: 30 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Waka Commuter
[](https://commuter.waka.app)
Waka Commuter is a visualization of the 2018 Census commuter data, built for the [There and back again competition](https://www.stats.govt.nz/2018-census/there-and-back-again-data-visualisation-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
### Prerequisites
You will need node.js installed: https://nodejs.org/en.
Set the environment variable `VITE_MAPBOX_TOKEN` to your Mapbox Token. You can get a free one from the Mapbox website.
### Build Instructions
- `npm run build` - to build everything - JS & datasets. You should run this first.
- `npm start` - to serve the built version
### Development
- `npm run process` - to only process all the datasets into static json.
- `npm run dev` for local development
- Check `package.json` for more scripts.
## Deployment
- Every commit to master is deployed to Netlify automatically
- Available at