d3.js - Trying to import data from CSV file in D3.I am getting an error as "Unexpected End of Input" -
trying import data csv file in d3.i getting error "unexpected end of input".
d3.csv("path/to/instance.csv", function (error, data) { data.foreach(function (d) { d.state = parsedate(d.state); d.success = +d.success; });
edit: adding csv file.
date,price jan 2000,1394.46 feb 2000,1366.42 mar 2000,1498.58 apr 2000,1452.43 may 2000,1420.6 jun 2000,1454.6 jul 2000,1430.83 aug 2000,1517.68 sep 2000,1436.51 oct 2000,1429.4 nov 2000,1314.95
perhaps lack of 2nd decimal place?
Comments
Post a Comment