Graph cards like Plotly can create graphs for attributes directly:
If you create a template sensor from the attribute, you can also use the standard history graph. But you need to remember if you just made the template, there is only the data from since you created the template to create graphs with. So the graph may seem empty when you just started.
If you want to use Grafana as a graphing tool, you need to supply Grafana with a database it can use. Influxdb is often used. But then the same applies: if you install the influxdb integration, it will start recordg data there too. So there too you will only have data from the moment you start using it.