I'm working in D3.js and I'd like to draw an axis with tick labels offset from tick lines.
An image may be the best way to explain this:
So the white tick lines are not in the same place as the Jan/Feb/Mar tick labels, but are offset along the x-axis.
I am currently using an ordinal series for the x-axis, and passing in a set of explicit tickValues
.
I can't see any way to offset tick lines from tick labels in the D3 axis documentation. Should I simply draw the ticks manually?