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

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: