Skip to content
Graph Craft

Tree Diagram

FacebookX
Example: Company structure with 9 nodes across 3 levels (made-up data)Apache ECharts

Variant: Standard

Made-up data, for demonstration only

Variants

4 types · click one to see it in the frame above
Difference from standard
The recommended type; use it as a starting point
Use when
Show a branching structure or categories

Tree Diagram is a chart that shows a hierarchy as nodes and branches, starting at a root node and splitting down to the leaves. This example is a company structure of 9 nodes (made-up data): 1 managing director, 3 divisions and 5 teams, drawn from left to right.

How to read a Tree Diagram

  • The root is at the far left. Here the "Managing director" is the node with no parent. This example has one root node.
  • The connecting lines are branches, and the ends are leaves. The leaves here are the 5 teams (Design, Development, Direct sales, Partners, Call center).
  • Nodes at the same level are siblings. The Design team and the Development team sit under the same Product division.
  • There is only one route along the branches from the root to a leaf. In a tree there is a single path from one point to another.
  • Count the levels. This example is 3 levels deep. The shallower it is, the easier to read.
  • Try highlighting a single path. The "Highlight one path" variant traces the route from the root to the team of interest.

When to use it

  • The data is a hierarchy where each item has one parent. A tree structure shows the hierarchical character of a structure.
  • You show nested classification, such as the sections of a website, a taxonomy or a family.
  • You want the parent-child relationship to be clear more than the size of each part.

When not to use it

  • Items have several parents, such as an employee who reports to two people. Use a Network Graph.
  • You want to compare the size of each part. Use a Treemap or a Sunburst Chart.
  • The data has hundreds of nodes. The picture gets too crowded to read. Cut it down to show only some levels.
  • It is an organisation structure that needs job titles. Use an Org Chart.

Common mistakes

1. Drawing branches that cross

Crossing lines make the branches hard to follow. Rearrange the nodes to reduce crossings.

2. Ordering siblings with no system

Sort them by size or alphabetically so readers can find a node.

3. Going too deep

When labels and branches get crowded, collapse branches or split the diagram.

4. Not saying what a branch means

Is "under" a reporting line or "part of"? State clearly what the line stands for.

5. Using many colours with no meaning

Use colour when it conveys a level or a group. Try the "Color by level" variant.

Compared with similar charts

ChartHow it differsChoose it when
Tree DiagramNodes and branches that show a hierarchyA single-parent structure
Org ChartA tree for an organisation, with job titlesA company structure
TreemapArea reflects sizeComparing the size of sub-parts
DendrogramBranch height stands for distanceThe result of clustering

Frequently asked questions

What terms does a tree diagram use?

Each element is a node, each connecting line is a branch, and a node with no children is a leaf. The relationships use family terms such as parent and child.

Is a tree diagram different from an org chart?

An org chart is a kind of tree in which the nodes are positions or units.

Should it be vertical or horizontal?

Either. This example is horizontal so that long names can be read.

References

  • Tree structure · Wikipedia · en.wikipedia.orgUsed to confirm: the definition and basics of the tree structure
  • Circular packing · Data to Viz · www.data-to-viz.comUsed to confirm: how to read circular packing and what to watch for

Last updated 28 Nov 2026