horizonchart_xAxis = g => g
.attr("transform", `translate(0,${horizonchart_margin.top})`)
.call(d3.axisTop(horizonchart_x).ticks(width / 80).tickSizeOuter(0))
.call(g => g.selectAll(".tick").filter(d => horizonchart_x(d) < horizonchart_margin.left || horizonchart_x(d) >= width - horizonchart_margin.right).remove())
.call(g => g.select(".domain").remove())