tickFormat() specifies how D3 axis tick labels are displayed. Pass it a formatting function such as d3.timeFormat() to control time labels. section 4.1.2
Format months on a time axis
const bottomAxis = d3.axisBottom(xScale) .tickFormat(d3.timeFormat("%b")); Using "%b" displays abbreviated month names, such as Jan, at the x-axis ticks. section 4.1.2
const bottomAxis = d3.axisBottom(xScale)
.tickFormat(d3.timeFormat("%b"));
Inspect the complete axis declaration that chains tickFormat() with d3.timeFormat("%b"). section 4.1.2
