Make a Treemap with R!

Tree  Maps are much more tree-like than Tree Diagrams. Here is another great “R” project from FlowingData blog.

Treemap uses proportional boxes to show size

Back in 1990, Ben Shneiderman, of the University of Maryland, wanted to visualize what was going on in his always-full hard drive. He wanted to know what was taking up so much space. Given the hierarchical structure of directories and files, he first tried a tree diagram. It got too big too fast to be useful though. Too many nodes. Too many branches.

The treemap was his solution. It’s an area-based visualization where the size of each rectangle represents a metric since made popular by Martin Wattenberg’s Map of the Market and Marcos Weskamp’s newsmap.

See SmartMoney’s live-updating Treemap of the stock market. (Health care and energy are big movers right now.)

via An Easy Way to Make a Treemap | FlowingData.


Leave a comment

Filed under Analysis Ideas, How-To

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s