Graph overlaying gas or energy usage of multiple years

Hello,

We try to consume less energy every year. To see if we are on track I want to create a graph showing the current gas usage sum in a graph from January till December starting at 0. And that for multiple years, but starting at the same point in Januari at 0. In an Excel graph it would look like this:
Schermafbeelding 2023-11-01 095649

Is it possible to create this in Home asisstant?

I already tried to use Apexcharts where you can define an offset per entity. That seems to work, but only for a history of 10 days. It is not using the lts data. Any thoughts?