Pure Python implementation of the squarify treemap layout algorithm