How to draw a cluster bar chart?

I’d like to draw a bar chart like this,image .But I can only draw a bar chart whose X-axes is Time, but not series.Could you help me?
SELECT
time as time,
t as metric,
sum(v)
FROM
tb
GROUP BY
t,
time
ORDER BY 1

1 Like