Lume Viz
EDD and Remote Files
Lots of the data we use comes from our Economic Data Dashboard (EDD). EDD stores data in long format,
but for lume charts we need to reshape the data depending on the type of visualisation. For example, a
line chart requires an x-axis column (usually a date), and a column per series that you want to show in the data. A bar chart
requires a column with each catgeory, and a column per series. A hex map requries a column of geography
codes, and additional columns for each layer of the data you want to show (which you can move between using
sliders). Fundamentally, these are the same format - an x-axis column, and a column per series/category you want to show in the y-axis.
In the case that data is published in a standardised, machine readable format at a remote URL,
we can use DuckDB and SQL queries to load and reshape the data in memory, without need for explicit
extract, transform, load (ETL) pipelines. This keeps the site size down to a minimum, and vastly speeds
up the build time on a data intensive site, such as the housing data explorer.
There is still a place for pipelines in more complex analysis. In this case can still use SQL to load all or some of that data into Lume.
Examples
UK Job Vacancies (000s) by sector
Skip line chart Electricity, Gas, Steam & Air Con Supply
Date 2010 2012 2014 2016 2018 2020 2022 2024 2026 000s of Vacancies 0 100 50 Electricity, Gas, Steam & Air Con Supply January 2010: 3,000 Electricity, Gas, Steam & Air Con Supply February 2010: 3,000 Electricity, Gas, Steam & Air Con Supply March 2010: 3,000 Electricity, Gas, Steam & Air Con Supply April 2010: 3,000 Electricity, Gas, Steam & Air Con Supply May 2010: 3,000 Electricity, Gas, Steam & Air Con Supply June 2010: 3,000 Electricity, Gas, Steam & Air Con Supply July 2010: 3,000 Electricity, Gas, Steam & Air Con Supply August 2010: 3,000 Electricity, Gas, Steam & Air Con Supply September 2010: 3,000 Electricity, Gas, Steam & Air Con Supply October 2010: 3,000 Electricity, Gas, Steam & Air Con Supply November 2010: 3,000 Electricity, Gas, Steam & Air Con Supply December 2010: 3,000 Electricity, Gas, Steam & Air Con Supply January 2011: 3,000 Electricity, Gas, Steam & Air Con Supply February 2011: 3,000 Electricity, Gas, Steam & Air Con Supply March 2011: 3,000 Electricity, Gas, Steam & Air Con Supply April 2011: 3,000 Electricity, Gas, Steam & Air Con Supply May 2011: 3,000 Electricity, Gas, Steam & Air Con Supply June 2011: 3,000 Electricity, Gas, Steam & Air Con Supply July 2011: 3,000 Electricity, Gas, Steam & Air Con Supply August 2011: 3,000 Electricity, Gas, Steam & Air Con Supply September 2011: 3,000 Electricity, Gas, Steam & Air Con Supply October 2011: 3,000 Electricity, Gas, Steam & Air Con Supply November 2011: 3,000 Electricity, Gas, Steam & Air Con Supply December 2011: 3,000 Electricity, Gas, Steam & Air Con Supply January 2012: 3,000 Electricity, Gas, Steam & Air Con Supply February 2012: 3,000 Electricity, Gas, Steam & Air Con Supply March 2012: 3,000 Electricity, Gas, Steam & Air Con Supply April 2012: 3,000 Electricity, Gas, Steam & Air Con Supply May 2012: 3,000 Electricity, Gas, Steam & Air Con Supply June 2012: 4,000 Electricity, Gas, Steam & Air Con Supply July 2012: 3,000 Electricity, Gas, Steam & Air Con Supply August 2012: 3,000 Electricity, Gas, Steam & Air Con Supply September 2012: 3,000 Electricity, Gas, Steam & Air Con Supply October 2012: 3,000 Electricity, Gas, Steam & Air Con Supply November 2012: 3,000 Electricity, Gas, Steam & Air Con Supply December 2012: 3,000 Electricity, Gas, Steam & Air Con Supply January 2013: 3,000 Electricity, Gas, Steam & Air Con Supply February 2013: 3,000 Electricity, Gas, Steam & Air Con Supply March 2013: 3,000 Electricity, Gas, Steam & Air Con Supply April 2013: 4,000 Electricity, Gas, Steam & Air Con Supply May 2013: 4,000 Electricity, Gas, Steam & Air Con Supply June 2013: 4,000 Electricity, Gas, Steam & Air Con Supply July 2013: 4,000 Electricity, Gas, Steam & Air Con Supply August 2013: 4,000 Electricity, Gas, Steam & Air Con Supply September 2013: 4,000 Electricity, Gas, Steam & Air Con Supply October 2013: 4,000 Electricity, Gas, Steam & Air Con Supply November 2013: 4,000 Electricity, Gas, Steam & Air Con Supply December 2013: 4,000 Electricity, Gas, Steam & Air Con Supply January 2014: 4,000 Electricity, Gas, Steam & Air Con Supply February 2014: 4,000 Electricity, Gas, Steam & Air Con Supply March 2014: 4,000 Electricity, Gas, Steam & Air Con Supply April 2014: 4,000 Electricity, Gas, Steam & Air Con Supply May 2014: 4,000 Electricity, Gas, Steam & Air Con Supply June 2014: 4,000 Electricity, Gas, Steam & Air Con Supply July 2014: 4,000 Electricity, Gas, Steam & Air Con Supply August 2014: 4,000 Electricity, Gas, Steam & Air Con Supply September 2014: 4,000 Electricity, Gas, Steam & Air Con Supply October 2014: 4,000 Electricity, Gas, Steam & Air Con Supply November 2014: 4,000 Electricity, Gas, Steam & Air Con Supply December 2014: 4,000 Electricity, Gas, Steam & Air Con Supply January 2015: 4,000 Electricity, Gas, Steam & Air Con Supply February 2015: 4,000 Electricity, Gas, Steam & Air Con Supply March 2015: 4,000 Electricity, Gas, Steam & Air Con Supply April 2015: 4,000 Electricity, Gas, Steam & Air Con Supply May 2015: 4,000 Electricity, Gas, Steam & Air Con Supply June 2015: 4,000 Electricity, Gas, Steam & Air Con Supply July 2015: 4,000 Electricity, Gas, Steam & Air Con Supply August 2015: 4,000 Electricity, Gas, Steam & Air Con Supply September 2015: 4,000 Electricity, Gas, Steam & Air Con Supply October 2015: 4,000 Electricity, Gas, Steam & Air Con Supply November 2015: 4,000 Electricity, Gas, Steam & Air Con Supply December 2015: 4,000 Electricity, Gas, Steam & Air Con Supply January 2016: 4,000 Electricity, Gas, Steam & Air Con Supply February 2016: 4,000 Electricity, Gas, Steam & Air Con Supply March 2016: 4,000 Electricity, Gas, Steam & Air Con Supply April 2016: 4,000 Electricity, Gas, Steam & Air Con Supply May 2016: 4,000 Electricity, Gas, Steam & Air Con Supply June 2016: 4,000 Electricity, Gas, Steam & Air Con Supply July 2016: 4,000 Electricity, Gas, Steam & Air Con Supply August 2016: 5,000 Electricity, Gas, Steam & Air Con Supply September 2016: 4,000 Electricity, Gas, Steam & Air Con Supply October 2016: 4,000 Electricity, Gas, Steam & Air Con Supply November 2016: 4,000 Electricity, Gas, Steam & Air Con Supply December 2016: 4,000 Electricity, Gas, Steam & Air Con Supply January 2017: 4,000 Electricity, Gas, Steam & Air Con Supply February 2017: 4,000 Electricity, Gas, Steam & Air Con Supply March 2017: 4,000 Electricity, Gas, Steam & Air Con Supply April 2017: 4,000 Electricity, Gas, Steam & Air Con Supply May 2017: 4,000 Electricity, Gas, Steam & Air Con Supply June 2017: 4,000 Electricity, Gas, Steam & Air Con Supply July 2017: 4,000 Electricity, Gas, Steam & Air Con Supply August 2017: 4,000 Electricity, Gas, Steam & Air Con Supply September 2017: 4,000 Electricity, Gas, Steam & Air Con Supply October 2017: 4,000 Electricity, Gas, Steam & Air Con Supply November 2017: 4,000 Electricity, Gas, Steam & Air Con Supply December 2017: 4,000 Electricity, Gas, Steam & Air Con Supply January 2018: 4,000 Electricity, Gas, Steam & Air Con Supply February 2018: 4,000 Electricity, Gas, Steam & Air Con Supply March 2018: 3,000 Electricity, Gas, Steam & Air Con Supply April 2018: 3,000 Electricity, Gas, Steam & Air Con Supply May 2018: 4,000 Electricity, Gas, Steam & Air Con Supply June 2018: 4,000 Electricity, Gas, Steam & Air Con Supply July 2018: 4,000 Electricity, Gas, Steam & Air Con Supply August 2018: 3,000 Electricity, Gas, Steam & Air Con Supply September 2018: 3,000 Electricity, Gas, Steam & Air Con Supply October 2018: 3,000 Electricity, Gas, Steam & Air Con Supply November 2018: 3,000 Electricity, Gas, Steam & Air Con Supply December 2018: 3,000 Electricity, Gas, Steam & Air Con Supply January 2019: 3,000 Electricity, Gas, Steam & Air Con Supply February 2019: 3,000 Electricity, Gas, Steam & Air Con Supply March 2019: 4,000 Electricity, Gas, Steam & Air Con Supply April 2019: 4,000 Electricity, Gas, Steam & Air Con Supply May 2019: 4,000 Electricity, Gas, Steam & Air Con Supply June 2019: 3,000 Electricity, Gas, Steam & Air Con Supply July 2019: 3,000 Electricity, Gas, Steam & Air Con Supply August 2019: 3,000 Electricity, Gas, Steam & Air Con Supply September 2019: 3,000 Electricity, Gas, Steam & Air Con Supply October 2019: 3,000 Electricity, Gas, Steam & Air Con Supply November 2019: 3,000 Electricity, Gas, Steam & Air Con Supply December 2019: 3,000 Electricity, Gas, Steam & Air Con Supply January 2020: 3,000 Electricity, Gas, Steam & Air Con Supply February 2020: 3,000 Electricity, Gas, Steam & Air Con Supply March 2020: 3,000 Electricity, Gas, Steam & Air Con Supply April 2020: 2,000 Electricity, Gas, Steam & Air Con Supply May 2020: 2,000 Electricity, Gas, Steam & Air Con Supply June 2020: 2,000 Electricity, Gas, Steam & Air Con Supply July 2020: 3,000 Electricity, Gas, Steam & Air Con Supply August 2020: 3,000 Electricity, Gas, Steam & Air Con Supply September 2020: 3,000 Electricity, Gas, Steam & Air Con Supply October 2020: 4,000 Electricity, Gas, Steam & Air Con Supply November 2020: 3,000 Electricity, Gas, Steam & Air Con Supply December 2020: 4,000 Electricity, Gas, Steam & Air Con Supply January 2021: 4,000 Electricity, Gas, Steam & Air Con Supply February 2021: 5,000 Electricity, Gas, Steam & Air Con Supply March 2021: 6,000 Electricity, Gas, Steam & Air Con Supply April 2021: 6,000 Electricity, Gas, Steam & Air Con Supply May 2021: 6,000 Electricity, Gas, Steam & Air Con Supply June 2021: 6,000 Electricity, Gas, Steam & Air Con Supply July 2021: 6,000 Electricity, Gas, Steam & Air Con Supply August 2021: 6,000 Electricity, Gas, Steam & Air Con Supply September 2021: 6,000 Electricity, Gas, Steam & Air Con Supply October 2021: 6,000 Electricity, Gas, Steam & Air Con Supply November 2021: 6,000 Electricity, Gas, Steam & Air Con Supply December 2021: 5,000 Electricity, Gas, Steam & Air Con Supply January 2022: 5,000 Electricity, Gas, Steam & Air Con Supply February 2022: 5,000 Electricity, Gas, Steam & Air Con Supply March 2022: 5,000 Electricity, Gas, Steam & Air Con Supply April 2022: 5,000 Electricity, Gas, Steam & Air Con Supply May 2022: 6,000 Electricity, Gas, Steam & Air Con Supply June 2022: 6,000 Electricity, Gas, Steam & Air Con Supply July 2022: 6,000 Electricity, Gas, Steam & Air Con Supply August 2022: 6,000 Electricity, Gas, Steam & Air Con Supply September 2022: 6,000 Electricity, Gas, Steam & Air Con Supply October 2022: 6,000 Electricity, Gas, Steam & Air Con Supply November 2022: 5,000 Electricity, Gas, Steam & Air Con Supply December 2022: 5,000 Electricity, Gas, Steam & Air Con Supply January 2023: 5,000 Electricity, Gas, Steam & Air Con Supply February 2023: 6,000 Electricity, Gas, Steam & Air Con Supply March 2023: 6,000 Electricity, Gas, Steam & Air Con Supply April 2023: 6,000 Electricity, Gas, Steam & Air Con Supply May 2023: 6,000 Electricity, Gas, Steam & Air Con Supply June 2023: 7,000 Electricity, Gas, Steam & Air Con Supply July 2023: 6,000 Electricity, Gas, Steam & Air Con Supply August 2023: 6,000 Electricity, Gas, Steam & Air Con Supply September 2023: 5,000 Electricity, Gas, Steam & Air Con Supply October 2023: 5,000 Electricity, Gas, Steam & Air Con Supply November 2023: 5,000 Electricity, Gas, Steam & Air Con Supply December 2023: 5,000 Electricity, Gas, Steam & Air Con Supply January 2024: 5,000 Electricity, Gas, Steam & Air Con Supply February 2024: 5,000 Electricity, Gas, Steam & Air Con Supply March 2024: 5,000 Electricity, Gas, Steam & Air Con Supply April 2024: 5,000 Electricity, Gas, Steam & Air Con Supply May 2024: 4,000 Electricity, Gas, Steam & Air Con Supply June 2024: 5,000 Electricity, Gas, Steam & Air Con Supply July 2024: 4,000 Manufacturing January 2010: 27,000 Manufacturing February 2010: 28,000 Manufacturing March 2010: 26,000 Manufacturing April 2010: 30,000 Manufacturing May 2010: 30,000 Manufacturing June 2010: 34,000 Manufacturing July 2010: 34,000 Manufacturing August 2010: 34,000 Manufacturing September 2010: 33,000 Manufacturing October 2010: 34,000 Manufacturing November 2010: 34,000 Manufacturing December 2010: 35,000 Manufacturing January 2011: 37,000 Manufacturing February 2011: 40,000 Manufacturing March 2011: 41,000 Manufacturing April 2011: 39,000 Manufacturing May 2011: 38,000 Manufacturing June 2011: 36,000 Manufacturing July 2011: 36,000 Manufacturing August 2011: 36,000 Manufacturing September 2011: 37,000 Manufacturing October 2011: 36,000 Manufacturing November 2011: 39,000 Manufacturing December 2011: 42,000 Manufacturing January 2012: 42,000 Manufacturing February 2012: 40,000 Manufacturing March 2012: 40,000 Manufacturing April 2012: 38,000 Manufacturing May 2012: 38,000 Manufacturing June 2012: 36,000 Manufacturing July 2012: 37,000 Manufacturing August 2012: 36,000 Manufacturing September 2012: 38,000 Manufacturing October 2012: 37,000 Manufacturing November 2012: 36,000 Manufacturing December 2012: 37,000 Manufacturing January 2013: 37,000 Manufacturing February 2013: 37,000 Manufacturing March 2013: 37,000 Manufacturing April 2013: 38,000 Manufacturing May 2013: 37,000 Manufacturing June 2013: 37,000 Manufacturing July 2013: 36,000 Manufacturing August 2013: 37,000 Manufacturing September 2013: 39,000 Manufacturing October 2013: 40,000 Manufacturing November 2013: 40,000 Manufacturing December 2013: 40,000 Manufacturing January 2014: 39,000 Manufacturing February 2014: 44,000 Manufacturing March 2014: 46,000 Manufacturing April 2014: 47,000 Manufacturing May 2014: 47,000 Manufacturing June 2014: 50,000 Manufacturing July 2014: 51,000 Manufacturing August 2014: 53,000 Manufacturing September 2014: 48,000 Manufacturing October 2014: 48,000 Manufacturing November 2014: 47,000 Manufacturing December 2014: 47,000 Manufacturing January 2015: 50,000 Manufacturing February 2015: 48,000 Manufacturing March 2015: 47,000 Manufacturing April 2015: 47,000 Manufacturing May 2015: 50,000 Manufacturing June 2015: 51,000 Manufacturing July 2015: 51,000 Manufacturing August 2015: 51,000 Manufacturing September 2015: 49,000 Manufacturing October 2015: 48,000 Manufacturing November 2015: 48,000 Manufacturing December 2015: 49,000 Manufacturing January 2016: 47,000 Manufacturing February 2016: 46,000 Manufacturing March 2016: 45,000 Manufacturing April 2016: 46,000 Manufacturing May 2016: 46,000 Manufacturing June 2016: 49,000 Manufacturing July 2016: 49,000 Manufacturing August 2016: 51,000 Manufacturing September 2016: 52,000 Manufacturing October 2016: 53,000 Manufacturing November 2016: 53,000 Manufacturing December 2016: 52,000 Manufacturing January 2017: 52,000 Manufacturing February 2017: 50,000 Manufacturing March 2017: 55,000 Manufacturing April 2017: 53,000 Manufacturing May 2017: 53,000 Manufacturing June 2017: 51,000 Manufacturing July 2017: 51,000 Manufacturing August 2017: 51,000 Manufacturing September 2017: 54,000 Manufacturing October 2017: 57,000 Manufacturing November 2017: 59,000 Manufacturing December 2017: 57,000 Manufacturing January 2018: 58,000 Manufacturing February 2018: 57,000 Manufacturing March 2018: 60,000 Manufacturing April 2018: 59,000 Manufacturing May 2018: 60,000 Manufacturing June 2018: 60,000 Manufacturing July 2018: 61,000 Manufacturing August 2018: 62,000 Manufacturing September 2018: 63,000 Manufacturing October 2018: 63,000 Manufacturing November 2018: 63,000 Manufacturing December 2018: 64,000 Manufacturing January 2019: 60,000 Manufacturing February 2019: 60,000 Manufacturing March 2019: 57,000 Manufacturing April 2019: 57,000 Manufacturing May 2019: 54,000 Manufacturing June 2019: 54,000 Manufacturing July 2019: 54,000 Manufacturing August 2019: 52,000 Manufacturing September 2019: 51,000 Manufacturing October 2019: 51,000 Manufacturing November 2019: 53,000 Manufacturing December 2019: 57,000 Manufacturing January 2020: 55,000 Manufacturing February 2020: 52,000 Manufacturing March 2020: 41,000 Manufacturing April 2020: 32,000 Manufacturing May 2020: 24,000 Manufacturing June 2020: 27,000 Manufacturing July 2020: 31,000 Manufacturing August 2020: 36,000 Manufacturing September 2020: 42,000 Manufacturing October 2020: 42,000 Manufacturing November 2020: 44,000 Manufacturing December 2020: 47,000 Manufacturing January 2021: 50,000 Manufacturing February 2021: 53,000 Manufacturing March 2021: 57,000 Manufacturing April 2021: 59,000 Manufacturing May 2021: 64,000 Manufacturing June 2021: 68,000 Manufacturing July 2021: 75,000 Manufacturing August 2021: 83,000 Manufacturing September 2021: 90,000 Manufacturing October 2021: 93,000 Manufacturing November 2021: 94,000 Manufacturing December 2021: 95,000 Manufacturing January 2022: 96,000 Manufacturing February 2022: 94,000 Manufacturing March 2022: 95,000 Manufacturing April 2022: 96,000 Manufacturing May 2022: 94,000 Manufacturing June 2022: 93,000 Manufacturing July 2022: 89,000 Manufacturing August 2022: 86,000 Manufacturing September 2022: 84,000 Manufacturing October 2022: 84,000 Manufacturing November 2022: 78,000 Manufacturing December 2022: 79,000 Manufacturing January 2023: 78,000 Manufacturing February 2023: 79,000 Manufacturing March 2023: 75,000 Manufacturing April 2023: 74,000 Manufacturing May 2023: 71,000 Manufacturing June 2023: 71,000 Manufacturing July 2023: 70,000 Manufacturing August 2023: 70,000 Manufacturing September 2023: 69,000 Manufacturing October 2023: 66,000 Manufacturing November 2023: 65,000 Manufacturing December 2023: 68,000 Manufacturing January 2024: 67,000 Manufacturing February 2024: 65,000 Manufacturing March 2024: 61,000 Manufacturing April 2024: 62,000 Manufacturing May 2024: 63,000 Manufacturing June 2024: 62,000 Manufacturing July 2024: 61,000 Mining & Quarrying January 2010: 1,000 Mining & Quarrying February 2010: 1,000 Mining & Quarrying March 2010: 1,000 Mining & Quarrying April 2010: 1,000 Mining & Quarrying May 2010: 1,000 Mining & Quarrying June 2010: 1,000 Mining & Quarrying July 2010: 1,000 Mining & Quarrying August 2010: 1,000 Mining & Quarrying September 2010: 1,000 Mining & Quarrying October 2010: 1,000 Mining & Quarrying November 2010: 1,000 Mining & Quarrying December 2010: 1,000 Mining & Quarrying January 2011: 1,000 Mining & Quarrying February 2011: 1,000 Mining & Quarrying March 2011: 2,000 Mining & Quarrying April 2011: 2,000 Mining & Quarrying May 2011: 2,000 Mining & Quarrying June 2011: 2,000 Mining & Quarrying July 2011: 2,000 Mining & Quarrying August 2011: 2,000 Mining & Quarrying September 2011: 2,000 Mining & Quarrying October 2011: 2,000 Mining & Quarrying November 2011: 2,000 Mining & Quarrying December 2011: 2,000 Mining & Quarrying January 2012: 2,000 Mining & Quarrying February 2012: 2,000 Mining & Quarrying March 2012: 2,000 Mining & Quarrying April 2012: 2,000 Mining & Quarrying May 2012: 2,000 Mining & Quarrying June 2012: 2,000 Mining & Quarrying July 2012: 2,000 Mining & Quarrying August 2012: 2,000 Mining & Quarrying September 2012: 2,000 Mining & Quarrying October 2012: 2,000 Mining & Quarrying November 2012: 2,000 Mining & Quarrying December 2012: 3,000 Mining & Quarrying January 2013: 2,000 Mining & Quarrying February 2013: 2,000 Mining & Quarrying March 2013: 3,000 Mining & Quarrying April 2013: 3,000 Mining & Quarrying May 2013: 3,000 Mining & Quarrying June 2013: 2,000 Mining & Quarrying July 2013: 2,000 Mining & Quarrying August 2013: 2,000 Mining & Quarrying September 2013: 2,000 Mining & Quarrying October 2013: 2,000 Mining & Quarrying November 2013: 2,000 Mining & Quarrying December 2013: 2,000 Mining & Quarrying January 2014: 2,000 Mining & Quarrying February 2014: 2,000 Mining & Quarrying March 2014: 2,000 Mining & Quarrying April 2014: 2,000 Mining & Quarrying May 2014: 2,000 Mining & Quarrying June 2014: 2,000 Mining & Quarrying July 2014: 2,000 Mining & Quarrying August 2014: 2,000 Mining & Quarrying September 2014: 2,000 Mining & Quarrying October 2014: 2,000 Mining & Quarrying November 2014: 1,000 Mining & Quarrying December 2014: 1,000 Mining & Quarrying January 2015: 1,000 Mining & Quarrying February 2015: 1,000 Mining & Quarrying March 2015: 1,000 Mining & Quarrying April 2015: 1,000 Mining & Quarrying May 2015: 1,000 Mining & Quarrying June 2015: 1,000 Mining & Quarrying July 2015: 1,000 Mining & Quarrying August 2015: 1,000 Mining & Quarrying September 2015: 1,000 Mining & Quarrying October 2015: 1,000 Mining & Quarrying November 2015: 1,000 Mining & Quarrying December 2015: 1,000 Mining & Quarrying January 2016: 1,000 Mining & Quarrying February 2016: 1,000 Mining & Quarrying March 2016: 1,000 Mining & Quarrying April 2016: 1,000 Mining & Quarrying May 2016: 1,000 Mining & Quarrying June 2016: 1,000 Mining & Quarrying July 2016: 1,000 Mining & Quarrying August 2016: 1,000 Mining & Quarrying September 2016: 1,000 Mining & Quarrying October 2016: 1,000 Mining & Quarrying November 2016: 1,000 Mining & Quarrying December 2016: 1,000 Mining & Quarrying January 2017: 1,000 Mining & Quarrying February 2017: 1,000 Mining & Quarrying March 2017: 1,000 Mining & Quarrying April 2017: 1,000 Mining & Quarrying May 2017: 1,000 Mining & Quarrying June 2017: 1,000 Mining & Quarrying July 2017: 1,000 Mining & Quarrying August 2017: 1,000 Mining & Quarrying September 2017: 1,000 Mining & Quarrying October 2017: 1,000 Mining & Quarrying November 2017: 1,000 Mining & Quarrying December 2017: 1,000 Mining & Quarrying January 2018: 1,000 Mining & Quarrying February 2018: 1,000 Mining & Quarrying March 2018: 1,000 Mining & Quarrying April 2018: 1,000 Mining & Quarrying May 2018: 1,000 Mining & Quarrying June 2018: 1,000 Mining & Quarrying July 2018: 1,000 Mining & Quarrying August 2018: 1,000 Mining & Quarrying September 2018: 1,000 Mining & Quarrying October 2018: 1,000 Mining & Quarrying November 2018: 1,000 Mining & Quarrying December 2018: 1,000 Mining & Quarrying January 2019: 1,000 Mining & Quarrying February 2019: 1,000 Mining & Quarrying March 2019: 2,000 Mining & Quarrying April 2019: 2,000 Mining & Quarrying May 2019: 2,000 Mining & Quarrying June 2019: 2,000 Mining & Quarrying July 2019: 2,000 Mining & Quarrying August 2019: 2,000 Mining & Quarrying September 2019: 2,000 Mining & Quarrying October 2019: 2,000 Mining & Quarrying November 2019: 2,000 Mining & Quarrying December 2019: 2,000 Mining & Quarrying January 2020: 2,000 Mining & Quarrying February 2020: 2,000 Mining & Quarrying March 2020: 1,000 Mining & Quarrying April 2020: 1,000 Mining & Quarrying May 2020: 0,000 Mining & Quarrying June 2020: 0,000 Mining & Quarrying July 2020: 0,000 Mining & Quarrying August 2020: 0,000 Mining & Quarrying September 2020: 1,000 Mining & Quarrying October 2020: 1,000 Mining & Quarrying November 2020: 1,000 Mining & Quarrying December 2020: 1,000 Mining & Quarrying January 2021: 1,000 Mining & Quarrying February 2021: 1,000 Mining & Quarrying March 2021: 1,000 Mining & Quarrying April 2021: 1,000 Mining & Quarrying May 2021: 1,000 Mining & Quarrying June 2021: 1,000 Mining & Quarrying July 2021: 1,000 Mining & Quarrying August 2021: 1,000 Mining & Quarrying September 2021: 2,000 Mining & Quarrying October 2021: 2,000 Mining & Quarrying November 2021: 2,000 Mining & Quarrying December 2021: 2,000 Mining & Quarrying January 2022: 2,000 Mining & Quarrying February 2022: 2,000 Mining & Quarrying March 2022: 2,000 Mining & Quarrying April 2022: 2,000 Mining & Quarrying May 2022: 2,000 Mining & Quarrying June 2022: 2,000 Mining & Quarrying July 2022: 2,000 Mining & Quarrying August 2022: 2,000 Mining & Quarrying September 2022: 2,000 Mining & Quarrying October 2022: 2,000 Mining & Quarrying November 2022: 2,000 Mining & Quarrying December 2022: 2,000 Mining & Quarrying January 2023: 2,000 Mining & Quarrying February 2023: 2,000 Mining & Quarrying March 2023: 2,000 Mining & Quarrying April 2023: 2,000 Mining & Quarrying May 2023: 2,000 Mining & Quarrying June 2023: 2,000 Mining & Quarrying July 2023: 2,000 Mining & Quarrying August 2023: 2,000 Mining & Quarrying September 2023: 2,000 Mining & Quarrying October 2023: 2,000 Mining & Quarrying November 2023: 2,000 Mining & Quarrying December 2023: 2,000 Mining & Quarrying January 2024: 2,000 Mining & Quarrying February 2024: 2,000 Mining & Quarrying March 2024: 2,000 Mining & Quarrying April 2024: 2,000 Mining & Quarrying May 2024: 2,000 Mining & Quarrying June 2024: 2,000 Mining & Quarrying July 2024: 1,000 Construction January 2010: 9,000 Construction February 2010: 9,000 Construction March 2010: 9,000 Construction April 2010: 10,000 Construction May 2010: 10,000 Construction June 2010: 11,000 Construction July 2010: 10,000 Construction August 2010: 10,000 Construction September 2010: 11,000 Construction October 2010: 12,000 Construction November 2010: 13,000 Construction December 2010: 13,000 Construction January 2011: 12,000 Construction February 2011: 13,000 Construction March 2011: 12,000 Construction April 2011: 11,000 Construction May 2011: 10,000 Construction June 2011: 10,000 Construction July 2011: 10,000 Construction August 2011: 11,000 Construction September 2011: 10,000 Construction October 2011: 10,000 Construction November 2011: 9,000 Construction December 2011: 11,000 Construction January 2012: 11,000 Construction February 2012: 12,000 Construction March 2012: 13,000 Construction April 2012: 14,000 Construction May 2012: 14,000 Construction June 2012: 14,000 Construction July 2012: 13,000 Construction August 2012: 14,000 Construction September 2012: 15,000 Construction October 2012: 15,000 Construction November 2012: 13,000 Construction December 2012: 13,000 Construction January 2013: 12,000 Construction February 2013: 12,000 Construction March 2013: 13,000 Construction April 2013: 14,000 Construction May 2013: 15,000 Construction June 2013: 15,000 Construction July 2013: 14,000 Construction August 2013: 14,000 Construction September 2013: 14,000 Construction October 2013: 15,000 Construction November 2013: 16,000 Construction December 2013: 18,000 Construction January 2014: 18,000 Construction February 2014: 19,000 Construction March 2014: 21,000 Construction April 2014: 20,000 Construction May 2014: 19,000 Construction June 2014: 19,000 Construction July 2014: 22,000 Construction August 2014: 23,000 Construction September 2014: 23,000 Construction October 2014: 22,000 Construction November 2014: 22,000 Construction December 2014: 25,000 Construction January 2015: 27,000 Construction February 2015: 27,000 Construction March 2015: 26,000 Construction April 2015: 25,000 Construction May 2015: 26,000 Construction June 2015: 27,000 Construction July 2015: 25,000 Construction August 2015: 24,000 Construction September 2015: 23,000 Construction October 2015: 23,000 Construction November 2015: 22,000 Construction December 2015: 21,000 Construction January 2016: 21,000 Construction February 2016: 21,000 Construction March 2016: 22,000 Construction April 2016: 23,000 Construction May 2016: 22,000 Construction June 2016: 21,000 Construction July 2016: 21,000 Construction August 2016: 21,000 Construction September 2016: 25,000 Construction October 2016: 27,000 Construction November 2016: 29,000 Construction December 2016: 28,000 Construction January 2017: 29,000 Construction February 2017: 28,000 Construction March 2017: 27,000 Construction April 2017: 27,000 Construction May 2017: 27,000 Construction June 2017: 28,000 Construction July 2017: 30,000 Construction August 2017: 30,000 Construction September 2017: 31,000 Construction October 2017: 28,000 Construction November 2017: 26,000 Construction December 2017: 24,000 Construction January 2018: 22,000 Construction February 2018: 22,000 Construction March 2018: 23,000 Construction April 2018: 23,000 Construction May 2018: 26,000 Construction June 2018: 27,000 Construction July 2018: 29,000 Construction August 2018: 26,000 Construction September 2018: 27,000 Construction October 2018: 27,000 Construction November 2018: 27,000 Construction December 2018: 28,000 Construction January 2019: 28,000 Construction February 2019: 28,000 Construction March 2019: 27,000 Construction April 2019: 27,000 Construction May 2019: 26,000 Construction June 2019: 26,000 Construction July 2019: 25,000 Construction August 2019: 25,000 Construction September 2019: 24,000 Construction October 2019: 26,000 Construction November 2019: 26,000 Construction December 2019: 27,000 Construction January 2020: 28,000 Construction February 2020: 27,000 Construction March 2020: 21,000 Construction April 2020: 12,000 Construction May 2020: 7,000 Construction June 2020: 12,000 Construction July 2020: 18,000 Construction August 2020: 21,000 Construction September 2020: 25,000 Construction October 2020: 25,000 Construction November 2020: 28,000 Construction December 2020: 30,000 Construction January 2021: 29,000 Construction February 2021: 30,000 Construction March 2021: 28,000 Construction April 2021: 32,000 Construction May 2021: 30,000 Construction June 2021: 36,000 Construction July 2021: 38,000 Construction August 2021: 43,000 Construction September 2021: 45,000 Construction October 2021: 41,000 Construction November 2021: 40,000 Construction December 2021: 38,000 Construction January 2022: 48,000 Construction February 2022: 47,000 Construction March 2022: 49,000 Construction April 2022: 48,000 Construction May 2022: 46,000 Construction June 2022: 45,000 Construction July 2022: 46,000 Construction August 2022: 47,000 Construction September 2022: 48,000 Construction October 2022: 46,000 Construction November 2022: 43,000 Construction December 2022: 42,000 Construction January 2023: 40,000 Construction February 2023: 41,000 Construction March 2023: 41,000 Construction April 2023: 39,000 Construction May 2023: 39,000 Construction June 2023: 40,000 Construction July 2023: 37,000 Construction August 2023: 34,000 Construction September 2023: 33,000 Construction October 2023: 36,000 Construction November 2023: 37,000 Construction December 2023: 35,000 Construction January 2024: 36,000 Construction February 2024: 37,000 Construction March 2024: 36,000 Construction April 2024: 38,000 Construction May 2024: 36,000 Construction June 2024: 38,000 Construction July 2024: 37,000 Go to the start of line chart
Example: remote.linechart
We access data through our Economic Data Dashboard (EDD). EDD uses long-format for all data files, but for Lume charts
we need to reshape the data depending on the type of visualisation.
Since the PIVOT statement is not yet supported as a prepared statement by the DuckDB library that we're using,
we use a workaround defined in remote.reshape.ts
. This has been re-used in
remote.linechart.ts
.
The query call
remote.linechart()
,
returns the following result:
+---------------+---------------------------------------------+-------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------+
| date | UK Job Vacancies (thousands) - Construction | UK Job Vacancies (thousands) - Electricity, Gas, Steam & Air Con Supply | UK Job Vacancies (thousands) - Manufacturing | UK Job Vacancies (thousands) - Mining & Quarrying |
+---------------+---------------------------------------------+-------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------+
| 1262304000000 | 9 | 3 | 27 | 1 |
| 1264982400000 | 9 | 3 | 28 | 1 |
| 1267401600000 | 9 | 3 | 26 | 1 |
| 1270080000000 | 10 | 3 | 30 | 1 |
| 1272672000000 | 10 | 3 | 30 | 1 |
| 1275350400000 | 11 | 3 | 34 | 1 |
| 1277942400000 | 10 | 3 | 34 | 1 |
| 1280620800000 | 10 | 3 | 34 | 1 |
| 1283299200000 | 11 | 3 | 33 | 1 |
| 1285891200000 | 12 | 3 | 34 | 1 |
| 1288569600000 | 13 | 3 | 34 | 1 |
| 1291161600000 | 13 | 3 | 35 | 1 |
| 1293840000000 | 12 | 3 | 37 | 1 |
| 1296518400000 | 13 | 3 | 40 | 1 |
| 1298937600000 | 12 | 3 | 41 | 2 |
| 1301616000000 | 11 | 3 | 39 | 2 |
| 1304208000000 | 10 | 3 | 38 | 2 |
| 1306886400000 | 10 | 3 | 36 | 2 |
| 1309478400000 | 10 | 3 | 36 | 2 |
| 1312156800000 | 11 | 3 | 36 | 2 |
| 1314835200000 | 10 | 3 | 37 | 2 |
| 1317427200000 | 10 | 3 | 36 | 2 |
| 1320105600000 | 9 | 3 | 39 | 2 |
| 1322697600000 | 11 | 3 | 42 | 2 |
| 1325376000000 | 11 | 3 | 42 | 2 |
| 1328054400000 | 12 | 3 | 40 | 2 |
| 1330560000000 | 13 | 3 | 40 | 2 |
| 1333238400000 | 14 | 3 | 38 | 2 |
| 1335830400000 | 14 | 3 | 38 | 2 |
| 1338508800000 | 14 | 4 | 36 | 2 |
| 1341100800000 | 13 | 3 | 37 | 2 |
| 1343779200000 | 14 | 3 | 36 | 2 |
| 1346457600000 | 15 | 3 | 38 | 2 |
| 1349049600000 | 15 | 3 | 37 | 2 |
| 1351728000000 | 13 | 3 | 36 | 2 |
| 1354320000000 | 13 | 3 | 37 | 3 |
| 1356998400000 | 12 | 3 | 37 | 2 |
| 1359676800000 | 12 | 3 | 37 | 2 |
| 1362096000000 | 13 | 3 | 37 | 3 |
| 1364774400000 | 14 | 4 | 38 | 3 |
| 1367366400000 | 15 | 4 | 37 | 3 |
| 1370044800000 | 15 | 4 | 37 | 2 |
| 1372636800000 | 14 | 4 | 36 | 2 |
| 1375315200000 | 14 | 4 | 37 | 2 |
| 1377993600000 | 14 | 4 | 39 | 2 |
| 1380585600000 | 15 | 4 | 40 | 2 |
| 1383264000000 | 16 | 4 | 40 | 2 |
| 1385856000000 | 18 | 4 | 40 | 2 |
| 1388534400000 | 18 | 4 | 39 | 2 |
| 1391212800000 | 19 | 4 | 44 | 2 |
| 1393632000000 | 21 | 4 | 46 | 2 |
| 1396310400000 | 20 | 4 | 47 | 2 |
| 1398902400000 | 19 | 4 | 47 | 2 |
| 1401580800000 | 19 | 4 | 50 | 2 |
| 1404172800000 | 22 | 4 | 51 | 2 |
| 1406851200000 | 23 | 4 | 53 | 2 |
| 1409529600000 | 23 | 4 | 48 | 2 |
| 1412121600000 | 22 | 4 | 48 | 2 |
| 1414800000000 | 22 | 4 | 47 | 1 |
| 1417392000000 | 25 | 4 | 47 | 1 |
| 1420070400000 | 27 | 4 | 50 | 1 |
| 1422748800000 | 27 | 4 | 48 | 1 |
| 1425168000000 | 26 | 4 | 47 | 1 |
| 1427846400000 | 25 | 4 | 47 | 1 |
| 1430438400000 | 26 | 4 | 50 | 1 |
| 1433116800000 | 27 | 4 | 51 | 1 |
| 1435708800000 | 25 | 4 | 51 | 1 |
| 1438387200000 | 24 | 4 | 51 | 1 |
| 1441065600000 | 23 | 4 | 49 | 1 |
| 1443657600000 | 23 | 4 | 48 | 1 |
| 1446336000000 | 22 | 4 | 48 | 1 |
| 1448928000000 | 21 | 4 | 49 | 1 |
| 1451606400000 | 21 | 4 | 47 | 1 |
| 1454284800000 | 21 | 4 | 46 | 1 |
| 1456790400000 | 22 | 4 | 45 | 1 |
| 1459468800000 | 23 | 4 | 46 | 1 |
| 1462060800000 | 22 | 4 | 46 | 1 |
| 1464739200000 | 21 | 4 | 49 | 1 |
| 1467331200000 | 21 | 4 | 49 | 1 |
| 1470009600000 | 21 | 5 | 51 | 1 |
| 1472688000000 | 25 | 4 | 52 | 1 |
| 1475280000000 | 27 | 4 | 53 | 1 |
| 1477958400000 | 29 | 4 | 53 | 1 |
| 1480550400000 | 28 | 4 | 52 | 1 |
| 1483228800000 | 29 | 4 | 52 | 1 |
| 1485907200000 | 28 | 4 | 50 | 1 |
| 1488326400000 | 27 | 4 | 55 | 1 |
| 1491004800000 | 27 | 4 | 53 | 1 |
| 1493596800000 | 27 | 4 | 53 | 1 |
| 1496275200000 | 28 | 4 | 51 | 1 |
| 1498867200000 | 30 | 4 | 51 | 1 |
| 1501545600000 | 30 | 4 | 51 | 1 |
| 1504224000000 | 31 | 4 | 54 | 1 |
| 1506816000000 | 28 | 4 | 57 | 1 |
| 1509494400000 | 26 | 4 | 59 | 1 |
| 1512086400000 | 24 | 4 | 57 | 1 |
| 1514764800000 | 22 | 4 | 58 | 1 |
| 1517443200000 | 22 | 4 | 57 | 1 |
| 1519862400000 | 23 | 3 | 60 | 1 |
| 1522540800000 | 23 | 3 | 59 | 1 |
| 1525132800000 | 26 | 4 | 60 | 1 |
| 1527811200000 | 27 | 4 | 60 | 1 |
| 1530403200000 | 29 | 4 | 61 | 1 |
| 1533081600000 | 26 | 3 | 62 | 1 |
| 1535760000000 | 27 | 3 | 63 | 1 |
| 1538352000000 | 27 | 3 | 63 | 1 |
| 1541030400000 | 27 | 3 | 63 | 1 |
| 1543622400000 | 28 | 3 | 64 | 1 |
| 1546300800000 | 28 | 3 | 60 | 1 |
| 1548979200000 | 28 | 3 | 60 | 1 |
| 1551398400000 | 27 | 4 | 57 | 2 |
| 1554076800000 | 27 | 4 | 57 | 2 |
| 1556668800000 | 26 | 4 | 54 | 2 |
| 1559347200000 | 26 | 3 | 54 | 2 |
| 1561939200000 | 25 | 3 | 54 | 2 |
| 1564617600000 | 25 | 3 | 52 | 2 |
| 1567296000000 | 24 | 3 | 51 | 2 |
| 1569888000000 | 26 | 3 | 51 | 2 |
| 1572566400000 | 26 | 3 | 53 | 2 |
| 1575158400000 | 27 | 3 | 57 | 2 |
| 1577836800000 | 28 | 3 | 55 | 2 |
| 1580515200000 | 27 | 3 | 52 | 2 |
| 1583020800000 | 21 | 3 | 41 | 1 |
| 1585699200000 | 12 | 2 | 32 | 1 |
| 1588291200000 | 7 | 2 | 24 | 0 |
| 1590969600000 | 12 | 2 | 27 | 0 |
| 1593561600000 | 18 | 3 | 31 | 0 |
| 1596240000000 | 21 | 3 | 36 | 0 |
| 1598918400000 | 25 | 3 | 42 | 1 |
| 1601510400000 | 25 | 4 | 42 | 1 |
| 1604188800000 | 28 | 3 | 44 | 1 |
| 1606780800000 | 30 | 4 | 47 | 1 |
| 1609459200000 | 29 | 4 | 50 | 1 |
| 1612137600000 | 30 | 5 | 53 | 1 |
| 1614556800000 | 28 | 6 | 57 | 1 |
| 1617235200000 | 32 | 6 | 59 | 1 |
| 1619827200000 | 30 | 6 | 64 | 1 |
| 1622505600000 | 36 | 6 | 68 | 1 |
| 1625097600000 | 38 | 6 | 75 | 1 |
| 1627776000000 | 43 | 6 | 83 | 1 |
| 1630454400000 | 45 | 6 | 90 | 2 |
| 1633046400000 | 41 | 6 | 93 | 2 |
| 1635724800000 | 40 | 6 | 94 | 2 |
| 1638316800000 | 38 | 5 | 95 | 2 |
| 1640995200000 | 48 | 5 | 96 | 2 |
| 1643673600000 | 47 | 5 | 94 | 2 |
| 1646092800000 | 49 | 5 | 95 | 2 |
| 1648771200000 | 48 | 5 | 96 | 2 |
| 1651363200000 | 46 | 6 | 94 | 2 |
| 1654041600000 | 45 | 6 | 93 | 2 |
| 1656633600000 | 46 | 6 | 89 | 2 |
| 1659312000000 | 47 | 6 | 86 | 2 |
| 1661990400000 | 48 | 6 | 84 | 2 |
| 1664582400000 | 46 | 6 | 84 | 2 |
| 1667260800000 | 43 | 5 | 78 | 2 |
| 1669852800000 | 42 | 5 | 79 | 2 |
| 1672531200000 | 40 | 5 | 78 | 2 |
| 1675209600000 | 41 | 6 | 79 | 2 |
| 1677628800000 | 41 | 6 | 75 | 2 |
| 1680307200000 | 39 | 6 | 74 | 2 |
| 1682899200000 | 39 | 6 | 71 | 2 |
| 1685577600000 | 40 | 7 | 71 | 2 |
| 1688169600000 | 37 | 6 | 70 | 2 |
| 1690848000000 | 34 | 6 | 70 | 2 |
| 1693526400000 | 33 | 5 | 69 | 2 |
| 1696118400000 | 36 | 5 | 66 | 2 |
| 1698796800000 | 37 | 5 | 65 | 2 |
| 1701388800000 | 35 | 5 | 68 | 2 |
| 1704067200000 | 36 | 5 | 67 | 2 |
| 1706745600000 | 37 | 5 | 65 | 2 |
| 1709251200000 | 36 | 5 | 61 | 2 |
| 1711929600000 | 38 | 5 | 62 | 2 |
| 1714521600000 | 36 | 4 | 63 | 2 |
| 1717200000000 | 38 | 5 | 62 | 2 |
| 1719792000000 | 37 | 4 | 61 | 1 |
+---------------+---------------------------------------------+-------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------+