R code to plot the charts

initial file is the output file of the program but we removed those that their join freshness was NaN meaning no join result