In this Matplotlib data visualization tutorial, we cover how to create stack plots. The idea of stack plots is to show "parts to the whole" over time. A stack plot is basically like a pie-chart, only over time.
Let's consider a situation where we have 24 hours in a day, and we'd like to see how we're spending out time. We'll divide our activities into: Sleeping, eating, working, and playing.