score:1

Accepted answer

Yes, you need to convert the string to a date. Also I think you want %b for the abbreviated month:

var aDate = new Date(d.value)
var parseDate = d3.timeFormat("%b %d, %Y");
console.log("Date: ", parseDate(aDate))

// Prints:
// Date: "Sept 18, 2017"

Related Query

More Query from same tag