#!/usr/bin/env python # coding: utf-8 # ## Read data from a GeoJSON file # # This example illustrates how to read data from a GeoJSON file using GeoPandas. # In[1]: from geopandas import read_file gdf = read_file('https://libs.cartocdn.com/cartoframes/samples/starbucks_brooklyn_geocoded.geojson') gdf.head() # In[2]: from cartoframes.viz import Layer Layer(gdf)