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 ...
Treemap — px.treemap () A treemap visualizes hierarchical data as a set of nested rectangles. Each rectangle's area is proportional to the value it represents, making it easy to compare sizes within ...