Create small multiples through the Static Maps API
✓ Published0🌍 Public
Aandrewxhill
Last edited May 25, 2016
Created on May 25, 2016
This example shows how to create small multiples by generating multiple static map images from a CartoDB visualization, each filtered by a different SQL query. It begins with a basemap and one data layer of drought severity data, then produces a sequence of images that isolate individual drought categories. The code uses the CartoDB Static Maps API, fetching map configurations from a `viz.json` URL, building named maps with `requests`, and printing final static map URLs. CartoDB’s dark basemap template and the `usdm_september_2014` table are the visible data sources.
AI-generated description