Skip to content
ReelKit.
All guides

How to make a treemap animation

Updated

A treemap fits many parts of a whole into one frame. ReelKit lays them out as close to square as it can, brings them in from biggest to smallest and labels every rectangle that has room.

Open editor
Treemap Animation, made in ReelKit from the Where Americans live, 2020 dataset.

Add your parts

Select your cells in Google Sheets or Excel, headers included, copy them and choose Paste from sheet under the Data table; the whole table fills in at once. You can also drop a CSV file onto the table, or type into the cells.

One row per part with a positive value, up to 24; more are grouped into Other. Order doesn't matter: ReelKit sorts them from largest to smallest.

Labels and the call-out

Each rectangle shows its name, value and share when it's big enough to read. The called-out rectangle gets an outline and a yellow marker on its value.

Pick a look and export

Explainer is warm paper with bright colors, like a video essay; Newspaper is muted newsprint with a serif title, like a business daily. Both get the same paper texture, grain and slow camera push.

Choose 16:9 for YouTube, 9:16 for Shorts and Reels or 1:1 for a feed, then download your treemap as an MP4, a WebM with a transparent background, or a PNG of the last frame. It renders in your browser; nothing is uploaded.

Make your treemap animation

Open editor