mbostock/d3 — pull request #469 by larskotthoff (2012-01-25 19:55:08+00:00)
Title: add option to arrange axis labels automatically

Introduces the "arrange" option for the axis components. If set to true and the
axis labels overlap, it will use a simple linear probing algorithm to shift the
labels such that they do not overlap anymore. Adds an element line.tickPointer
that will point from the axis tick to the shifted label. Also adds the class
tick to the axis tick line to be able to distinguish the two.

This is a preliminary implementation that doesn't allow a lot of customisation
and provides only the most basic functionality. The new option defaults to
false, in which case there is no change to the previous behaviour.

Example at http://bl.ocks.org/1678215

Not particularly useful in this context, more so in conjunction with https://github.com/mbostock/d3/pull/326