I usually place my axis ticks on the svg using this:
d3.svg.axis().scale(xScale(width)).ticks(4)
Is it possible to get these tick values a
In d3 v4 I ended up just parsing the rendered x values from the tick nodes
function parseX(transformText) { let m = transformText.match(/translate\(([0-9\.]*)/); let x = m[1]; if (x) { return parseFloat(x); } }