# Display Particle Size Distribution (PSD) as a bar chart

This guide explains how to display a **particle size distribution (PSD)** as a **depth‑oriented bar chart** in a GeoDin layout.

The process consists of **three main stages**:

1. Recording sample data
2. Entering particle size distribution data
3. Visualizing the data as a stacked bar chart in a layout

Each stage is required to achieve a correct and depth‑oriented visualization.

### 1. Recording the Sample Data

Before creating any visualization, the **sample data for the particle size analysis** must be entered into GeoDin.

* Open the **Data management** method.
* Create a new sample entry.
* Define:
  * **Depth interval** of the sample

This step ensures that the particle size data can later be linked correctly to depth.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FwttX8ipxHuZ7TpQCMOJj%2Fimage.png?alt=media&#x26;token=972aa159-3688-408a-8802-ec753fa7bc1e" alt=""><figcaption></figcaption></figure>

### 2. Recording the Particle Size Distribution

Once the sample data exists, the **particle size distribution values** must be entered.

* Open the **Measurement data** method.
* Select the measuring point type **samples (geot. borehole)**.
* Navigate to the data type **(G1) PSD.**
* Enter the particle size analysis values for the sample.

At this stage, GeoDin stores the PSD values that will later be visualized in the layout.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FLnIEzZZRvalDhSb9eANq%2Fimage.png?alt=media&#x26;token=4378c1ab-a6f8-4d7f-9831-f20656afae75" alt=""><figcaption></figcaption></figure>

### 3. Depth‑Oriented Visualization in the Layout

To display the particle size distribution as a **bar chart aligned to depth**, a specific layout element is required.

#### 3.1 Creating Series for Particle Size Components

* Open the **Graphic printing and editing** option from the **Methods** column.
* Create an object frame within the new layout as mentioned [here](https://docs.geodin.com/navigating-the-geodin-workspace/user-interface) in Section 3 by selecting **Layout Overview** icon.
* Drag the **Data sequence** element into the object frame (blue box shown in the picture below) of your GeoDin layout using the corresponding tool.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2Fgwuc1JDFyUfaz92y4lM3%2Fimage.png?alt=media&#x26;token=ddfe8275-ffa8-4e8b-ac8e-93af24ab2b1e" alt=""><figcaption></figcaption></figure>

* Create a new series for each particle size component using the **plus (+) button**.

{% hint style="info" %}
Each **series** represents **one component** of the particle size distribution.
{% endhint %}

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2Fx2x27GXaM3g8DzhBgYEz%2Fimage.png?alt=media&#x26;token=680db7e4-899a-49c3-b438-c9361aed251f" alt=""><figcaption></figcaption></figure>

* Select the particle size component for each series under **Parameter.**

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2Fv32ZIY2ekjPMYJ2NimDf%2Fimage.png?alt=media&#x26;token=8c9299e4-8229-4d6d-bd2c-f2388da5bac3" alt=""><figcaption></figcaption></figure>

* Then define the depth interval (start and end depth / recovery) of your sample.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FZqBPzfXXiFfdeDzEHzUV%2Fimage.png?alt=media&#x26;token=fc07b390-fa4f-490f-866a-5104dde7ad20" alt=""><figcaption></figcaption></figure>

#### 3.2 Defining Fill Patterns and Colors

To visually distinguish the particle size components, configure the fill pattern and color.

1. Navigate to the corresponding series (e.g. `PSD:CLAY`).
2. Open the **Fill pattern** branch.
3. Select:
   * **Vector** option
   * Appropriate fill pattern (e.g. clay fill pattern according to **GEOT1ENG**).
4. Switch to the **Colour / Transparency** branch.
5. Select:
   * Desired color, or
   * Default color of the selected fill pattern.

This ensures standardized and clear visual representation.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FSwZ1cS65NXnyGAhJ7ylg%2Fimage.png?alt=media&#x26;token=45a9e5f8-e634-4056-afb2-86d8d9906002" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FAjCOHtdwUGJNWCoGhVUY%2Fimage.png?alt=media&#x26;token=24b4407d-2633-488c-bade-a294a1bc7845" alt=""><figcaption></figcaption></figure>

#### 3.3 Configuring the Parameter Axis

Because particle size distributions always total **100%**, the axis must be configured accordingly.

**Steps**

* Navigate to the **Axis range** branch.
* Activate **user‑defined display** of the parameter axis.
* Set the axis interval to:
  * **0 to 100**

{% hint style="danger" %}
This step is essential for correct proportional representation.
{% endhint %}

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FXPYECXATGX4ESZsWPzVW%2Fimage.png?alt=media&#x26;token=20153725-d25f-4435-bcd2-35ca95b10026" alt=""><figcaption></figcaption></figure>

#### 3.4 Stacking and Normalizing the Series

To create a proper stacked bar chart:

**Steps**

* Navigate to the **Series** branch.
* Select diagram type **Stack series**.
* Activate the option **Recalculate to 100%**.

This ensures all components together form a complete particle size distribution.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FVgpYVIdAgbrQ6NDucFho%2Fimage.png?alt=media&#x26;token=267af584-95d9-4512-8b81-0bc0f80cd203" alt=""><figcaption></figcaption></figure>

#### 3.5 Adjusting Series Order and Heading

**Series Order**

* Open the **Series definitions** branch.
* Use the **blue arrows** to change the order.
* The **lowest entry** in the list is displayed on the **left-hand side** of the bar chart.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2F0AAB48Hw0Vx1tjO7LQNm%2Fimage.png?alt=media&#x26;token=71f5ea15-1595-4bed-9562-d741131fdf02" alt=""><figcaption></figcaption></figure>

**Diagram Heading**

* The diagram heading is defined by the **first series**.
* You can assign a **custom heading** that differs from the parameter name.

This allows better control over layout readability and labeling.

<figure><img src="https://3138966068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOh9veY55xgALNVUW8siX%2Fuploads%2FRotE88BArEC5DUDgdhWH%2Fimage.png?alt=media&#x26;token=4abf197a-1ab3-4b29-804b-d9aac8ede071" alt=""><figcaption></figcaption></figure>

### Result

The final result is a **depth‑oriented stacked bar chart** that clearly displays the **particle size distribution** for each sample across depth.

This visualization supports:

* Clear interpretation of soil composition
* Standardized reporting
* Depth‑related geotechnical analysis
*

```
<figure><img src="../.gitbook/assets/image (86).png" alt=""><figcaption></figcaption></figure>
```
