R bubblecharts

Nice R bubblechart tutorial at Flowing Data.  Since ggplot2 is all the rage, I thought I’d give it a spin.  Here’s the result qplot(data=crime, x=murder, y=burglary, main="2008 State Crime Data", xlab="murders per 1000", ylab="burglaries per 1000") + geom_text(aes(label=state), size=2.25, angle=45, hjust=1, vjust=1, color="blue") + geom_point(aes(size=population/1000), color="orange", alpha=0.7) + scale_size(to=c(3,15))