Edilitics | Data to Decisions

Tree Chart

Show a strict parent-child hierarchy as a node-and-line diagram you can expand and collapse. Best for org charts, sitemaps, and decision trees.

A tree chart shows a strict parent-child hierarchy as nodes connected by lines, branching out from a single root. Drop 1 to 4 categorical or date fields into Column, in the order you want the hierarchy to nest, and optionally one numeric field into Row to give each node a value. Use it when the connections between parent and child matter more than relative size - an org chart, a sitemap, a decision tree.

When to Use

A tree chart is built for showing structure clearly: who reports to whom, which page links to which, which decision leads to which outcome. Unlike a Treemap's nested rectangles, which encode both hierarchy and relative size through area, a tree chart's nodes and connecting lines emphasize the branching relationships themselves - better suited to hierarchies that are sparse, uneven, or where the connections are the actual story.

The Row field is optional, but "optional" doesn't mean the value disappears. Without a Row field, every node's value is 0, not blank - the tooltip still shows a Value line reading zero, since the chart always computes a value for the root and every branch beneath it. Assign a Row field when the value itself matters; otherwise expect to see zeros in the tooltip rather than no value line at all.

Switch to a different chart when:

  • Relative size across the hierarchy matters as much as structure, and the data is reasonably balanced - use a Treemap
  • You need exact hierarchy values in a list, not a diagram - use Text Table
  • Your hierarchy is really just one flat breakdown with no real nesting - use a Pie Chart
ScenarioHierarchy (Columns)Value (optional Row)
Org chart by department and roleDepartment, RoleHeadcount
Sitemap by section and pageSection, PagePage views
Decision tree by stage and outcomeStage, OutcomeCount of cases
Product taxonomy by category and subcategoryCategory, SubcategoryProduct count
Approval workflow by step and statusStep, StatusRequest count

Required Inputs

FieldTypeCount
Dimension (Hierarchy levels)Categorical or Date1 to 4
Measure (Node value)Numeric0 to 1

For step-by-step build instructions, see Build Your First Chart.

Formatting Options

The Format tab unlocks after at least the first Column field is assigned.

Style

Use the chart title to state what the hierarchy represents, since node names alone don't always make the structure's purpose obvious.

ControlWhat it does
Show Chart TitleShows or hides the title.
Enter Chart TitleTitle text. Maximum 50 characters.
Font familyFont applied to the title.
Font size5 to 30.
Bold / ItalicWeight and style.
AlignmentLeft, center, or right within the chart container.

Tree Layout controls the overall arrangement - the most consequential set of controls for this chart type, since they change the diagram's entire shape.

ControlWhat it does
LayoutOrthogonal (straight directional layout, default) or Radial (concentric rings around the root).
OrientationLeft to Right, Right to Left, Top to Bottom, or Bottom to Top. Only shown for Orthogonal - Radial has no single direction.
Enable Pan/ZoomAlways off, shown as a locked toggle. Panning and zooming are permanently disabled for this chart type.
Edge ShapeCurve or Polyline. Only shown for Orthogonal - Radial always uses curved lines.

Tree Node Styles covers the node markers and the connecting lines between them.

ControlWhat it does
Node ShapeEmpty Circle (default), Circle, Rectangle, Round Rect, Triangle, Diamond, Pin, or Arrow.
Node Size4 to 30px.
Node ColorFill color for every node.
Node Border Color / WidthBorder around each node. Width 0 to 5px.
Line StyleSolid, Dashed, or Dotted, for the connecting lines.
Line Width0.5 to 5px.
Line Curveness0 to 1. How curved the connecting lines are. Hidden when Edge Shape is Polyline, since polylines are always straight.
Line ColorColor of the connecting lines.

Tree Label Styles controls the node name text. Label position is determined automatically based on Layout and Orientation, to keep labels clear of the connecting lines - there's no manual position override.

ControlWhat it does
Font Family / ColorTypeface and text color for node labels.
Font size8 to 24.
Bold / ItalicWeight and style.
Text CaseUppercase, lowercase, capitalize, or none.

Node labels longer than 20 characters truncate automatically with an ellipsis - this length isn't adjustable through the formatting panel.

Interactivity

The tooltip appears on hover over a node, showing its full path through the hierarchy and its value.

ControlWhat it does
Show TooltipShows or hides the tooltip entirely.
Header / value text stylingFont, size, and color for the lines shown in the tooltip.

Animation controls the tree's transition when the chart first renders, when you expand or collapse a branch, or when the data changes.

ControlWhat it does
Enable AnimationTurns the transition animation on or off.
DurationHow long the transition takes.
DelayHow long the transition waits before starting.
Easing FunctionThe transition curve.

Emphasis controls the visual response when hovering a node - a scale-up effect and a drop shadow. Off by default.

ControlWhat it does
Show EmphasisTurns hover effects on.
Focus TypeItem, Series, or None.
Enable ScaleScales the hovered node up slightly.
Scale Size1.0x to 2.0x.
Shadow Blur / Color / Offset X / Offset YDrop shadow styling on the hovered node.
Border WidthBorder added around the hovered node.

Enable the Toolbox when viewers need to export the chart or inspect its underlying data.

ControlWhat it does
Show ToolboxShows or hides the toolbox icon bar.
Save as ImageAdds a download icon that saves the chart as a PNG.
Data ViewAdds an icon that opens the underlying data table in a separate view.

Best Practices

Click branches closed rather than trying to fit everything on screen at once. Since pan and zoom are permanently disabled, a wide or deep hierarchy needs to be managed by collapsing branches you don't need visible right now - that's the chart's intended way of handling scale, not a workaround.

Try Radial layout for hierarchies that branch wide at the top. A hierarchy with many top-level categories often reads more clearly arranged in rings around a center than stretched across a straight line, especially once it would otherwise need horizontal scrolling.

Match Orientation to how the audience already reads the hierarchy. Org charts are usually read top-down; sitemaps and decision trees often read left-to-right. Picking the orientation that matches existing mental models makes the diagram faster to parse.

Don't assign a Row field expecting it to hide itself when absent. If a measure isn't relevant for a given tree, leaving the Row field unassigned still produces a "Value: 0" line in every tooltip, not a clean omission. Decide whether that zero is acceptable or distracting before publishing.

Keep hierarchy levels at 2-3 for the clearest result. Four levels is the maximum, but each additional level adds visual depth that competes with the 20-character label truncation - very deep hierarchies often read better split into a top-level overview and a separate detail view.

FAQs

Need help? Email support@edilitics.com with your workspace, job ID, and context. We reply within one business day.

Last updated on

On this page