error path attribute d expected number d3 code example
Example: attribute d: Expected number, "MNaN
d3.csv('Book1.csv', convert, init); //load data, convert, then initialize chart
function convert(d) {
return {
date: new Date(d.date),
value: +d.value // convert string to number
};
}