This is an interactive Map of the Colombian Municipality, made with TopoJSON and D3.
Inspired by the Mexican municipalities map, it shows the Administrative division of Colombia.
Colombia is a unitary republic conformed by thirty-two departments and a Capital District. Departments are formed by a grouping of municipalities. [Administrative divisions of Colombia](Administrative divisions of Colombia)
It uses TopoJSON to diferentiate the Departments boundaries through the function topojson.mesh and a special filter.
To obtain the TopoJSON, first I converted the .shp file of the Municipality divition of Colombia by Maurix Suárez to GeoJSON, using:
ogr2ogr -f GeoJSON -t_srs EPSG:4326 Colombia.geo.json depto.shp
and then, through mapshaper I obtained the topoJSON file with the corresponding attributes.
Enjoy it :)