How to create bar chart grouped by day?

I have data that currently is graphed as a line graph, but I would also like to graph the same data to show how much this value changes per day. I am using grafana 8.5 and prometheus data source. This is what I want it to look like, and how it currently looks.