T = readtable('electricity.csv');
% Interpolate the missing data;
% We use the datestamp as the function variable.
T = fillmissing(T,'linear','Samplepoints',T.Date);
total = T.Total;
date = T.Date;
plot(date,total);
% The data is annual, so we average over a yearlong period. 
wTotal = movmean(total,12);
plot(date,total,date,wTotal)
% Apparently, the electricity consumption has stabled around 2010.