Monday, April 8, 2013

RG#31: 3D- Explodated pie chart

# data
slices <- c(18, 12, 4, 16, 8, 9, 12)
lbels <- c("US", "UK", "Australia", "Germany", "Canada", "India", "China")



# plot
library(plotrix)
pie3D(slices,labels=lbels,explode=0.1, main="3D- explodated Pie Chart")


 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.