D3 JS - tick spacing on time axis gets messed up by month boundary
问题 Using d3.js, I found that when using a time scale for the x-axis, the major tick marks get messed up on a new month boundary. It appears to create a new tick mark on the new month even if that results in a tick too close to the previous tick. Not only does this mess up the even spacing along the axis, it also makes the tick labels overlap and look pretty ugly. See the demo at the bottom of the question to show what I mean (scroll to the right to see the problem area). Do I need a custom multi