An interactive map of violence in Mexico
JavaScript CSS PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
css 2012 version Jan 7, 2014
gh-pages
images
js
maps
meta
.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