Skip to content

Instantly share code, notes, and snippets.

@timelyportfolio
timelyportfolio / Readme.md
Last active June 22, 2024 16:32
3d yield curve with Plotly in R

Nowhere near as spectacular as the Upshot/New York Times 3d yield curve by Amanda Cox and Gregor Aisch, but not bad at all for a couple of lines of R code with the plotly htmlwidget.

library(plotly)
library(dplyr)
library(tidyr)
library(purrr)
library(quantmod)
library(magrittr)