IA National Data Service – Census 2021 – Demography and Migration Topic

Last updated: 21st of December 2022

The National Data Service has been updated with the data from the Demography and migration topic summary from Census 2021.

This adds nearly 1,500 new indicators to the service, with data available at the geographies it has been published for by ONS:

  • Country
  • Region
  • Upper Tier Local Authority
  • Lower Tier Local Authority
  • Middle Layer Super Output Area
  • Lower Layer Super Output Area

To display the LSOA level data we have added a new core geography to the National Data Service called LSOA 2021.

Although ONS did not publish data at ward level, where possible we have generated values at this level by aggregating values from OA area using a population weighted centroids best fit method.

These new indictors are all located under the Population theme, and organised into subthemes that reflect the census table that they were sourced from. We have retained the structure the data were published in, and have also retained the name of the census table in the theme names and indicator names. This is helpful for users that are familiar with the way the census data is organised and/or the names of the tables.

Under each top level theme in the National Data Service, the old data from Census 2011 have been moved into a subtheme labeled Census 2011, to avoid confusion with the 2021 data.

For customers with a managed Data Observatory website, the data are displayed in the following places:

1) Population Map Explorer (updated 6th Dec 2022)

Map explorer with census 2021 data

2) Data Explorer (updated 6th Dec 2022)

Data explorer with census 2021 data

3) Upper and lower tier local authority Population reports (updated 7th and 9th Dec 2022)

Report with Census 2021 data from Demography and migration topic

In January we will be adding data for the further topic summaries that have been released by ONS and updating our ward level reports in addition to the reports at local authority level.

IA National Data Service – Census 2021 first results

The first results of Census 2021 were added to the National Data Service on 4th July 2022 and are now available for viewing.

This brand new set of around 140 indicators can be found in the the Population theme, under a Census 2021 subtheme. This dataset combines the first release results for 2021 – available at local authority, region and country level for England and Wales – with the closest equivalent data selected from NOMIS for 2011, 2001 and 1991 to show change over time in the headline data. The population estimates are broken down by sex, broad age group and 5-year age groups.

Note that there may be some differences to the basis on how the values were generated. Note also that this first release data for 2021 gives figures rounded to the nearest 100 – later release will be unrounded and can be expected to show some differences to these figures.

For customers with a managed Data Observatory website, the data are displayed in the following places:

1) Population reports for top and lower tier local authorities (updated 7th July 2022)

NDS report with Census 2021 data

2) Population Map Explorer (updated 4th July 2022)

Map Explorer with Census 2021 data

3) Data Explorer (updated 4th July 2022)

Data Explorer with Census 2021 data

We will add further data from Census 2021 to the National Data Service once these have been released. You can read the release plans from ONS for the data here.

How to embed InstantAtlas apps into your website

The purpose of this post is to provide the necessary information for embedding InstantAtlas apps into a website. Colour is used to explain the code below – if you have difficulty distinguishing the colours used please contact support@instantatlas.com and we will find an alternative. The actual creation of the apps in the first place is not covered in this post.

Data Explorer

InstantAtlas Data explorer apps connect directly to an InstantAtlas Data Catalog in ArcGIS Online and allow your web site users to browse and download data and create graphics for documents and presentations.

Add this code to a web page to embed a data explorer app.

<link href="https://hub.instantatlas.com/data-catalog-explorer/static/css/main.css" rel="stylesheet">
<div id="root"></div>
<script src="https://hub.instantatlas.com/data-catalog-explorer/static/js/main.js"></script>
<script>window.dataCatalogExplorer.launch({ "appid": "e3d83edc76bd45548ddd0e2ee4fe4bdf", "container": "root" })</script>‎

e3d83edc76bd45548ddd0e2ee4fe4bdf – this is the app ID (from ArcGIS Online) of the data explorer app you wish to embed.

An example of embedding a data explorer app can be seen on this page of the Suffolk Observatory.

Map Explorer

Map Explorer apps are simple-to-use apps that that allows a user to select from a pre-defined set of indicators from an InstantAtlas Data Catalog and visualize them as thematic maps.

<div id="ia-map-panel" style="width: 100%; min-height: 500px; height: calc(100vh - 300px);">
<script src="https://hub.instantatlas.com/map-explorer/embed?c=ia-map-panel&appid=917b1891e5934d6baeeff23cdb0e9f38"></script>

917b1891e5934d6baeeff23cdb0e9f38 – this is the app ID (from ArcGIS Online) of the map explorer app you wish to embed.

Custom Area Reporter

The Custom Area Reporter is an app that allows users to make a custom selection of areas to be viewed in an aggregated or disaggregated form in a report published using Report Builder for ArcGIS. Users select areas from a map using a range of selection tools. Once the areas have been selected, the user can choose from a list of reports – this list is defined in the app configuration.

Add this code to a web page to embed a custom area reporter app.

<link href="https://www.reports.esriuk.com/custom-area-reporter/static/css/car.css" rel="stylesheet">
<div id="car-container" style="width: 100%; height: 500px; border: 1px solid #ccc; position: relative;"></div>
<script src="https://www.reports.esriuk.com/custom-area-reporter/static/js/car.js"></script>
<script defer="defer">window.customAreaReporter.launch({ appid: '1a451d1bbe3544849585ab2745c25f5d', container: 'car-container' });</script>

1a451d1bbe3544849585ab2745c25f5d – this is the app ID (from ArcGIS Online) of the custom area reporter app you wish to embed. The code above contains some styling of the container for the app that you can obviously change if you wish e.g. width, height, border. An example of embedding a custom area reporter app can be seen on this page of the Suffolk Observatory.


The embedding of reports created using Report Builder for ArcGIS is covered here.