I am trying to visualize the population per year in R with a ggplot.
I would like to have years on the x axis and population on the Y axis.
Have the following code:
df <- read.csv("http://www.statistikdatabasen.scb.se/sq/13965", header=TRUE, sep=",", na.strings="NA", dec=".",stringsAsFactor=F)
library(ggplot2)
ggplot(df, aes(x=year))+geom_bar()
Any suggestions how i can proceed?