score:1

Accepted answer

You have to define tickFormat for the x-axis using %b so it knows only to display abbreviated month names. Check here for time formatting options in d3.

  .call(d3.axisBottom(x)
    .tickFormat(d3.timeFormat("%b"))
  );

Check the updated Plunkr - http://plnkr.co/edit/7ZUSQJduYPL5VNAxBG5u?p=preview


More Query from same tag