score:1

Accepted answer

You are converting a date to a string when populating line_data.

var parser = d3.time.format("%m/%d/%Y %H:%M:%S");
abc[i]['date'] = parser(dateLabel);
line_data[counter] = abc;

Just use the date here.

abc[i]['date'] = dateLabel;

Related Query

More Query from same tag