---
updatedAt: 2026-02-12T12:05:00.000Z
---

# Example Notebooks

This page showcases a set of sample Jupyter notebooks that illustrate how to use Studio APIs.
These notebooks are designed to be copied, forked and reused, and are being made available as follows:

| Service                                                                                                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/tree/master/python-notebooks) | All sample notebooks are provided in open source form under the MIT license on [GitHub](https://github.com/foursquare/fsq-studio-sdk-examples/tree/master/python-notebooks).                                                                                                                                                                                                                  |
| [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/)                   | All sample notebooks on this page can be run directly in your browser via the [Binder](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/) service. <i>(Note: It can take take a minute for the Jupyter environment on Binder to start a notebook, however once a notebook is loaded you can fully interact with it in the browser.)</i> |
| [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/assets/colab-badge.svg)                                              | All sample notebooks on this page (except Plotly Cross-filtering) can be run directly in your browser via [Google Colab](https://colab.research.google.com/assets/colab-badge.svg).                                                                                                                                                                                                           |

# Map SDK Samples

A number of sample notebooks that show how to work with Studio maps using the Map SDK:

| **Notebook**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | **Preview** <div style="width: 400px;" />              |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| <h3>Introduction</h3> Create Studio map, add a dataset, and set the map view. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/01%20-%20Introduction.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/01%20-%20Introduction.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/01%20-%20Introduction.ipynb)        | ![](https://files.readme.io/81c3385-intro.jpg)         |
| <h3>Local Maps</h3> Use local Studio maps to visualize Dataframes, GeoJSON, and CSV. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/02%20-%20Local%20maps.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/02%20-%20Local%20maps.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/02%20-%20Local%20maps.ipynb) | ![](https://files.readme.io/f76f52f-local-maps.jpg)    |
| <h3>Layers</h3> Add and control map layers. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/03%20-%20Layers.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/03%20-%20Layers.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/03%20-%20Layers.ipynb)                                                            | ![](https://files.readme.io/554847f-layers.jpg)        |
| <h3>Filters</h3> Control filters and listen to filter change events. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/04%20-%20Filters.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/04%20-%20Filters.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/04%20-%20Filters.ipynb)                                | ![](https://files.readme.io/55c8cdd-filters.jpg)       |
| <h3>Timeline</h3> Control map filters and listen to filter change events. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/05%20-%20Timeline.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/05%20-%20Timeline.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/05%20-%20Timeline.ipynb)                        | ![](https://files.readme.io/1b90b34-timeline.jpg)      |
| <h3>Event Handling</h3> Interactivity, click and hover events. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/07%20-%20Eventhandling.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/07%20-%20Eventhandling.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/07%20-%20Eventhandling.ipynb)                    | ![](https://files.readme.io/1f8471e-eventhandling.jpg) |

<br/>
<br/>

### Integration Notebooks

The sample notebooks in this section illustrate how to integrate the Map SDK with other notebook packages and workflows. <br/>

| **Notebook**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | **Preview** <div style="width: 400px;" />                   |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| <h3>Plotly Cross-filtering</h3> Synchronize Studio map filters with [`plotly`](https://plotly.com/python/) charts. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/06%20-%20Crossfilter.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/06%20-%20Crossfilter.ipynb)                                                                                                                                                                                                                                                  | ![](https://files.readme.io/462ae3a-cross-filter.jpg)       |
| <h3>TensorFlow Prediction</h3> Visual prediction analysis using TensorFlow. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/08%20-%20Tensorflow_prediction.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/08%20-%20Tensorflow_prediction.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/08%20-%20Tensorflow_prediction.ipynb)                                                 | ![](https://files.readme.io/132e26e-tensorflow.jpg)         |
| <h3>PyTorch Prediction</h3> Bike share trip duration prediction using PyTorch. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/11%20-%20Pytorch%20Trip%20Duration.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/11%20-%20Pytorch%20Trip%20Duration.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/11%20-%20Pytorch%20Trip%20Duration.ipynb)                                  | ![](https://files.readme.io/d03ac23-pytorch.png)            |
| <h3>Kuwala Correlation</h3>Correlating against [Kuwala](https://kuwala.io/) data feeds. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/10%20-%20Kuwala%20Popularity%20Correlation.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/10%20-%20Kuwala%20Popularity%20Correlation.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/10%20-%20Kuwala%20Popularity%20Correlation.ipynb) | ![](https://files.readme.io/5004bba-kuwala-correlation.png) |

# Use Case-focused Notebooks

The sample notebooks in this section illustrate how to use the Map SDK for analytics targeting specific use cases. <br/>

| **Notebook**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | **Preview** <div style="width: 400px;" />           |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| <h3>Suitability Analysis</h3> Site Selection / New Venue Location. <br/> <br/> [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/foursquare/fsq-studio-sdk-examples/master?urlpath=lab/tree/python-notebooks/09%20-%20Suitability_Analysis.ipynb) [![Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/09%20-%20Suitability_Analysis.ipynb) [![GitHub](https://img.shields.io/badge/code-GitHub-%232d333b?style=flat\&logo=github)](https://github.com/foursquare/fsq-studio-sdk-examples/blob/master/python-notebooks/09%20-%20Suitability_Analysis.ipynb) | ![](https://files.readme.io/c31735b-tensorflow.jpg) |