attr.js:31 Error: <path> attribute d: Expected number, chart angular 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
};
}