Compare category totals with a Treemap

Size rectangles by a numeric total, then verify each category against the records behind the chart.

Use a Treemap to show how one total is distributed across categories. For example, compare planned spending by department. Each department has a rectangle, and its area represents the department’s share of the spending shown.

Size the rectangles by one measure

  1. On a dashboard you can manage, select Add Widget → Create a New Widget, then choose Treemap.
  2. Under Data, choose the budget table and set Category to the department field. Under Value, choose the planned amount and set Summarize as to Sum. Use one numeric field with a consistent unit, such as a budget in the same currency across departments.
  3. Under Filters & period, check which records contribute to the total. For example, filter to the current budget year and the amounts included in the plan. Give the widget a title under Display, then select Create.

Verify the totals and labels

Point to a rectangle to read its category and amount. For example, a department with planned amounts of 3,000 and 2,000 should show a total of 5,000. Filter the source table to the same department and apply the same period and filters to check the sum.

To show category names inside the rectangles, turn on Show values on chart in the chart’s display settings. The labels show category names, and the tooltips show the amounts. If a rectangle is hard to see, compare its total with the larger categories and check for missing or zero amounts in its records.

If readers need to compare exact totals side by side, use a bar chart.

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?