A Day in the Life: Work and Home
People’s workdays tend to follow similar patterns. You wake up in the morning, get ready for the day, go to work for eight hours or so, and then go home. There are breaks in between. The 9 to 5, basically.
However, everyone’s day varies at least a little bit from everyone else’s. And, if you compare across different types of jobs, you start to see varying schedules. Some people work from home. Some work on the road. Some tend go to work earlier than others. Some work at night.
The animation below shows a simulated day for employed Americans in various occupations. It’s based on five years of data, 2011 to 2015, from the American Time Use Survey. Each dot represents a person moving between home and sleeping, work, and anywhere else. Dots turn non-gray when respondents work. Dots turn gray when they don’t work.
You might notice the percentages for each occupation never reach the full 100 percent. This is because not everyone in a given occupation category are ever working all at the same time. Also, the simulation includes people who were employed but for whatever reason didn’t work the day they were surveyed.
I used a variant of this tutorial to make this chart.
- I used data from the American Time Use Survey, which is much easier to download using the American Time Use Survey Extract Builder maintained by the Minnesota Population Center at the University Minnesota.
- For sleeping, the ATUS keeps a person’s place private, which is why I combined states of being at home and sleep.
- “Somewhere else” includes traveling.
- See IPUMS for more details on each job category.
Learn to Visualize Data See All →
How to Make a Polar Density Plot in R
With cyclical data, a circular format might be useful. Combine that with a smooth density to reduce noise, and you got yourself a plot.
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.
How I Made That: Animated Square Pie Chart
Also known as waffle charts. Using animated transitions between values, you can allow for comparisons between categories.