How to make the beginning of the month marked on axisX?

5def8d969539b974172873.png
Trying to do but not impossible.
I already knew how to add a secondary X-axis but display only the month for the first date, and next month for the start date ?

let xAxis = g => g
 .attr("transform", `translate(0,${height - margin.bottom})`)
 .attr("class", "xAxis")
 .call(d3.axisBottom(x).tickFormat(d3.timeFormat("%-d")).tickSizeOuter(0).tickSize(0).tickPadding(15))
April 3rd 20 at 17:18
0 answer

Find more questions by tags JavaScriptD3.js