No, there's not a d3 function that will draw this for you (that I know of). You can look into polylinear scales, but I don't think there's a corresponding axis implementation.
But, why are you doing this in the first place? Truncating the axis for bar charts is a horrible thing to do. If you want to see the differences between the bars, use a line plot, and you don't need to even show where zero is on the axis.