Skip to content
Graph Craft

Decision Tree Diagram

FacebookX
Example: Rule-based screening of loan cases (made-up data)React Flow

Scroll the chart sideways to see all of it

Made-up data, for demonstration only

Decision Tree is a tree-shaped diagram that asks one condition at a time and splits into branches by the answer until it reaches an outcome. The example is a screening rule for loan cases (made-up data) with 3 questions and 4 outcomes: is the amount over 50,000, is the customer new, and is there a record of late payment.

How to read a Decision Tree

  • Start at the top question. Here "Amount over 50,000?" comes first.
  • Answer, then follow the branch. Each diamond is a question, and the branches leaving it are the answers, yes or no.
  • The ends of the branches are outcomes. This example has 4: approve automatically, check more documents, send to a manager, and approve with a limited credit line.
  • Read a path as a rule. Amount over 50,000 and a record of late payment gives "Send to manager" (the orange path).
  • Every case must land on exactly one outcome. The branches of each question must cover every answer without overlapping.
  • Count the depth. In this example each case is settled after only 2 questions. The shallower the tree, the easier it is to explain.

When to use it

  • Screening or sorting cases by rules you can explain. A decision tree is easy to understand and interpret, and people grasp it after a short explanation.
  • Agreeing rules with the people involved before they are written into a system.
  • Deciding under uncertainty. A decision tree shows the decisions and what follows from them, including chance events, costs and utility.

When not to use it

  • The rules are complex with many exceptions. The tree swells until it cannot be read. Use a rule table.
  • You need to show steps that loop back. Use a Flowchart.
  • You need to calculate probabilities. Use a Probability Tree.
  • The data change so often that the rules must change. A tree built from data is unstable: a small change in the data can change the structure a lot.

Common mistakes

1. Exits that overlap

Check that each case can take only one path. For example, "over 50,000" and "not over 50,000" must be settled so that a value of exactly 50,000 falls on one side only.

2. Forgetting an exit

Every question needs a label for every answer.

3. Questions in the wrong order

Order the questions so a case moves along clearly and is never asked something it does not need. A first question that splits the cases well can make the tree shallower.

4. Vague outcomes

The outcome at the end of a branch must be a clear action, not "consider".

5. Trusting rules built from data without checking stability

A tree learned from data is unstable, so test it on another data set.

Compared with similar charts

ChartHow it differsChoose it when
Decision TreeBranches by condition until an outcomeScreening by rules
FlowchartA sequence of steps that can loopExplaining a process
Probability TreeBranches carry probabilitiesCalculating the chance of chained events
Tree DiagramA general hierarchyOrganisation structures, categories

Frequently asked questions

What nodes does this decision tree have?

Question nodes and outcome nodes. It uses a diamond for a question, following flowchart symbols. A decision-analysis tree can also add chance-event nodes that carry probabilities.

Can I use flowchart symbols?

Yes. Decision trees are often drawn with flowchart symbols because most people find them easier to read.

How is a decision tree different from a flowchart?

A decision tree is a flowchart-like structure in which each internal node is a test of a condition, each branch is the result of the test, and each leaf is an outcome label.

References

  • Decision tree · Wikipedia · en.wikipedia.orgUsed to confirm: the definition and basics of a decision tree
  • Flowchart · Wikipedia · en.wikipedia.orgUsed to confirm: the definition and basics of a flowchart
  • What is a Decision Tree? · IBM · ibm.comUsed to confirm: root node, branches, conditions and end outcomes
  • Principles of Epidemiology: Decision Analysis · CDC · archive.cdc.govUsed to confirm: the difference between decision nodes and chance-event nodes that carry probabilities

Last updated 28 Nov 2026