Creating plotly maps in R
Creating plotly maps in R
library('plotly')
#data
type='choropleth',
locations=lifeEXp$iso_alpha,
z=lifeEXp$meanLifeEXp,
text=lifeEXp$country)%>%
fig
type='choropleth',
locations=EuroAmerica$iso_alpha,
z=EuroAmerica$gdpPercap,
text=EuroAmerica$country,
frame = EuroAmerica$year)%>%
fig
type='choropleth',
locations=Africa$iso_alpha,
z=Africa$pop,
text=Africa$country,
frame = Africa$year)%>%
fig