Only Showing Specific Tick Labels

Sometimes it’s necessary to only show the labels for specific ticks. By passing an array of values to the .labels( ) method, it’s possible to specify which tick labels are visible on the axis:

var bottom = new d3plus.AxisBottom()
  .domain([0, 10])
  .labels([0, 1, 3, 5, 7, 8, 9, 10])
  .width(600)
  .height(300)
  .render();