Skip to content

Instantly share code, notes, and snippets.

@lakinwecker
Created January 1, 2019 17:03
Show Gist options
  • Save lakinwecker/4294f3f95da31c454e69ec5d9cb1fb81 to your computer and use it in GitHub Desktop.
Save lakinwecker/4294f3f95da31c454e69ec5d9cb1fb81 to your computer and use it in GitHub Desktop.
library(ggplot2)
rating_vs_happiness <- read.csv("stats.csv")
image <- ggplot(rating_vs_happiness, aes(Happiness, RatingRange, group=Source)) +
geom_point(aes(colour=Source, shape=Source, size=Source)) +
scale_shape_manual(values=c(1, 13)) +
scale_size_manual(values=c(1, 5))
image
ggsave(file="random-vs-snakedraft.svg", plot=image, width=10, height=8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment