Graph Makeover: Educational Attainment by Race and Ethnicity

in steemstem •  7 years ago  (edited)

The US Bureau of Labor Statistics' May 2018 report on Race, Economics and Social Status contains the following stacked bar chart. Take a moment to look at it.

  • Do any meaningful patterns jump out of you?
  • Can you tell which race has the overall highest educational attainment?
  • The next highest?
  • Do you see any educational trends that are true across the races?

Source, (Public domain)

Now take a moment to look at this graph that I made of the same data. What do you see now?

I made three major changes to the original graph to produce this redesign.

Change 1: Use a Diverging Color Palette

First, I replaced the discrete color palette (blue, black, orange, etc.) with a diverging color palette. Discrete color palettes are best for categorical data--that is data that has no intrinsic order, such as different countries, or different hospitals. However, educational attainment categories are ordinal data: Less than high school is the least amount of education, High school graduate the next, and so on. However, blindly coding educational attainment using a single color gradient scheme looks like this:

That might be a bit better in conveying less education (the lighter color) to more (the darker colors), but this graph really doesn't tell us much. It might even be worse than the original, because the segments now bleed into each other.

Instead of using a gradient color palette, I used a diverging palette: two hues that get darker the more they move away from a common center point. In this case, I used Associates degree in college as the start of the center point, because many higher paying jobs require at least some form of associates degree. This also splits the 6 attainment categories in half, leading to this stacked bar chart:

Here, you can begin to see differences among races, simply by focusing on the orange vs. green masses. However, you can still focus on individual segments. For example, you can see that the Asian race has the longest dark green segment. You can also easily compare the lengths of all dark green (or dark orange) bars because they all share a common starting edge of the graph. With some difficulty, you can compare lengths of the bars in between, such as the light orange bars.

Change 2: Sort Race From High to Low Attainment

Sorting Race from high to low educational attainment eases your ability to recognize patterns across the races:

Notice how it is easier now to see how the orange portion grows as you scan down the chart, while the green portion shrinks. You can also see that the individual segments don't quite follow the same pattern. For instance, the dark green bars do not smoothly decrease from top to bottom.

Change 3: Align Associates Degree Segments on 0%

Finally, I turned the stacked and sorted bar chart into a diverging bar chart by aligning the start of each Associates Degree segment on 0%. Now you can see how the bars shift as your eyes move down the graph:

Different Graphs for Different Patterns

The diverging bar chart is better than the original, but it still doesn't allow us to easily see some types of patterns. The beauty of information visualization is that we can use multiple graphs. Here I've combined the bar chart with a parallel coordinates plot. Each line represents a race, but instead of a numerical X axis, the X axis uses the ordinal educational attainment levels.

The parallel coordinates plot reveals a somewhat common pattern among the races: there is an increase up through some college, a major drop for associates degrees, another bump for Bachelors, and then a decrease for higher degrees except for multi-race, which goes up. Notice, however, that the two graphs above convey different senses about this data. The lines show trends across races quite well, whereas the bar chart clearly shows the shift in college-level educational attainment.

The live version of the dashboard is interactive, such that clicking on a Race in the bar chart highlights the race's line in the parallel coordinates plot:

Clicking on an educational attainment level, highlights its segments in the bar chart and its points in the parallel coordinates plot:

You can try out the live version on my Tableau Public site where you can also download it.

Or download the data file and workbook on GitHub

To see more of my work on information visualization check out my blog @toddrjohnson

SB-Marvel-Family.gif

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I wonder if the effect of Asians getting more high end degrees is an effect of US immigration policy skimming off the cream of the crop (brain drain from China and India to the US)?

Also some University and College degrees are not worth that much (to avoid arguments I won't say which types I think are pretty useless). A person who avoid University and instead gets an electrician certificate or a plumbing apprenticeship is far more useful to society than a lot of University graduates IMHO.

Interesting question. According to this Pew Research Study from 2012, "Asian arrivals [are] the most highly educated cohort of immigrants in U.S. history." However, the study also points out that "they place more value than other Americans do on marriage, parenthood, hard work and career success." From my perspective in higher education (graduate school) their numbers continue to increase both as faculty and as students.

As to people getting practical trade skills, I agree with you. The U.S. switched to a K-12 educational strategy of college prep for all. That has honestly been a disaster, in part because many are not cut out or interested in college and, in part because of an overemphasis on standardized tests vs. evidence-based teaching and learning principles. Many of our children would be better off training for plumbing and electrician work or other maintenance jobs that tend to be well-paid and hard to replace with robots or overseas labor.

Hi @toddrjohnson!

Your post was upvoted by utopian.io in cooperation with steemstem - supporting knowledge, innovation and technological advancement on the Steem Blockchain.

Contribute to Open Source with utopian.io

Learn how to contribute on our website and join the new open source economy.

Want to chat? Join the Utopian Community on Discord https://discord.gg/h52nFrV

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by toddrjohnson from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Asians still remain the highest pursuers of professionals. But does that really show in their way of life in general? Like I am not doubting these data, they are nothing but the facts. I just do not really understand why it's so.

Great post after all.


I am @teekingtv and I write STEM.

Seems to be immigration factor, in that we are getting talented immigrants. According to this NY Times article, Asian children whose parents were born in the U.S. do only as well as whites who were raised in families with similar incomes. So it appears that the immigration advantage disappears in two generations. It may be that the American culture is the equalizer here.

Yes, that is a possibility. But I still believe they are not the only nation having high level of immigration.

The educational data you presented here is fascinating in its insights and implications. What fascinates me more, however, is your use of a diverging palette for the bar chart. Many years ago, I supervised a team whose task it was to collect data and present it to company management in the form of of graphs and tables. The idea of a diverging palette would have been quite useful at that time, if I had thought of it! I enjoyed watching the changes in each stage of your process, and that final, interactive version is wonderful. Thank you for sharing this useful tool & technique with #steemitbloggers 😊

What I’ve found is that most of the graphs and tables given to management are not done very well, simply because many people are not aware of the difficulty of selecting and designing graphs, as well as the different types of graphs that are available, but not as common. It can take months to do it right and often requires a team of experts. Even then, we can get it wrong so we often have to go through several iterations after launch. In the organizations I work with, I have spent a lot of time training others to do this, because I cannot meet all of the needs. It can also be a challenge to get management to accept better graphs instead of the same ones they ar used to seeing.