Axis w/ Time Scale

Any of the scales made available in d3-scale are usable in d3plus-axis. By passing the name of the scale to the .scale( ) method, it’s possible to specify which scale should be used.

var bottom = new d3plus.AxisBottom()
  .domain([2002, 2004])

In the case of time scales, all values provided will be mapped to Javascript Date objects. In addition to the standard supported strings, 4-digit years can also be parsed.