So you are drawing all your rects over each other. The documentation indicates that the domain for a band scale must be continuous and numeric and dates are not those things. You can use a linear scale and a set width bar or try using an ordinal scale instead of a band scale. If you use a fixed with bar and linear (time) scale, then it’s up to you to insure that the bars are the right width to appear in the correct places on the x-axis.