head(us_national_population)
if(require(ggplot2)) {
ggplot(us_national_population,
aes(x = year, y = population)) +
geom_line() +
ggtitle("Population of the United States, 1790-2010")
}
Run the code above in your browser using DataLab