Can you display the difference between min and max of a series

I’m trying to display the amount of requests by bucket sizes within the selected period, but all my attempts failed. (I’m not super experienced with Grafana/Prometheus)

I’m currently able to display the absolute values of all payloads. In the example below, I’m starting with 3332 payloads with less than 500 bytes and ending with 3375 payloads. I’d like to create a bar chart with a bar showing the value 43 for this particular case, but the only thing I manage to display is the latest value, so I can’t easily display the activity of a certain timeframe


Example query for the data above is:
sum(payload_size_buckets_total{…}) by (sizeCategory)

Any help is very appreciated.