Changed data to csv and started plot