FoamTree: Visualize hierarchical data with a lot of groups

Posted to Statistical Visualization  |  Tags: ,  |  Nathan Yau

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

A Day in the Life of Americans

I wanted to see how daily patterns emerge at the individual level and how a person’s entire day plays out. So I simulated 1,000 of them.

Reviving the Statistical Atlas of the United States with New Data

Due to budget cuts, there is no plan for an updated atlas. So I recreated the original 1870 Atlas using today’s publicly available data.

Jobs Charted by State and Salary

Jobs and pay can vary a lot depending on where you live, based on 2013 data from the Bureau of Labor Statistics. Here’s an interactive to look.

Who is Older and Younger than You

Here’s a chart to show you how long you have until you start to feel your age.