An interactive map of violence in Mexico
JavaScript CSS PHP
Permalink
Failed to load latest commit information.
build google maps js has to be loaded first Jan 7, 2014
css
gh-pages directories for gh-pages Feb 6, 2012
images
js forgot to open production tag Jan 7, 2014
maps first commit Jan 17, 2012
meta 2011 homicides Jan 22, 2013
.gitignore
TODO.org
makefile
readme.md
shorten.php

readme.md

Interactive Map of the Mexican Drug War

To view the finished maps go to:

English = http://www.diegovalle.net/drug-war-map.html Spanish = http://www.diegovalle.net/mapa-guerra-narco.html

Getting Started:

  • change the location of your server (where you've placed shorten.php) for shortening links in the file shortner.js
  • modify shorten.php to include your free bit.ly api key and username
  • Modify the makefile to include the locations of Yahoo's YUI Compressor
  • Make sure you have node.js and have hogan installed ("npm install hogan.js")
  • make all or make debug will create the files in the gh-pages sub directory

The highways are stored in 3 fusion tables:

Made with Protovis, R, CartoDB, Fusion Tables, Color Brewer, hogan.js and Google Directions

Author: Diego Valle-Jones