##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.
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.
Python 2.7+
MongoDB
Tested on Linux, Windows
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
python run.py
- Implement a celery-based task runner to schedule statistic updates