Plot appears much different in knitted HTML than in RStudio

Yes, I see.
Referring to Struggling to knit chunk to HTML or Word :
in the left you have used the factor(Month) for the x axis and in the right plot you did not