How do I display dates on the x-axis for nvd3 / d3.js?
Try creating a new Date object before the tick for the x-axis gets passed to the formatter: .tickFormat(function(d) { return d3.time.format(‘%b %d’)(new Date(d)); }) See the documentation for d3.time.format to see how you can customize the formatting string.