Decision Tree Visualizer

Create interactive decision trees with automatic layout

Build Your Decision Tree

Click "Add Decision Node" to start building your tree

Manage Nodes

No nodes yet. Add nodes above to get started.

Connect Nodes

Export Decision Tree

About Decision Trees

A decision tree is a diagram that shows decisions and their possible consequences. It's widely used in business analysis, machine learning, project management, and problem-solving to map out choices and outcomes systematically.

How to Use This Tool

  1. Add Decision Nodes — These represent questions or choice points. Decision nodes are shown as teal rectangles.
  2. Add Outcome Nodes — These represent final results or conclusions. Outcome nodes are shown as purple rounded rectangles.
  3. Edit Node Text — Click on any node in the canvas, and a prompt will appear to edit its text.
  4. Connect Nodes — Use the "Connect Nodes" section to create edges between nodes. Select a parent, enter a label (like "Yes" or "No"), then select a child node.
  5. Auto Layout — Click "Auto Layout" to automatically arrange nodes in a top-down tree structure.
  6. Export — Download your tree as SVG (for editing) or PNG (for presentations).

Common Use Cases

  • Business Decisions — Map out strategic choices and their potential outcomes
  • Troubleshooting — Create diagnostic flowcharts for technical support
  • Customer Journeys — Visualize different paths users might take
  • Risk Analysis — Evaluate decision branches and probability outcomes
  • Algorithm Design — Plan decision logic before coding
  • Game Theory — Model sequential choices and payoffs

Best Practices

  • Start with one root decision node at the top
  • Use clear, concise labels for decisions and outcomes
  • Label edges with conditions or choices (Yes/No, High/Low, etc.)
  • Keep the tree reasonably sized (under 20 nodes) for readability
  • Use outcome nodes for all terminal branches
  • Avoid cycles — decision trees should flow in one direction

Decision Nodes vs Outcome Nodes

Decision Nodes represent points where a choice must be made or a question answered. They typically have multiple outgoing edges (branches).

Outcome Nodes represent final results or conclusions. They typically have no outgoing edges and appear at the end of branches.

Privacy & Limitations

  • All calculations run entirely in your browser -- nothing is sent to any server.
  • Results are estimates and may vary based on actual conditions.

Related Tools

Related Tools

View all tools

Decision Tree Visualizer FAQ

What is a decision tree?

A decision tree is a visual diagram showing decisions (questions) and their possible outcomes. Each decision node branches into multiple paths, leading to final outcomes. They're used in business analysis, machine learning, and problem-solving to map out all possible scenarios.

How do I add nodes to my decision tree?

Click 'Add Decision Node' to add a question or choice point, or 'Add Outcome Node' to add a final result. Decision nodes are shown in teal boxes, while outcome nodes are shown in purple rounded boxes. Fill in the text for each node to describe the decision or outcome.

How do I connect nodes in the tree?

Select a parent node from the dropdown, enter a label for the edge (like 'Yes', 'No', or a condition), then select the child node you want to connect. Click 'Connect Nodes' to create the link. The tree will automatically reorganize to show the hierarchical structure.

Can I export my decision tree?

Yes, you can download your decision tree as an SVG vector file or PNG image. SVG files can be edited in vector graphics software, while PNG is perfect for presentations and documents. Both formats preserve the colors and layout.

Request a New Tool
Improve This Tool