Implemented the plotData function