---
title: Tree
styles: [scientific]
---

```chart
type: tree
title: Engineering has the most teams
subtitle: Each node is a part; colour is the top-level unit
data:
  inline:
    - {unit: Engineering}
    - {unit: Platform, reports_to: Engineering, headcount: 14}
    - {unit: Product, reports_to: Engineering, headcount: 22}
    - {unit: Sales}
    - {unit: EMEA, reports_to: Sales, headcount: 12}
    - {unit: Americas, reports_to: Sales, headcount: 16}
encoding: {label: unit, parent: reports_to, y: headcount}
```
