Sitemap
Data Science Collective

Advice, insights, and ideas from the Medium data science community

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

6 min readApr 30, 2025

--

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.

Data Science Collective
Data Science Collective

Published in Data Science Collective

Advice, insights, and ideas from the Medium data science community

John Loewen, PhD
John Loewen, PhD

Written by John Loewen, PhD

30x Boosted writer || 25 years Comp Sci prof || Writes about Data Science (Python/AI/dataviz) || More on my Substack:

Responses (2)