Based on algorithm from Bruls, Huizing, van Wijk, "Squarified Treemaps", but implements it differently. The function returns a list of dicts (i.e., JSON objects), each one a rectangle with coordinates ...
A recursive Treemap program to map megacorp ownership (could have other uses with directed tree data) Each corporation is owned (stock) by other "investor" corporations. This program is designed to ...