As you know, every so often I like to mix up the SRS Challenge with something that’s a bit more in-depth. (And if this is overwhelming, just take the week off–I’ll be back next week with an easier one.)
The Setup: If you read the news these days you’ll see all kinds of claims about various kinds of data. In an earlier SRS post we talked about immigration rates, and found that the data is a bit complicated, but you can figure it out.
One of the things you’ll see in the news are charts like this one:
.. by COUNTY (not MSA or CSA). |
This is the “Median household income in 2012 by county.” This chart is from Wikimedia and shows the median income by county in the US. Of course, counties are sometimes just arbitrary boundaries. They may or may-not make sense. (For instance, Los Angeles County has around 10M souls living inside the county, while only 600K people live in Providence county, Rhode Island. That’s a factor of 16X difference in size.)
There are many ways to draw regional boundaries that make some kind of sense. For instance, gerrymandering is the practice of drawing political boundaries to give a particular party more (or less) voting power.
Wikimedia |
1. Can you make a map of the median household income for each of the MSAs in the United States? (Or equivalent statistical areas, if you’re from another country.)
A. Find a source of recent data that’s organized by MSAs. 2017 would be best, but you should look for the most recent data.
B. Find a visualization application that can ingest both the median income data and the shape of the MSA.
C. Figure out a way to create a visualization of the US MSAs that color-codes the income. It should look a bit like the above example, except with the income level determining the color of the MSA region.