For anyone who got to this question because all you want to do is remove the two end ticks from an axis, this will do the trick:
.outerTickSize(0)
Add that to any axis call you make, such as:
d3.svg.axis().outerTickSize(0)
For anyone who got to this question because all you want to do is remove the two end ticks from an axis, this will do the trick:
.outerTickSize(0)
Add that to any axis call you make, such as:
d3.svg.axis().outerTickSize(0)