I think you mean {reduce: "mean"} here instead of {aggregate: "mean"}. The interval option here generates a bin transform which defaults to the "first" reducer, taking the first value in each bin. So this won’t show the average unless you change the reducer.