business-science / pytimetk

Time series easier, faster, more fun. Pytimetk.
https://business-science.github.io/pytimetk/
MIT License
696 stars 60 forks source link

Holoviz Plot: Investigate `hvplot` time series integration #299

Closed mdancho84 closed 3 weeks ago

mdancho84 commented 3 months ago

Polars integrates holoviz plot, which is a nice interactive tool that has some benefits with respect to Time Series

https://hvplot.holoviz.org/user_guide/Timeseries_Data.html

Dropdown

sales_by_month_cat_2_pl.plot.line(
    x='order_date', 
    y='total_price_sum',
    groupby = 'category_2',
    widget_location='bottom'
)

image

Scrubber:

sales_by_month_cat_2_pl.plot.line(
    x='order_date', 
    y='total_price_sum',
    groupby = 'category_2',
    widget_type = 'scrubber',
    widget_location='bottom'
)

image

mdancho84 commented 3 weeks ago

See #301