Tidy Tuesday Week 29: Economic Guide to Picking a College Major

This is my first time doing 🎉Tidy Tuesday🎉 ! The data for this week came from a FiveThirtyEight blogpost, which breaks down post-college salaries by discipline. The documentation and data for this week can be found in this GitHub repo.

One thing I found really interesting in the data was the variable College_jobs, which counted the number of people per major with jobs that required a college degree. I wanted to use this information to look at each major’s median income by percent of recent grads employed in positions requiring/not requiring college degrees.

For my Tidy Tuesday submission, I will be using the following packages:

For my first visualization, I wanted to look at the distribution of pct_college by field of study (indicated in the Major_category variable). Each data point is a different major. Here’s the code and the generated plot:

Note that the fields of study with lighter colors depict categories of majors where more students find jobs that require college degrees. Fields of study with darker colors depict the categories of majors where more college grads go on to find jobs that don’t require college degrees.

Next, I wanted to look at the relationship between median income and percent with jobs requiring college degrees for each major. I used the same colors in the plot above to group the majors by field of study:

From looking at this plot, there appears to be a relationship between the two - majors with more students finding jobs requiring college degrees tended to also be the majors with the higher median incomes, whereas majors with fewer students entering jobs requiring college degrees had lower median incomes. Also, among majors with the same rate of jobs requiring college degrees, there seemed to be a nearly 20,000-30,000 dollar median income gap between the Education-related majors (in yellow) and the Engineering/STEM majors (in light green). A more rigorous analysis would be needed to assess these differences, but definitely something interesting to notice!

I hope you enjoyed my submission! Feel free to reach out with any questions/comments/suggestions. 🤗