Skip to content

Instantly share code, notes, and snippets.

@jupaneira
Last active July 23, 2016 20:54
Show Gist options
  • Save jupaneira/6c2fe7bf0dd068bae5f1d58579550302 to your computer and use it in GitHub Desktop.
Save jupaneira/6c2fe7bf0dd068bae5f1d58579550302 to your computer and use it in GitHub Desktop.
Departments of Colombia

This is my first Map generated with GeoJSON and D3.js. The first of many upcomming maps that try to explain some facts of Colombia through the Data Storytelling.

In this map, each department has a color and when you pass the mouse over, the department is highlighted and his name is displayed.

This is inspired on the GeoJson map of Colombia by John Guerra. As he did:

I obtained the Colombian GeoJSON by transforming the Colombian shapefiles by Maurix Suárez, using:

ogr2ogr   -f GeoJSON -t_srs EPSG:4326  Colombia.geo.json   depto.shp
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment