I have downloaded RCharts by doing the following:
require(devtools)
require(stringi)
install_github('rCharts', 'ramnathv')
library(rCharts)
My dataset is as follows:
Country<-c('ANTARCTICA','ARMENIA','CHINA','UNITED STATES','BRAZIL')
Pay<-c(20,50,100,13,43)
mapping<-data.frame(Country,Pay)
head(mapping)
Country Pay
1 ANTARCTICA 20
2 ARMENIA 50
3 CHINA 100
4 UNITED STATES 13
5 BRAZIL 43
I want to create an interactive R Chart (NOT IN SHINY) where it is a world map and the colors represent the "Pay" when hovering over each country.
Here is an example but it is just with the United States by State. My goal is to get a world map and do it by country instead.