FoamTree: Visualize hierarchical data with a lot of groups

Jul 10, 2014

For small-ish amounts of hierarchical data, most JavaScript libraries can handle the load. However, it gets tricky when you get into hundreds and thousands of levels and groups. FoamTree is a library that helps you with this problem.

FoamTree

It’s a Voronoi Treemap, which sure, looks kind of neat, but the nice part is how well it handles large amounts of groups. It’s puts off computation and rendering until it’s needed, so it cuts down on load and run times. Just check out the Tree of Life demo and select “Homo sapiens” in the ride sidebar to see how it works.

The library is free to download, but you have to pay a license fee to get rid of the branding.

Favorites

How We Spend Our Money, a Breakdown

We know spending changes when you have more money. Here’s by how much.

Real Chart Rules to Follow

There are rules—usually for specific chart types meant to be read in a specific way—that you shouldn’t break. When they are, everyone loses. This is that small handful.

Years You Have Left to Live, Probably

The individual data points of life are much less predictable than the average. Here’s a simulation that shows you how much time is left on the clock.

The Changing American Diet

See what we ate on an average day, for the past several decades.