We need a backend code that collects daily/weekly/monthly/yearly data and creates a dictionary for each date. If there is no value, then the code uses a step function between the date range. See, for example, pandas functions .resample() and .interpolate().
Various co2 data sources are described in the answers here: https://opendata.stackexchange.com/questions/17563/regular-source-for-global-carbon-dioxide-in-the-atmosphere
We need a backend code that collects daily/weekly/monthly/yearly data and creates a dictionary for each date. If there is no value, then the code uses a step function between the date range. See, for example, pandas functions
.resample()
and.interpolate()
.source