Tagged: media

Discovering and visualizing songs with similar trends on the British Top 40 Charts from 1990 to 2014

Share Button

I often wondered what is an average lifetime of a pop song on the charts. If one follows music, it becomes intuitively apparent that there are in fact several types of hits. Some stay on the charts for many weeks, and others barely make it, then immediately slip out.

So I set about discovering groups of songs with similar trends, as they moved on weekly British Top 40 Chart from 1990 to 2014. A total of 1284 different songs appeared on the charts in that period. After a series of experiments, 100 groups were arbitrarily decided on. Position data for each song was collected across the weeks, then the songs were grouped using k-means clustering.

The result is part interactive, part static visualization, consisting of an exploratory chart and 100 small charts showing each separate group.

Check it out here! Or click the image below.Song trends over time in a typical group

Song trends over time in a typical group


To group the songs, the data was first scraped from www.officialcharts.com, then arranged in format suitable for k-means clustering. The visualization was constructed with d3.

And here are some of the small multiples.

Some of the 100 different groups. Click image for more.
Some of the 100 different groups. Click image for more.

Media & Awards

Share Button


Malofiej24, Miguel Urabayen” Award for best map in print The Spider’s Net in Dnevnik newspaper (in collaboration with Aljaž Vindiš).

Memefest, friendly competition: “Food Democracy” – award for visual practice for foodstuffs according to their democratic value.

Nearly missed:

Robots and Avatars, for Eternal Dancefloors project: http://www.robotsandavatars.net/events/call-for-proposals/pre-selected-projects/

Information is Beautiful 2016, Honourable Mention for Dnevnik / Objektivno (contributor)

Links and mentions in the mass media:

Dnevnik.si: Zanimiv grafični prikaz zvočnega onesnaženja zaradi cerkvenih zvonov v Ljubljani | Dnevnik

SiOL.net: Kakšnega okusa je demokracija?

CanadianBusiness: Hollywood movie data mining

Popular Science: This Guy Mapped His Heart Rate During ‘Game Of Thrones’ [Infographic] | Popular Science

Business Insider: http://www.businessinsider.com/heart-rate-during-game-of-thrones-infographic-2013-9

O’Reilly Strata: Visualization of the Week: Booze, tipple, imbibe, or whatever you’d like to call it – Strata

Wired MapLab: http://www.wired.com/wiredscience/2013/10/building-ages-map-gallery/#slideid-280491

The Atlantic’s CityLab: Mapping Manhattan’s Parking Tickets by Type of Car

MSN: Mapping Manhattan’s Parking Tickets by Type of Car

Večer: Kdo od poslancev sploh hodi v službo?

Slovenske novice: Kateri poslanec je bil najvztrajnejši pri gumbu “proti”?

Svet24: Razkrivamo, kdo med poslanci dela največ in kdo najmanj

Finance: Poslanci brez pravega nadzora. Kako so to naredili v Nemčiji?

Corruption visualized: Global Corruption Barometer 2013 on world map

Share Button

Interactive map of data from Global Corruption Barometer 2013 (Transparency report), showing corruption levels per country for political parties, educational sector, private companies, media, civil servants, judicial and medical institutions, military, NGOs, parliament, police and religious institutions.

Launch interactive map

Global Corruption Barometer 2013 on interactive world map
Global Corruption Barometer 2013 on interactive world map

Made with TileMill, data: Transparency International.

My heart rate during the latest episode of Game Of Thrones

Share Button

See also: My brainwaves while watching the final episode of Breaking Bad and other TV visualization, Number of faces per second in episodes of House of Cards.

I admit that I like Game Of Thrones. I like the story and the way the TV show is done. So when I read on Monday about the supposedly heartbreaking episode “Rains Of Castamere”, in which Robb Stark, his wife and his mother get killed along many others, I thought I’d test my affection by recording my pulse while watching, then plotting it to see how it correlated to the visual narration.
Here it is:


To do that, I used my old Arduino and PulseSensor to record pulse, then graphed the averages on a picture along with corresponding frames using Processing. There are some mistakes when the sensor grabbed double pulse when I jumped or moved, but it averaged decently.

If you saw the episode, you’ll probably relate.

Update: if anyone wants the code (Processing / Arduino) send me an email. My address is on About page.