I am unsure of the best way to do this. I have a pool contract with a state variable of the total balance of the pool. I want to show a line chart on my dApp that shows how the balance of the pool has changed for the past X (let's say 30) days.
My question is what is the best way to query for this data and are there any tools that would be ideal for such situations (if I want to add more graphs in the future, for example).