Readme

To run our visualization, go to http://jueseph.com/musicmap/ in Firefox (NOT Internet Explorer, due to compatibility issues with Google Maps). The webpage can also be viewed locally by opening index.php in a web browser, but the Google Map will not be functional unless a new Google API key is obtained for the path from which the page is being accessed.

Interface

---------

The visualization is simple -- red and blue circles display cities that have classical music concerts sponsored by EMI and Deutsche Grammophon recording labels, respectively. The size of the circle (or the diameter, rather) corresponds to the number of concerts in each city. Clicking on a circle will display a box containing detailed information on the concerts at that location. The buttons to the top right will show/hide cities from either label. A search box at the bottom allows restricting the data shown by artist name.

Data

----

The tour dates were obtained from EMI classics and from Deutsche Grammophon on 5/8/2008. They are stored as xml files for the visualization to access.

Code

----

There are two sets of code files for this project: 1) Python scripts for scraping the Deutsche Grammophon and EMI classical music websites and converting the content into xml format. 2) PHP/XHTML and Javascript files that implement the visualization itself (with help from the Google Maps API). The files are as following:

Python scripts:
	DG_scraper_xml.py
	EMI_scraper_xml.py
XML data files (harvested by python scripts)
	DG.xml
	EMI.xml
Webpage files:
	index.php
	readme.php (this file)
	writeup.php
	header.php
	footer.php
Javascript files:
	map_functions.js
	index.php (contains driver code for google map)