Visualize a value calculated from the per-bucket sum of one field divided by the per-bucket sum of another?

The Bucket Script aggregration in TSVB (was: Time Series Visual Builder) does what I want for this specific time-based use case (described in the topic title):