Created
August 1, 2018 17:22
-
-
Save josephlewis/3d6f50863d7fbf14caafc984d25b4f94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ggplot(data = dist_travelled[c(TRUE, FALSE),], aes(x = factor(1), y = distance, label = paste0(place, ", ", cumulative, "km"))) + | |
geom_line(colour = "#C70039", position = "stack", stat = "identity", size = 3) + | |
geom_point(colour = "#C70039", fill = "#DDDDDD", pch = 21, position = "stack", stat = "identity", size = 6, stroke = 3) + | |
geom_text_repel(position = position_stack(vjust = .5), colour = "#666666", family="PT Sans", force=1, point.padding=unit(1,'lines')) + | |
coord_flip() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment