I am using a crime data set from kaggle and I am trying to create a simple barplot
which plots the crime type on x axis and how frequency the crime was committed on y axis. Although because there are a lot of crime types, the x axis is very messy. I did some research on how to make the labels vertical although they still are unreadable.
Are there any other ways I can clean this plot up without editing all of the crime names? My current code is:
tab2 <- table(crimeData$Crime.Code.Description)
barplot(tab2,main="Crime Areas",las=2)