Skip to main content
100%

Gist 4503902

✓ Published0🌍 Public
Aandrewxhill
Last edited Jan 10, 2013
Created on Jan 10, 2013

This map shows global cities categorized by type, with buttons to filter between all populated places, national capitals, and megacities. It overlays a second data layer that can be toggled via the same menu, though the code only reveals it on button click without a corresponding hide action. The visualization uses the CartoDB.js library to load tile layers and vector data from CartoDB’s viz.json API, with Leaflet handling the map interaction and tile display. Styling applies custom marker properties for red fill, white outlines, and overlap allowance, while CSS fades are disabled for smoother layer transitions.

AI-generated description

Similar vizzes