Online GeoPandas Compiler

Use the GeoPandas library to load and visualize a map

You have unsaved changes
Python
import geopandas
from geodatasets import get_path

path_to_data = get_path("nybb")
gdf = geopandas.read_file(path_to_data)

gdf.explore("Shape_Area", legend=False)
Click Run or press shift + ENTER to run code.