ggplot(mpg) + geom_point(var1, var2, colour = var3) + #specify variable to colour mapping scale_colour_brewer(type = "qual")