I have a big dataset, and I have made a plot of a histogram, but the categorical variables "type of crime" on the x-axis is not visible. How do I make it visible in r?
g <- ggplot(df, aes(x = TYPE.OF.CRIME))
g + geom_histogram(bins = 30, color = "gray", stat = "count")
Warning message: Ignoring unknown parameters: binwidth, bins, pad