Member-only story
Mapping Geospatial Data With Python
Dead Simple Stunning Earthquake Maps Using Streamlit And GeoPandas
Creating an interactive geo-spatial data visualization with Python
Streamlit makes it dead simple to build interactive, real-time data visualizations.
Pick a time window, filter data on the fly, and update maps instantly — even for geospatial datasets like earthquakes.
Let me show you how to create an interactive earthquake visualization application using Streamlit, GeoPandas, and Plotly.
The final application allows users to filter earthquakes based on a selected date range and visualize them on an interactive map.
Let’s get to it!
NOTE: Both the Python and data files are available on GitHub: .
The USGS Earthquake Dataset
The United States Geological Survey website is the best place to find global historical earthquake data. Their earthquake data catolog is
You can access their data in your Python code directly through the catolog API — but there are issues on Mac systems with this method.