Black Lives Matter. Please consider donating to Black Girls Code today.

Agreggate time series to display monthly or annual averages or End of period values

Is there a way or suggested method to display time series aggregated. For example, traces are originally on a daily basis, display monthtly or annual aggregated values (could be aggregated as average over the period or end values).

plotly.js doesn’t expose aggregation attributes for time series (i.e. the scatter trace type). Though, it shouldn’t be too hard to compute the aggregated data and then use Plotly.restyle to update the graph.

Thanks for the information.