# Data Lineage in Toucan

The data lineage feature in DataHub allows you to visualize relationships between datasources, datasets, homes, stories, and filter elements that fuel your applications/dashboards. This guide provides detailed information on how to access and interact with the data lineage UI.

#### Accessing Data Lineage

To access the data lineage view:

1. Click on the lineage logo in the header of the DataHub interface.

<figure><img src="/files/32RLE9eZTsMJqNX0FfmJ" alt="Capture screen that shows how to access to the data lineage icon from the DataHub Interface, the icon is located at the top right of the UI"><figcaption><p>data lineage access</p></figcaption></figure>

#### Default Display Elements

<figure><img src="/files/fj6UHvJtJZGVPpgZOphG" alt="Capture screen that shows the data lineage view after clicking on the data lineage icon" width="563"><figcaption><p>Data lineage view</p></figcaption></figure>

By default, the following elements are displayed:

* Datasources
* Datasets
* Files

#### Menu Bar Options

A menu bar is located at the bottom left of the screen to help you customize your view:

<figure><img src="/files/9HQF621mJhHj0ScRZnNL" alt="Capture screen that shows the menu bar with options to display /hide datasources, datasets, filters stories /home elements, center and zoom in/out" width="332"><figcaption><p>Menu bar</p></figcaption></figure>

* **Zoom In/Out:** Adjusts the size of the displayed elements.
* **Center:** Recenters the display.
* **Display/Hide:**
  * Datasources
  * Datasets
  * Filters
  * Stories and home elements

#### Mini map

A mini map is located at the bottom right of the screen to help you locate the elements displayed in the view

<figure><img src="/files/bZKDl3JhpKFje5N7ggFV" alt="Capture screen that shows the mini map that is displayed in the data lineage UI" width="312"><figcaption><p>Mini map</p></figcaption></figure>

#### Element Interaction

Clicking on an element opens a contextual menu with available actions:

**For datasources, homes, stories, and filters:**

* Access and copy the ID of the element.

<figure><img src="/files/7yscPnvw13ZN7JRFka3q" alt="Capture screen that shows the file menu bar"><figcaption><p>file menu bar</p></figcaption></figure>

**For datasets:**

* Preview: Displays a preview of the dataset.
* Edit (if applicable): Allows you to edit the dataset if it is editable.
* Access and copy the ID of the element.

<figure><img src="/files/GqY3L2uNRJAIgjTPx1qw" alt="Capture screen that shows how to edit a dataset from the data lineage UI" width="305"><figcaption><p>dataset menu bar</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-v3.toucantoco.com/data-management-in-datahub/data-lineage-in-toucan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
