powered by
Draw a Donut plot
ggDonut(data, mapping, addDonutLabel = TRUE, showRatio = TRUE, polar = TRUE, labelposition = 1, title = "", interactive = FALSE)
A data.frame
Set of aesthetic mappings created by aes or aes_.
A logical value. If TRUE, labels are added to the Donuts
A logical value. If TRUE, Ratios are added to the DonutLabels
A logical value. If TRUE, coord_polar() function will be added
A number indicating the label position
Plot title
A logical value. If TRUE, an interactive plot will be returned
An interactive Pie and Donut plot
# NOT RUN { require(ggplot2) require(ggiraph) require(plyr) ggDonut(browsers,aes(donuts=version,count=share)) # }
Run the code above in your browser using DataLab