Shifting Incomes for American Jobs
With some occupations, people make more annual income than others. Obvious. But we typically see figures in terms of means and medians when in reality, the difference between the person who makes the most and the one who makes the least can be significant.
The chart below shows the spread for major occupation groups, for several decades. Imagine you randomly select 50 people from each group, and this is what their annual income probably looks like.
The data for 2000 and earlier comes from the decennial census, and the data for 2010 and 2014 come from the American Community Survey.
As you progress through time, you’ll notice the distributions of income spread out more. This is especially obvious when you switch between 1960 and 2014. With the exception of lower paying jobs in areas such as food preparation and cleaning, it looks like there’s more opportunity to earn a higher salary (among those who have jobs at least).
That said, even if a job typically pays well, there are still people at the lower end of the bracket.
Here’s how to make a chart similar to this one.
- This is total personal income for individuals, as opposed to salary from an employer. I didn’t want to minus out the self-employed, but consequently the dollar values include things like welfare and retirement income.
- The occupation groups are broad. See here for detailed listings.
- I adjusted for inflation and binned by $5,000 increments, but it’s probably worth noting that some of the binning you see is from rounding.
- I downloaded the data from IPUMS, which makes Census microdata much easier to grab.
- I’m not fully sold on using a force-directed graph instead of histograms to show distributions, but I do like that it gets you closer to the individuals that the data represents.
- I analyzed and prepared the data in R and made the final visualization with d3.js.
Learn to Visualize Data See All →
How to Make Dot Plots in R
It’s easy to draw dots. The challenge is to make them meaningful and readable.
Voronoi Diagram and Delaunay Triangulation in R
deldir package by Rolf Turner makes the calculations and plotting straightforward, with a few lines of code.
How to Make Slopegraphs in R
Also known as specialized or custom line charts. Figure out how to draw lines with the right spacing and pointed in the right direction, and you’ve got your slopegraphs.