Stacked Bar Graph From Timeseries Data

How can I visualize time series data as a stacked bar. What I need is a continues bar graph, every bar represents a 5 min time span and the height of the bar is the request count, the bar should be stacked/sectioned by response status code respective color.
Example:
image

Have you tried displaying your data using stacked bars, like this example?

Can the same stacked bar chart acheived by Prometheus time series data ?

Can we create such a chart without using time series please?

Like this? Grafana