29.11.6 Treemap

Treemap.png

Data Requirements

Select multiple categorical columns and one value column to create treemap. It presents the structure of hierarchical data.

Creating the Graph

Select Plot > Categorical: Treemap from top menu

Template

treemap.otpu (installed to the Origin program folder).

Notes

Treemaps display hierarchical (tree-structured) data as a set of nested rectangles. Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches. A leaf node's rectangle has an area proportional to a specified dimension of the data.

For this kind of graph, you can still customize the rectangles, such as arrangement of rectangles, fill pattern of the rectangles, the labels of rectangles, and the gap between the rectangles:

The graph is set as Window View by default, drag to change window size will also change the available space of treemap layout. That means the layout will change according to window size. When you are going to export the graph, the dimension will be auto updated and the graph will be exported based on current window size.