A Visual Analysis of UK Number 1s

Excerpt from 'A Visual Analysis of UK Number 1s'
Spotify produces quantitative data for every song in their library on characteristics such as ‘danceability’, ‘valence’ and ‘energy’.
To give it contextualise this data, this project presents an analysis of songs which have reached number 1 in the UK charts. These are compared on attributes such as when they were number one or how long they were number 1 for.
The findings of this analysis are presented online, with interactive data visualisations created with JavaScript. An element of personalisation is added to the website by encouraging users to log in with their Spotify account to see how their favourite songs compare with those that have reached number 1.

The data was gathered using custom python and node scripts, it was then analysed using R.
The website was built with JavaScript, Scrollama, D3, the Spotify Web API library as well as Webpack and Gulp.
Unit tests were written for the site using Mocha and Chai, and further tests were conducted using Ruby & Cucumber.
Visit the Site

Related Work

  • BBC 'What has Trump said about your country?'
  • BBC 'World Leaders'

Visit my blog to see the latest things I'm up to!