Data Storytelling: Using Python Notebooks in Story Maps

2615
1
08-26-2016 02:02 PM
GregoryBrunner
Esri Contributor
6 1 2,615

Did you know that you can bring a Python Notebook into a Story Map?

One of the many nice features of Python Notebooks is that you can export them. 

Exporting a Python Notebook

To embed it into my Story Map, I exported it as HTML. Once I downloaded the HTML file, I hosted it as a webpage in my Github project through gh-pages. Then, it just becomes a matter of adding the HTML to the Story Map.

The exported notebook actually tags the different sections.

Notebook TagsHere, I've highlighted the tag that corresponds to a certain section in my notebook.

What I think is really cool is that that you can drive to the difference sections in the Notebook through the Story Map using these section tags. Here is how I used my Python Notebook inside of the Story Map:

I used the Story Map Journal and thought it was really cool that I could connect different sections of the Story Map to different sections in the Python Notebook.

Just wanted to share this data storytelling tip with any Pythonistas out there who love Story Maps!

1 Comment