How to Make an Interactive Stacked Area Chart

Stacked area charts let you see categorical data over time. Interaction allows you to focus on specific categories without losing sight of the big picture.

To access this full tutorial and download the source code you must be a member. (If you are already a member, log in here.)

Membership

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:

About the Author

Nathan Yau is a statistician who works primarily with visualization. He earned his PhD in statistics from UCLA, is the author of two best-selling books — Data Points and Visualize This — and runs FlowingData. Introvert. Likes food. Likes beer.

More Tutorials See All →

How to visualize data with cartoonish faces ala Chernoff

The goal of Chernoff faces is to show a bunch of variables at once via facial features like lips, eyes, and nose size. Most of the time there are better solutions, but the faces can be interesting to work with.

How to Make (and Animate) a Circular Time Series Plot in R

Also known as a polar plot, it is usually not the better option over a standard line chart, but in select cases the method can be useful to show cyclical patterns.

How to Draw in R and Make Custom Plots

When base graphics and existing packages don’t do it for you, turn to low-level graphics functions to make what you want.

How to Make a Semicircle Plot in R

It’s the half cousin of the bubble plot with less overlap and more straight edges.