microsoft / finnts

Microsoft Finance Time Series Forecasting Framework (FinnTS) is a forecasting package that utilizes cutting-edge time series forecasting and parallelization on the cloud to produce accurate forecasts for financial data.
https://microsoft.github.io/finnts
Other
190 stars 34 forks source link

TrelliscopeJS Integration #98

Closed mdancho84 closed 2 years ago

mdancho84 commented 2 years ago

Hey Michael,

I hope you are well. I wanted to give you advance notice that I will be making a new option to timetk and modeltime plotting functions to optionally allow users to use trelliscopejs. This is a developmental feature that helps improve the user's ability to view many time series at once.

Trelliscope Visuals

Here's a quick example. Again this is only available in the development version. I think your users may enjoy it!

image

And the code used to create it:

library(timetk)
library(tidyverse)

walmart_sales_weekly %>%
    select(id, Dept, Date, Weekly_Sales) %>%
    set_names(c("id", "dept", "date", "value")) %>%
    group_by(id, dept) %>%

    plot_time_series(
        date, value, 
        .trelliscope        = TRUE, 
        .facet_ncol         = 2, 
        .facet_nrow         = 2,
        .facet_strip_remove = TRUE, 
        .title              = NULL
    )

More information

For more information please follow business-science/timetk#116

mitokic commented 2 years ago

Thanks @mdancho84 for reaching out! This looks awesome, will definitely check it out 😁