Skip to content

Instantly share code, notes, and snippets.

@allanjust
allanjust / datasaurus.R
Last active May 4, 2017 01:45 — forked from ramnathv/datasaurus.R
Datasaurus in R
library(ggplot2)
library(datasauRus)
library(gganimate)
p <- ggplot(datasaurus_dozen, aes(x = x, y = y, frame = dataset)) +
geom_point() +
theme(legend.position = "none")
gg_animate(p, title_frame = FALSE)