test1

Table of Contents

1 test 1: using pie chart with INFOJS

  • an interactive plot
library(googleVis)
d <- data.frame(name=letters[1:5], value=1:5)
x <- gvisPieChart(d)
print(x, 'chart')
  • a regular plot
pie(d$value, labels=d$name)

plot.png