My second #MakeoverMonday Diary looks at an Aging America, as the U.S. Census Bureau projects that for the first time in U.S. history, adults aged 65+ will outnumber children aged under 18, by the year 2034. I felt like the original viz was straightforward and did a nice job of showing the anticipated shift. However, I wanted more detail than just total adults and total children, so my goal was to include something that resembled the top part of the original viz, while also adding more detail below. Let’s get started…
9:11am – My first step was to pivot the data from its original format, this would leave me with one column for age and a second for the population of each age. However, this would also leave me with duplicate data, so it was important to then go ahead and filter the data appropriately for my analysis. After digging through the data a bit, it was decided that I would not be using the Race field, so I threw a Data Source Filter on that to keep only “All Races.” This way I wouldn’t have to deal with all of the other Race options once I began my analysis. I did not do this with the Sex and Origin fields, as my viz would include sheets both at the highest level, as well as more detailed, so I chose to filter those from the worksheets. It was important to keep an eye on my filters to ensure I wasn’t reporting data that had been duplicated. Once inside Tableau, I started with two quick calculations to first parse out the word “age” from the age field and then group the ages so I had my children under 18 and adults 65+ age groups. Then it was time to replicate the original viz, the only differences here was that I went with a stepped line chart and included actual populations for each group as opposed to percent of total population, like in the original. After adding some text and a highlight circle focused on the point when adults 65+ outnumber children under 18, here’s what the top part of my viz looked like.
9:42am – So, now that we had this high level overview, it was time to show some detail and find out what groups were projected to cause such a giant shift. Again, after playing around with the data, I felt the Origin field would succeed in telling the story here and since it only had a few values (Hispanic, Not Hispanic and Total), would require fewer visuals than telling the story through the Race field, which had seven values. The differences in population projections among people with Hispanic origins vs. those without Hispanic origins was quite jaw dropping at first glance, which is why I went this route. While adult males and females 65+ with Hispanic origins are projected to close the gap on children under 18 with Hispanic origins, the trend was much more gradual than that of people without Hispanic origins.
9:57am – Unfortunately, I’ve been getting pulled away with a few phone calls, so the timing of the diary this week may not make a ton of sense. Either way, we’ll forge on!! So, as we mentioned above, the projections for people with and without Hispanic origins were vastly different. Below are the final visuals displaying each Origin group for both Females and Males.
Females and Males with Hispanic Origins
Females and Males without Hispanic Origins
10:22am – As I was just about to publish the viz, a last minute idea came to me, to change the title to a sort of diverging color palette, so that it more aligned with the rest of the viz. My hope was that this also helps show the projected shift in population. Here are a before and after of the title.
Bringing it all together now, below is my final viz for #MakeoverMonday Week 45. The interactive version can be found here. Before we wrap this up, I want to thank Neil Richards again for the awesome color palette. If you haven’t seen it yet, his Color Palette viz can be found here. It’s such a nice resource if you’re anything like me and struggle with putting colors together that compliment one another. Thanks again Neil!!
Thank you for reading and have a wonderful day!!