IN THIS POST I’M JUST GOING TO share a few data visualizations I’ve been working on today. For most, no code, but these build off my previous posts here and here so you can check there for hints and I’ll post some more examples with code later.
This one shows the evolution of population by county without the distribution plots I included last time. We discussed these data in our last post.
In this second post I combined the population map with a dot chart showing the evolution of state population.
House price charts
This chart combines a map with sparkline-type line charts showing the evolution of annual percentage changes in the FHFA Purchase-Only House Price Index.
Because the house price data is conveniently available in a text file from the FHFA webpage we can easily construct a static version of this chart (with just the map) using the code below.
We use a small multiple to show how annual percentage gains in house prices have varied from the second quarter of 2005 through the latest data for the second quarter of 2016. The map part of the gif just morphs between facets of the plot above.
We can also construct a static version of the sparklines fairly easily: