It’s about that time of year where I start thinking about how to make interactive plots / simple dashboards again… In that spirit, I’ve started playing around with D3 again, and I spent the better part of the weekend making a simple visualization of a pawn’s tour around the Monopoly gameboard. My goal was to plot the pawn’s movement while simultaneously estimating and displaying an empirical long-run occupancy distribution of the squares the pawn visits. For the most part, I got the simulation and display working, but it’s still a bit of a work in progress.
In the mean-time, I thought it would be fun to mimic some plots in the spirit of FRED. The following chart shows the FHFA all-transactions housing price index (blue line), with recessionary periods (based on a GDP-based recession indicator) displayed in grey.
- U.S. Federal Housing Finance Agency, All-Transactions House Price Index for the United States [USSTHPI], retrieved from FRED, Federal Reserve Bank of St. Louis; https://fred.stlouisfed.org/series/USSTHPI , February 3, 2019.
- Hamilton, James, Dates of U.S. recessions as inferred by GDP-based recession indicator [JHDUSRGDPBR], retrieved from FRED, Federal Reserve Bank of St. Louis; https://fred.stlouisfed.org/series/JHDUSRGDPBR, February 3, 2019.