Create horizon plots time series in R via horizon-timeseries-chart.

Installation

Install from GitHub with:

# install.packages("remotes")
remotes::install_github("JohnCoene/horizon")

Example

library(horizon)

horizon(tsdata, attrs(x = dates, y = value, group = grp))