SquarifiedSlice-and-dice

Squarified Treemap Layout Simulator (2D)

This 2D canvas version runs the real squarified-treemap algorithm (Bruls, Huizing & van Wijk, 1999) from scratch on an editable weighted dataset, and lays the same data out with a naive slice-and-dice algorithm side by side, so the difference is visible and measured live: average and worst-case aspect ratio for both layouts, and the resulting improvement, update every time an item's value changes.