Trying to learn and implement d3.js for the first time.
In the fiddle, we needed to reduce the width of each bar from
When doing so, the horizontal x axis labels are getting dis-aligned with vertical bars which is not needed.
Tried to see a few solutions:
Try this code:
.rangeBands([0, width], someValue)