Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An interactive map of violence in Mexico

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 build
Octocat-spinner-32 css
Octocat-spinner-32 gh-pages
Octocat-spinner-32 images
Octocat-spinner-32 js
Octocat-spinner-32 maps
Octocat-spinner-32 meta
Octocat-spinner-32 .gitignore
Octocat-spinner-32 TODO.org
Octocat-spinner-32 makefile
Octocat-spinner-32 readme.md
Octocat-spinner-32 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

Something went wrong with that request. Please try again.