> For the complete documentation index, see [llms.txt](https://docs.lowcoder.cloud/lowcoder-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lowcoder.cloud/lowcoder-documentation/build-applications/app-editor/visual-components/dashboard-and-reporting/charts-and-graphs/tree-chart.md).

# Tree Chart

#### 🌳 Tree Chart – Unfold Hierarchies, One Branch at a Time

The **Tree Chart** component in **Lowcoder** is a powerful visualization tool for displaying **hierarchical structures** in a clear, branching format. Whether you're mapping relationships, categories, or structures, this chart turns nested data into an interactive, expandable tree — from root to leaf.

#### 🧭 Ideal For:

* **Organisational structures** (CEO → Managers → Teams)
* **Folder/file systems**
* **Family trees or genealogies**
* **Taxonomies or classification models**

#### 🧩 Sample Data Structure

Tree Charts use a nested object format, where each node can contain child nodes:

```json
{
  "name": "Company",
  "children": [
    {
      "name": "Engineering",
      "children": [
        { "name": "Frontend" },
        { "name": "Backend" }
      ]
    },
    {
      "name": "Sales"
    }
  ]
}
```

Each node can have additional metadata, labels, or styles attached.

#### ⚙️ Key Configuration Options

* **Chart Type:** Drag “Tree Chart” from the components section onto Editor's View
* **Orientation:** Display the tree **vertically**, **horizontally**, or **radially**
* **Collapsibility:** Expand or collapse branches for better focus
* **Node Labels & Tooltips:** Show contextual information on hover

#### 🎨 Custom Styling

* Customize **node shapes, sizes, and colors**
* Style **edges** between nodes (curved, straight, dashed)
* Control **animation** and transition effects
* Use **ECharts JSON editor** for fine-grained control (e.g., node alignment, depth spacing)

### Component Playground

{% embed url="<https://app.lowcoder.cloud/playground/treeChart/1>" %}

### Component Auto-Docs

{% embed url="<https://app.lowcoder.cloud/components/treeChart>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.lowcoder.cloud/lowcoder-documentation/build-applications/app-editor/visual-components/dashboard-and-reporting/charts-and-graphs/tree-chart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
