Pie chart (3D)

DK-BigData
이동: 둘러보기, 찾기

Pie chart (3D)

> # data
> slices <- c(18, 12, 4, 16, 8, 9, 12)
> lbels <- c("US", "UK", "Australia", "Germany", "Canada", "India", "Korea")
> library(plotrix)
> pdf(pie3d.pdf, width=10, height=7)
> pie3D(slices,labels=lbels,explode=0.1, main="3D Pie Chart", mar=c(4,2,4,2))