Made the chart recognize the users data, and plot it