GeoJson map of Colombia
This interactive map of Colombia, built with D3.js and GeoJSON, color-codes each department according to the length of its English name. Hovering highlights regions with animated text effects, and clicking a department triggers a smooth zoom-in, while clicking elsewhere zooms back out. The visualization also adds a playful touch by randomly switching fonts whenever you hover over a different department. The map renders with SVG paths and includes subtle transitions for an engaging exploration of Colombian geography.
AI-generated descriptionGeo Json map of Colombia
Based on the Map of Thailand by Master Krist Wongsuphasawat, a simple map of Colombia using GeoJSON and D3.js
As in Krist example:
- Each province is color-coded by the length of its name in English.
- Hover each province to see text effects.
- New font is chosen randomly every time you change the province.
- Click on a province to zoom in. Click somewhere else to zoom out.
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
forked from <a href='http://bl.ocks.org/john-guerra/'>john-guerra</a>'s block: <a href='http://bl.ocks.org/john-guerra/43c7656821069d00dcbc'>GeoJson map of Colombia</a>