Logo

The Data Daily

GitHub - ONSvisual/census-prototypes: This is a summary of the various prototypes that are being developed by the ONS data vis/journalism team for Census 2021.

GitHub - ONSvisual/census-prototypes: This is a summary of the various prototypes that are being developed by the ONS data vis/journalism team for Census 2021.

This is a summary of the various prototypes that are being developed by the ONS data vis/journalism team for Census 2021.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main
Failed to load latest commit information.
Type
Apr 20, 2022
View code
README.md
Census 2021 Product Prototypes
This is a summary of the various prototypes that are being developed by the ONS data vis/journalism team for Census 2021.
Core products
These are the main products that we intend to release in some for in time for publication of Census 2021 data. The links below are to the most recent prototypes. URLs are likely to change.
Census atlas - Explore geographic patterns in data down to a small area level.
Area reports - 'Robo-journalism' reports highlighing significant changes in an area between censuses. See also this earlier demo .
Area explorer - Navigate through geographic hierarchies and see population data with change from previous census.
Key population explorer - Select a sub-population group and see how it compares to others (relies on Cantabular API). See also this earlier demo .
Draw your geography - Draw a custom geography and get data, lookups and boundaries (relies on Nomis API and ONS Geography Linked Data).
Build an area profile - Build an embeddable/downloadable mini-area profile. Select an area and select datasets.
Hex map game - Higher/lower geography quiz game on a hex map.
Libraries
These are the shared libraries of components and templates that will support the above products as well as other releases.
Scrollytelling template - Rich media template with scrollytelling functionality. See also proof-of-concept for importing ArchiML.
Map component library - Mapbox GL JS components built in Svelte. Can be imported via NPM .
UI component library - Not online yet. Some examples can be found here and here (and also within other demos).
Census data over time pipeline - Not online yet. Python scripts for aggregating consistent data across censuses. Sample data here .
In the Wild
Published ONS releases building on the various prototypes and code in development for Census 2021.
3D Population density - DeckGL example. 3D hex map based on output area data.
Multiply layer blend - Using overlaid + synced Mapbox maps to achieve "multiply" layer blend effect.
Raster masking - Masking choropleth area maps using a raster buildings mask layer (an alternative approach to dasymetric mapping with potential to reduce data and improve performance).
Charts
Animated scatter plot - Example using Layer Cake and REGL to animate 10,000s of points with WebGL.
Accurate beeswarm plots - Algorithm for calculating accurate + compact beeswarm plots.
Waffle chart - Simple HTML + CSS based waffle chart suitable for pre-rendering (requires CSS Grid support).
Histogram chart - Chart for summarising small area data (used in an earlier version of "census atlas").
Place search
Simple postcode API - A postcode > geography search based on flat file chunks from the National Statistics Postcode Lookup.
Combined postcode + area search - Get a geography from a predefined list or postcodes.io search depending on query. Also uses a Topojson file to figure out which 1961 district a postcode long/lat falls within.
OS API search - Test for getting geographic data for postcodes, streets and cities/towns/villages from the Ordnance Survey Open Names API.
Games and quizzes
How well do you know your area? - Not online yet. Very basic demo here .
Guess the geography - Guess the name of an area based on a boundary on a map (relies on ONS Geography Linked Data API).

Images Powered by Shutterstock