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

08A Morph That Compares the Same Data as Rectangles and Circles

For each cell the radius r = √(area × FILL / π) keeps the area ratios, so a rectangle turns into a circle scaled down by the same factor. The center is interpolated from the rectangle center to the circle layout center, overlapping circles push apart, and the board on the right makes the diameter proportional to the value so large values look far bigger than they are as the contrast.

Best forComparisons that show how chart type changes the size impression

FILLpushApartPUSH_ROUNDS
A Morph That Compares the Same Data as Rectangles and Circles
Open in a new tab

08 A Morph That Compares the Same Data as Rectangles and Circles — Measured area 26.478% · moving frames 12/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