how can I build such graphics using Grafana?
This looks like very similar to the standard graph panel in Grafana with a time aggregation. Can you provide more details:
- are you using InfluxDB? Or MySQL? Or a another db?
- how far have you got? Have you installed Grafana and connected successfully to your database?