powered by
Population, percent in poverty, percent unemployment, and murder rate.
murders
A data frame with 20 metropolitan areas on the following 4 variables.
Population.
Percent in poverty.
Percent unemployed.
Number of murders per year per million people.
library(ggplot2) ggplot(murders, aes(x = perc_pov, y = annual_murders_per_mil)) + geom_point() + labs( x = "Percent in poverty", y = "Number of murders per year per million people" )
Run the code above in your browser using DataLab