My table is data.combined with following structure:
\'data.frame\': 1309 obs. of 12 variables: $ Survived: Factor w/ 3 levels \"0\",\"1\",\"None\": 1 2 2
As stated above use geom_bar() instead of geom_histogram, refer sample code given below(I wanted 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)