I am following the example Country Level Choropleth in Python (https://plot.ly/python/county-level-choropleth/) on Florida, as I want to generate one by my own on another part of the world and I wanted to get familiar with geojson.
I am working with Python 2 in a Jupyter Notebook. I get everything to work except when I reach the line:
florida_data = ast.literal_eval(florida_data)
I get the following error and cannot continue:
File “”, line 1
^
SyntaxError: invalid syntax
Anybody would know how to avoid it?