Centering Y-axis ticks (D3.js)

Centering Y-axis ticks (D3.js)
0

#1

Hello,

I am trying to move the ticks on the Y-axis, so they are halfway up each rectangle, instead of appearing at the base.

Centered ticks:

image

My ticks:

image

Is there some way to move or format the ticks?

Thanks in advance!

My project: