Display InfluxDB value's on front end

I’m new to using InfluxDB, but I have set it up correctly and I got some data flowing in for the last few days.

What I’m trying to do is to monitor how much kWh my water heater has used the last few days.
I want to make a list like this:

So far today: 3.25 kWh
Yesterday: 6.10 kWh
2 Days ago: 7.66 kWh
3 Days ago: 6.95 kWh
etc…

My z-wave power plug resets the data every day at 23.59h
So I would need to have the data from every day at 23.58h or so.
How can I do this? Who can point me in the right direction?

Thank you!

This is my InfluxDB screenshot: