Portfolio

Data Science Coursework 2024

Task 1: Hosting - Display Charts in Your Own Site

The first chart demonstrates GDP per capita for 6 countries using a simple bar chart.

The second chart shows real GDP per capita for the same 6 countries as chart 1, but using a line graph to show the changes in GDP per capita over time from 1990 to 2022.

Task 2: Building - Create Visualisations

This line graph made using the Economics Observatory Data Hub shows real GDP in Great Britain uses data from the Economics Observatory API.

This line graph made using the Economics Observatory Data Hub depicting nuclear power output in Germany uses data from the Economics Observatory API.

Task 3: Debating - Use a Visualisation in Economic or Policy Commentary

According to Adrian Pabst, the Labour government faces a bleak economic situation partially due to low productivity; he also claims government investment has been lacking.

Indeed, productivity growth has slowed in the UK, particularly since the 2008 Financial Crisis.

However, UK government investment has been similar to G7 governments 1996-2022.

Task 4: Replication - Re-create and Improve a Chart

Daily Mail Stamp Duty Chart

A Daily Mail chart.

My recreation of the Daily Mail chart.

Improved chart: I removed the background image and on-chart text, thinned the line and removed its shadow (to increase data-ink ratio) and made the subtitle more informative.

Task 5: Scraper - Implement a data scraper of your own

I used data on the Gender Inequality Index from Wikipedia, which I scraped in Google Colab. Wikipedia has structured and up-to-date data in a simple and consistent format ideal for parsing and extraction; the Creative Commons license allows legal data usage.

Task 6: Loops - Build a Dashboard

I downloaded ONS unemployment data using a Python loop in Google Colab, to make 9 charts showing unemployment in all regions in England.

Task 7: Maps - Base Maps and Choropleths

This is a map of Germany's Federal States with tooltip encoding.

This choropleth map shows Germany's net migration data by federal state, allowing users to toggle between total migration, German nationals' migration, and foreign nationals' migration.

Task 8: Analytics charts

This 2D histogram heatmap shows the relationship between the Gender Inequality Index and GDP Per Capita, darker cells indicate more countries in corresponding ranges. Data cleaned in Google Colab.

This bubble chart compares unpaid work time (minutes/day) for males and females in OECD countries, highlighting GDP per capita via bubble size. Data cleaned in Google Colab.

Task 9: Big Data - Extracting a Story from Millions of Prices

Using Google Colab, I scraped UK price data to analyse the value of care and domestic work. The map illustrates regional nursery fee variations (2001–2024), demonstrating changes in valuation of childcare.

This line chart shows increasing wages for 3 care-related occupations, with care assistants’ high wages suggesting higher valuation.

Task 10: Interactive Visualisations (Option 2)

This time use stacked area chart has an interactive legend. ONS Time Use Data scraped from a PDF in Google Colab.

This map has an interactive select box to choose gender gap, male, female. The title adjusts to the input, and the gender gap map has a different colour scheme to highlight it is the difference between female and male. World Bank data cleaned in Google Colab.