Exploring the yield curve with d3.js

Here are a few animated visualizations that explore the yield curve, inspired by James Mackintosh’s piece. Conventional wisdom holds that if the yield curve inverts–that is, when short-term yields are higher than long-term yields–a recession may be on its way. But which yield curve to watch?