Created
November 4, 2019 21:30
-
-
Save StatsRhian/90fc068a989ad2d228edc92f90221553 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
library("gapminder") | |
library("ggplot2") | |
library("plotly") | |
data(gapminder, package = "gapminder") | |
g = ggplot(gapminder, aes(x = gdpPercap, y = lifeExp, | |
size = pop, colour = continent, | |
frame = year, label = country)) + | |
geom_point(alpha = 0.5) | |
ggplotly(g) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment