According the demo on http://bl.ocks.org/mbostock/3883245
I don\'t know how format time on xAxis
this is my code : js:
var data = [{
In v4,
... var scaleX = d3.scaleTime().range([0, width]); var axisBottom = d3.axisBottom(scaleX) .ticks(d3.timeMinute, 10); // Every 10 minutes ...
Note that use d3.timeMinute - not d3.timeMinutes
d3.timeMinute
d3.timeMinutes