How to Make an Interactive Treemap
Treemaps are useful to view and explore hierarchical data. Interaction can help you look at the data in greater detail.
To access this full tutorial and download the source code you must be a member. (If you are already a member, log in here.)
Gain instant access to step-by-step visualization courses and tutorials for insight and presentation — all while supporting an independent site. Source code and data is included so that you can more easily apply what you learn in your own work.
Members also recieve a weekly newsletter, The Process, which looks more closely at the tools, the rules, and the guidelines and how they work in practice.
See samples of everything you gain access to:
More Tutorials See All →
How to Visualize Proportions in R
There are many ways to show parts of a whole. Here are quick one-liners for the more common ones.
How to Make Bivariate Area Charts in R
Quickly compare two time series variables with this line-area chart hybrid that originated in the 1700s. Also known as: difference chart.
Mapping With Shapefiles in R – Getting Started
Geographic data is often available as a shapefile, and there’s plenty of heavy software to get that data in a map. R is an open source option, and as a bonus, much of the work can be done in a few lines of code.