score:0

Accepted answer

I hope that is helpfull for you

var yAxis = d3.axisLeft(yScale).ticks(5).tickFormat( function(d, i) { return data[0].values[i].label;  } );

Related Query