xAxis = g => g
.attr("transform", `translate(0,${chartHeight - margin.bottom})`)
.call(d3.axisTop(x).tickSizeOuter(0).tickSizeInner(chartHeight - margin.bottom - margin.top))
.call(g => {
g.select(".domain").remove();
g.selectAll(".tick line").attr("stroke", "white").attr("stroke-width", 0.5)
})