Added code for meltting the dataframe and plot the time series plot