yAxis = g => g.attr("transform", `translate(${width - margin.right}, 0)`)
.call(d3.axisLeft(y).tickSize(width - margin.left - margin.right))
.call(g => g.select(".domain").remove())
.call(g => g.selectAll(".tick:not(:first-of-type) line")
.attr("stroke-opacity", 0.5)
.attr("stroke-dasharray", "2,2"))
.call(g => g.selectAll(".tick:first-of-type text").remove());