yAxis= g => g
.attr('transform',`translate(${margin.left},0)`)
.attr("color","steelblue")
.call(d3.axisLeft(y).ticks(4).tickSize(-width+margin.left+margin.right))
.call(g => g.select(".domain").remove())
.call(g => g.select(".tick:last-of-type text").clone()
.attr("x", 3)
.attr("text-anchor", "start")
.attr("font-weight", "bold")
.text(data.yAxisName))