An open API service indexing awesome lists of open source software.

https://github.com/neon-ninja/taba

My entry for "There and back again" - https://www.stats.govt.nz/2018-census/there-and-back-again-data-visualisation-competition
https://github.com/neon-ninja/taba

census nz statistics travel

Last synced: 12 months ago
JSON representation

My entry for "There and back again" - https://www.stats.govt.nz/2018-census/there-and-back-again-data-visualisation-competition

Awesome Lists containing this project

README

          

# TABA

Visualisation of the 2018 NZ Census commuter data.

This is a flowmap using using [flowmap.gl](https://github.com/teralytics/flowmap.gl).
The app was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

[Try in action](https://neon-ninja.github.io/TABA/).

![screenshot](https://neon-ninja.github.io/TABA/screenshot.png)
![auckland screenshot](https://neon-ninja.github.io/TABA/auckland.png)

## Running
First, clone the repository:

git clone git@github.com:neon-ninja/TABA.git

Then install dependencies:

cd TABA
yarn install

Add `.env` file to the project root with a [Mapbox access token](https://www.mapbox.com/help/define-access-token/):

REACT_APP_MapboxAccessToken=Your_Own_Mapbox_Access_Token_Goes_Here

Finally, run:

yarn start

## Description

This visualises the ["2018 Census Main means of travel to work by Statistical Area 2" dataset](https://datafinder.stats.govt.nz/table/104720-2018-census-main-means-of-travel-to-work-by-statistical-area-2/) using a flowmap. Only the "total" column is used. The data was preprocessed with QGIS to optimise file size for load time and reprojected to WGS84. Animated lines flow from the home SA2 true centroid to the work SA2 true centroid. The circles and lines are sized and coloured based on the number of people commuting along each path. The user can hover over a circle to highlight flows in or out of that point. Additionally, points are dynamically clustered depending on zoom level. I chose to show all lines at the same time to reduce the amount of user interaction required to show patterns.