GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

01A Split That Aims for Squares Instead of Long Strips

Sort the values from large to small, and each time a cell joins a row, re-measure the worst width to height ratio in that row. The row closes just before the ratio gets worse and the next one opens, so cells stay near squares, while the board on the right cuts in one direction only like a slice layout and its cells thin out as the contrast.

Best forChart layouts where cell shapes must stay readable

worstRowsquarifyslice
A Split That Aims for Squares Instead of Long Strips
Open in a new tab

01 A Split That Aims for Squares Instead of Long Strips — Measured area 44.126% · moving frames 19/23Original by GODRICH · SCSS and React ship in the zip · Treemap Chart: 9 Canvas Layout Scenes

The post this demo lives in

Treemap Chart: 9 Canvas Layout Scenes - preview of all 9 demosTreemap Chart: 9 Canvas Layout ScenesHow does a treemap chart split cells? 01 re-measures the worst ratio as each cell joins a row, 02 springs cells to new s See all demos in this post

If you like this effect - similar demos