Friday, September 20, 2024

Utilizing Plotly Specific Sunburst Charts to Discover Geological Information | by Andy McDonald | Jul, 2023

Must read


An Simple and Fast Technique to Perceive Your Geological Hierarchical Information with Python

Towards Data Science
Geological hierarchy represented on an interactive Plotly Specific Sunburst chart. Picture by the writer.

Information visualisation performs a significant position within the geoscience and information science domains. It could actually permit us to realize deeper insights into the subsurface, understanding geological constructions and hierarchical relationships. The subsurface is usually subdivided into totally different classes starting from probably the most in depth scope of geological time, resembling Eras, Intervals and Epochs, all the best way right down to lithological variations, resembling sandstone, limestone and shale.

When working with geological hierarchical information, the information may be visualised in a number of methods. This contains typical geological timescale charts and tables to interactive sunburst charts.

Sunburst charts can be utilized to current information in a singular means and are a good way to visualise hierarchical information resembling geological hierarchical information. They achieve this by utilizing multi-level concentric doughnut charts, which, relying on the device used, may be totally interactive and assist with drilling down from the very best to the bottom stage.

To display these charts, we are going to use Plotly Specific, a high-level information visualisation Python library, to take some information from a nicely on the Norwegian Continental Shelf and visualise the geological hierarchy, together with the lithological make-up of every formation. We may also see how you can put together the information from a nicely earlier than creating the chart.

To start, we are going to want two libraries: pandas for loading and manipulating our information and plotly_express for creating our visualisation.

import pandas as pd
import plotly_express as px

Subsequent, we are going to load our information from a CSV file. Particulars of the information used may be discovered on the backside of the article.

When you’ve got a LAS file as a substitute, you’ll be able to rapidly load the LAS file utilizing the LASIO library after which convert the information to a pandas dataframe.

df = pd.read_csv('Information/Xeek_Well_15-9-15.csv')



Supply hyperlink

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article