Advertisement
Guest User

Untitled

a guest
May 4th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #if you haven't yet, install googleVis package as such:
  2. #install.packages("googleVis")
  3.  
  4. #Load the PieChart Function
  5. library("gvisPieChart")
  6.  
  7. #create PieChart and add data
  8. mdgPie <- gvisPieChart(data=mdg1, options=list(title="Amount of Money Spent in Kenya to Fund Millenium Development Goals"))
  9.  
  10. #Plot Pie Chart
  11. plot(mdgPie)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement