
Many tiling algorithms have been developed, but the "squarified algorithm" which keeps each rectangle as square as possible is the one commonly used.īen Shneiderman originally developed Treemaps as a way of visualising a vast file directory on a computer, without taking up too much space on the screen. The way rectangles are divided and ordered into sub-rectangles is dependent on the tiling algorithm used. If no quantity is assigned to a subcategory, then it's area is divided equally amongst the other subcategories within its parent category. Also, the area size of the parent category is the total of its subcategories.

When a quantity is assigned to a category, its area size is displayed in proportion to that quantity and to the other quantities within the same parent category in a part-to-whole relationship. Each category is assigned a rectangle area with their subcategory rectangles nested inside of it.

Treemaps are an alternative way of visualising the hierarchical structure of a Tree Diagram while also displaying quantities for each category via area size.
