Using Box plot elements to summarize a data stream

I have some streaming data coming in from a sensor at a rate of 1 sample per second and I’d like to generate a summary graph that groups 60 samples together and renders them as a box element (computing the mean, percentiles, max, min of the individual data values).

In the examples I’ve found so far, each box is created as a separate trace but is there a way to have a box represent a certain time interval of data that’s all part of the same data stream?