@SarahAdina the example was for your task of displaying your results.
Concerning the prediction you first might have to decide if you have a regression or a time Series problem
Concerning time series here are some hints: