Part of a whole

Rooted tree diagram

Shows parent-child relationships from a single root.

  • Diagram
  • Hierarchy
  • Structure

What it answers

What belongs under each parent?

Shape
Branches descending from one root
What it shows
Depth, branches and ancestry.

Example

The question

How is our product catalogue organised?

Product catalogue as a tree

Product catalogue as a treeA tree from the whole catalogue down: computing (laptops, monitors), mobile (phones, cases), audio (speakers, headphones).AllComputingMobileAudioLaptopsMonitorsPhonesCasesSpeakersHeadph.
Product catalogue as a treeA tree from the whole catalogue down: computing (laptops, monitors), mobile (phones, cases), audio (speakers, headphones).AllComputingMobileAudioLaptopsMonitorsPhonesCasesSpeakersHeadph.
A tree from the whole catalogue down: computing (laptops, monitors), mobile (phones, cases), audio (speakers, headphones).

Illustrative data. It belongs to no company.

When to use it

Use it when

A true acyclic hierarchy.

Avoid it when

Multiple parents forced into a strict tree without explanation.

How to read it

Follow parent-child links from root to leaves.

Note

A strict tree gives each non-root node one parent.

The data you need

Layout
Parent-child table
Fields
NodeID: text; ParentID: text/blank; Label: text; Value: number when size is encoded
One row is
One node in a parent-child hierarchy. What is the grain?
Rules
Node IDs must be unique. Parents must exist. Reject cycles. Define leaf-only versus inclusive parent values.
Optional
Alternative: Level1,Level2...,Value. Tree diagrams can omit Value.
Preparation
Validate unique node IDs, parent links, roots and absence of cycles. For size-encoded hierarchies, state whether totals are leaf-only or inclusive.
Units
Tree levels and branch position are structural. Size-encoded components use a named value unit; parent shares divide by the chosen parent total.
Example of the input layout: Parent-child tableA parent-child table: each row names its parent, which together form the tree.NodeParentTopATopBTopA1AA2ATopABA1A2
A parent-child table: each row names its parent, which together form the tree.

Worked example

Root has childrenA, B; A has childA1. A1 is a grandchild of Root and a child of A.

NodeIDParentIDLabelValue
rootAll100
arootA60
brootB40