«


Government Spending Data Visualisation

Visualisation showing Government Spending in 2022-23, created using d3.js.

Click and circle to zoom in and see a more detailed breakdown of sub-functions. Best viewed on a laptop.


Public sector expenditureSocial protectionHealthGeneral public servicesEconomic affairsEducationDefencePublic order and safetyHousing and community amenitiesRecreation, culture and religionEnvironment protectionOld ageSickness and disabilitySocial exclusion n.e.c. (8)Family and childrenHousingSocial protection n.e.c.SurvivorsUnemploymentMedical servicesCentral and other health servicesMedical researchPublic debt transactionsExecutive and legislative organs, financial and fiscal affairs, external affairsForeign economic aidGeneral public services n.e.c.General servicesR&D general public servicesTransportFuel and energyGeneral economic, commercial and labour affairsAgriculture, forestry, fishing and huntingR&D economic affairsEconomic affairs n.e.c.Mining, manufacturing and constructionCommunicationOther industriesPre-primary and primary educationSecondary educationSubsidiary services to educationTertiary educationR&D educationEducation n.e.c.Education not definable by levelPost-secondary non-tertiary educationMilitary defenceForeign military aidR&D defenceDefence n.e.c.Civil defencePolice servicesLaw courtsPrisonsFire-protection servicesPublic order and safety n.e.c.R&D public order and safetyHousing developmentCommunity developmentWater supplyStreet lightingHousing and community amenities n.e.c.R&D housing and community amenitiesBroadcasting and publishing servicesCultural servicesRecreational and sporting servicesRecreation, culture and religion n.e.c.Religious and other community servicesR&D recreation, culture and religionWaste managementEnvironment protection n.e.c.Protection of biodiversity and landscapePollution abatementR&D environment protectionPensionsPersonal social servicesIncapacity, disability and injury benefitsPersonal social servicesFamily benefits, income support, Universal Credit and tax creditsPersonal social servicesFamily benefits, income support and tax creditsPersonal social servicesRailwayNational roadsLocal roadsLocal public transportOther transportOther agriculture, food and fisheries policyMarket support under CAPForestryPrimary educationUnder fivesLocal authority housingOther social housing163,702318,772211,570163,702125,050105,53955,50743,93517,79014,01013,884137,27465,41957,13528,06016,55911,9651,3571,003199,8889,7381,944128,39824,4835,1293,5391,82233043,57842,94022,7676,6647,16274151734433833,76954,2655,1694,5522,9722,7921,27274850,3582,6182,2532156525,2858,0356,0883,3601,167111,4043,8741,12788449835,1234,4814,0031601479710,1832,423500433346123,80013,47352,00813,41155,9571,17814,63013,43025,9425,6605,4684,3442,1633,8372,64618129,2699,1682,236

Key Information

Data Source

The data used for this visualisation is sourced from the government's expenditure records for the fiscal year 2022-23: Gov.uk Public Expenditure 2023

Methodology

The visualisation is implemented using D3.js, a powerful JavaScript library for creating data-driven graphics. The hierarchical data structure is represented using a circle-packing layout, providing an intuitive and hierarchical view of the government spending across different categories and subcategories.


Value Proposition

Insights into Public Expenditure

This visualisation aims to provide insights into the allocation and distribution of public funds across various government sectors, fostering a better understanding of budgetary priorities.

Interactive Exploration

Enhanced with interactive features, users can click and zoom into specific spending categories, gaining detailed information on sub-functions and facilitating a more granular exploration of government expenditure.


Technologies Used

Languages

JavaScript

Libraries

D3.js - A JavaScript library for producing dynamic, interactive data visualisations in web browsers.

Skills Demonstrated

Data Visualisation, Hierarchical Layouts, Interactive User Interfaces, JavaScript Programming, Information Design.