Skip to content

🎶 Interactive viz of songs with playcount and listener statistics (D3 + Flask + Mongo)

Notifications You must be signed in to change notification settings

cdvel/dataviz-top-songs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Top Songs to Hear Before you Die

alt tag alt tag alt tag

##Overview

An interactive visualization of songs including playcount and listener statistics

###The data sources

The data sources for this visualization are The Guardian's top 1000 songs to hear before you die dataset for the track listing and the last.fm Open API for the play statistics. Play counts and listener statistics were retrieved programatically with code included in this project.

Technologies used

The frontend was built using dc.js (charting), crossfilter.js , d3.js, and others. The backend was built in Python, using the Flask microframework and MongoDB.

Requisites

Python 2.7+
MongoDB
Tested on Linux, Windows

Installation

A database dump is included in this project and can be imported with mongoimport:

mongoimport --db songstohear --collection guardiantop --type json --file topsongs.json --jsonArray

Python prequisites could be installed via pip with

pip install -r prerequisites

Running

python run.py

Todo

  • Implement a celery-based task runner to schedule statistic updates

About

🎶 Interactive viz of songs with playcount and listener statistics (D3 + Flask + Mongo)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages