yAxis = (label) => (g) => g
.attr('transform', `translate(${margin.left},${margin.top})`)
.call(d3.axisLeft(yScale))
.append('text')
.style('text-anchor', 'middle')
.style('fill', '#000')
.style('font-size', '14px')
.text(label)
.attr('transform', 'rotate(-90)')
.attr('x', -height / 2)
.attr('y', -40)