Subsurface Syntax

Subsurface Syntax

Create Stunning Radar Plots with Matplotlib

Visualising geological data using Python’s most popular data visualisation library

Andy McDonald's avatar
Andy McDonald
Apr 19, 2023
∙ Paid

Visualising geological data using Python’s most popular data visualisation library

Matplotlib radar plot with cyberpunk theming. Image by the author.

Radar plots (also known as spider plots or radar charts) are a popular data visualisation tool that allows us to compare datasets by displaying multiple variables simultaneously on a 2-dimensional plot.

Each variable is represented by a spoke extending from the plot's centre to the edge, and the magnitude of that variable is represented by how far along the spoke it is. Lines are then drawn between each of the variables to form a web-like shape.

Within geoscience and petrophysics, we can use radar plots to compare how lithologies vary between wells or display mineralogy variations between rock samples.

Within this tutorial, I will illustrate how we can create a radar plot using some synthetic lithology data. The data represents the average lithologies encountered within a well.

Let’s get started!

Importing Libraries & Data

To get started, we wil…

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