I am building the histogram in R using ggplot2 package using the below code-
ggplot(cohort, aes(x=ltv))+
geom_histogram()
It is supposed to result in the histogram returning 30 bins as the default, but it is not doing it. It returns one bar instead of 30 why would that be?