To shorten the months on a d3 axis use the following method chained to the axis method.

var xAxis = d3.axisBottom(xScale)
  .tickFormat(d3.timeFormat("%b"));

from this StackOverflow post