Scientific Visualisations with Python

What is Visualisation?

• Visualization is the process of representing information, data, or abstract concepts in a visual form to make them easier to understand, explore, and interpret.

• Visual representations allow us to recognize patterns, compare values, identify relationships, and communicate information more effectively than numerical data alone.

What is Scientific Visualisation?

Scientific Visualisation is a specialized subset of visualization focused on the visual representation of scientific data. Today, visualization primarily involves creating digital images.

We really don’t care how we get the picture in visualization – what picture we get is most important!

A Brief History of Visualization

• Anatomical drawings were used to document the structure of the human body and communicate observations that could not be adequately described with words alone.

Leonardo da Vinci — anatomical drawings (Late 15th–early 16th century)

• Halley's chart used lines connecting locations with equal magnetic declination. It demonstrated how invisible physical phenomena could be represented spatially and used for navigation.

Edmond Halley — magnetic variation maps (1701)

• Faraday used visual representations of magnetic effects and field lines to develop and communicate ideas about invisible physical forces.

Michael Faraday — magnetic field visualization (19th century)

• By plotting cholera deaths on a map of London's Soho district, Snow identified a spatial concentration of cases around the Broad Street water pump. This is a classic example of visualization supporting scientific investigation.

John Snow — cholera map (1854)

The Goals of Visualization

Scientific visualization serves three main purposes: exploration, analysis, and communication.

Exploration — What is happening in the data?

Exploratory visualization helps us discover patterns, trends, relationships, and unexpected observations. It is often used at the beginning of a research project, when we do not yet know what the data can reveal.

Analysis — What can we conclude from the data?

Analytical visualization supports a more detailed investigation of scientific data. It helps us examine relationships, compare results, evaluate hypotheses, and interpret the outcomes of statistical analyses or numerical simulations.

Communication — How can we explain our findings to others?

Presentational visualization focuses on communicating results clearly and effectively. The goal is to highlight the most relevant information and make the findings understandable to the intended audience.

These purposes are closely related. A visualization created to explore data may later be refined to support an analysis or communicate the final results.

Typical student life :)

Choosing the Right Visualization

What do we want to learn from the data?

• Relationship: Are two variables related? Scatter plots help us investigate relationships and possible correlations between variables.

• Spatial patterns: Where do high and low values occur? Heatmaps reveal spatial distributions, clusters, and regions with unusually high or low values.

• Change over time: How does a quantity evolve? Line plots reveal trends, fluctuations, and changes in measured quantities over time.

• Distributions: How do datasets or groups differ? Box plots summarize distributions and help compare medians, variability, and potential outliers.

Examples of Scientific Visualization

• Fluid Dynamics (PyVista)

• Geographic data (Folium)

• Volumetric rendering (voxels) using vedo

• Isosufrace (PyVista)

• Geoscience (PyVista)