xAxis = g => g
.attr("transform", `translate(0, ${params.height - params.margin.bottom})`)
.call(d3.axisBottom(x).ticks(10, ","))
.call(g => g.append("text")
.attr("font-size", 15)
.attr("x", params.width)
.attr("y", params.margin.bottom - 4)
.attr("fill", "currentColor")
.attr("text-anchor", "end")
.text(`Total ${yTypeT} →`)
)