Skip to main content
100%

Application | CartoDB

✓ Published0🌍 Public
Aandrewxhill
Last edited Dec 8, 2015
Created on Jul 24, 2014

This example shows how to add download buttons to a CartoDB map, allowing users to export the underlying dataset in CSV, GeoJSON, or Shapefile formats. The map itself displays earthquake data (all_week) and is rendered using the CartoDB.js library via cartodb.createVis(). Below the map, three styled buttons link to the CartoDB SQL API, querying the same dataset with different format parameters so visitors can easily download the raw data. The page demonstrates a clean pattern for combining an embedded interactive map with simple data export functionality.

AI-generated description

This code shows you how to include dataset download buttons for a map built with CartoDB.js

Similar vizzes