library(googleVis)
a<-c('option1','option2','option3')
b<-c(35,80,10)
data<-data.frame(a,b)
myplot<-gvisPieChart(data,options=list(title='Example',width=1000, height=500
, tooltip = "{text:'percentage'}"))
Scripts, Articles, Relevant for DBAs, Consultants, BI, Data Scientists and Developers
library(googleVis)
a<-c('option1','option2','option3')
b<-c(35,80,10)
data<-data.frame(a,b)
myplot<-gvisPieChart(data,options=list(title='Example',width=1000, height=500
, tooltip = "{text:'percentage'}"))