How People Like You Spend Their Time
The American Time Use Survey is an ongoing program from the Bureau of Labor Statistics that asks thousands of people, as you might guess, what they did during the last 24 hours.
Using the data for 2015, I simulated days for different groups of people so that you can see the hours they typically spend in a 24-hour period. The interactive below shows the results.
Each row represents an activity, and each gray line represents the hours spent in one person’s day. I ran 100 simulations for each demographic group. The orange line shows the median hours for each activity.
For some activities, such as household work and leisure, the number of hours spent varies a lot, which is why you see a lot of criss-crossing lines. However, for other activities, such as sleeping and work, there’s more of pattern, which is why you see a lot of lines headed in the same direction.
Tip: Switch to the absolute scale to compare various demographics. This puts the horizontal scale for every activity at 0 to 24 hours.
More on How Americans Spend Their Day
I used similar data to simulate an average day for 1,000 Americans.
See the half-hour breakdowns for a day, by sex and age group.
Here are the half-hour distributions for all Americans.
- Like in a previous simulation I did, I modeled a day as a time-varying Markov chain using minute-by-minute tabulations of the ATUS data.
- I tabulated, formatted, and simulated in R. The visualized with d3.js.
- The data comes from the Bureau of Labor Statistics, but I downloaded the extract with the ATUS-X tool, which makes the data much easier to subset and manage. It’s maintained by the Minnesota Population Center and the Maryland Population Research Center.
Learn to Visualize Data See All →
How to Make a Heatmap – a Quick and Easy Solution
A heatmap is a literal way of visualizing a table of numbers, where you substitute the numbers with colored cells. This is a quick way to make one in R.
How to Make a Contour Map
Filled contour plots are useful for looking at density across two dimensions and are often used to visualize geographic data. It’s straightforward to make them in R — once you get your data in the right format, that is.
How to Make Line Charts in Python, with Pandas and Matplotlib
The chart type can be used to show patterns over time and relationships between variables. This is a comprehensive introduction to making them using two common libraries.