Use the same function to generate average and median data for time to review evol.
Adapted to the new API in VizJS.