I am trying to display the following geojson file in a folium map in Python but it just shows an empty map with none of the data.
Here are the steps I have tried:
That file is not a GeoJson it is a TopoJson. You need to use folium.TopoJson instead.
folium.TopoJson
import folium m = folium.Map(location=[40.66393072,-73.93827499], zoom_start=13) folium.TopoJson( open('census_tracts_2010.geojson'), object_path='objects.nyct2010', ).add_to(m) m