Explaining the squarified treemap algorithm

As part of the visualization support, Glamorous Toolkit offers an implementation of a squarified Treemap. The algorithm is responsible for creating visualizations such as this one:

gtoolkit book
[dead]