Subsurface Syntax

Subsurface Syntax

Creating Geospatial Heatmaps With Python’s Plotly and Folium Libraries

Two Great Python Options for Visualising Geospatial Variation

Andy McDonald's avatar
Andy McDonald
Mar 17, 2023
∙ Paid

Two Great Python Options for Visualising Geospatial Variation

Photo by KOBU Agency on Unsplash

Heatmaps, also known as Density Maps, are data visualizations that display the spatial distribution of a variable across a geographic area. They can be great tools for visualising and identifying trends, supporting decision-making, detecting outliers, and creating compelling visualisations for presentations.

There are several mapping python libraries available, however, two very popular and easy to use libraries are Folium and Plotly Express.

Folium is a great library that makes it easy to visualise geospatial data. It is powered by Leaflet.js, which is a leading javascript mapping library and is platform-independent. Plotly is a popular library for creating powerful interactive data visualisations with very few lines of code and can be used to create interactive maps with MapBox.

Within this article, we will see how we can use these two libraries to visualise acoustic compressional slowness data…

Keep reading with a 7-day free trial

Subscribe to Subsurface Syntax to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2026 Andy McDonald · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture