Want to solve programming problems and get paid for it? If that sounds interesting to you then contact us.
I had the same issue in the past to resolve my issue i followed bellow instructions
Please use geom_bar() instead of geom_histogram, Also please refer sample code given bellow it provides separate graph for each month for birth date data:
ggplot(data = pf,aes(x=dob_day))+ geom_bar()+ scale_x_discrete(breaks = 1:31)+ facet_wrap(~dob_month,ncol = 3)