the data points on the graph are not plotted, even though the header of the csv file can be shown, i think somewhere in my code its not able to read the data

yes this link is working. I can't test right now your code.
Please try your workflow outside of the shinyapps to see if it works, and if not provide a reprex without shiny, to isolate the issue. Thanks.