Skip to content

Source code for Census 2021 origin-destination data explorer tool and scrollytelling article.

Notifications You must be signed in to change notification settings

ONSvisual/census-od-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Census 2021 origin-destination data explorer

This repository contains the source code for the Census 2021 origin-destination data explorer on the ONS website, including the scrollytelling article, and the embeddable interactive tools for migration flows and workplace flows.

The code is provided without warranty under an Open Government Licence (v3).

Using this code

The Area hub is a Svelte Kit app, and requires NodeJS to be installed on your machine. You can run the code locally as follows:

  1. Download or clone the contents of this repo to your local machine.
  2. Install the Node dependencies by opening the folder running npm install from your command line.
  3. Initialise the app by running npm run dev.
  4. Preview the app in your browser by navigating to http://localhost:5173/.

Making changes to the app will require a working knowledge of Svelte Kit.

Data files

The necessary data files to run the app are included within the /static/data folder. These files are generated using custom scripts from the source data on Nomis. These scripts can be found in this repo.

About

Source code for Census 2021 origin-destination data explorer tool and scrollytelling article.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published