d3.js parsing date error with csv file
I have a problem with parsing dates in a csv file. Have been looking for hours online and in books and testing, without finding the solution. Perhaps someone can help. The code works fine for reading a file with parsing just numbers. But when parsing a file with dates I get the following error message indicating the date format is not recognised: Problem parsing d="MNaN,268.5466377440347LNaN,117.78741865509761LNaN ... The file looks like this: date,value 11-11-13,582 12-11-13,860 13-11-13,940 Code: (js) function myFunction() { d3.csv('data/Date.csv', draw); } function draw(data) { "use strict"