pie {charts} R Documentation

Pie Charts

Description


Draw a pie chart.

Usage

pie(x,
    schema = "Paired:c12",
    d3 = FALSE,
    camera = NULL,
    size = "1600,1200");

Arguments

x

a vector Of non-negative numerical quantities. The values In x are displayed As the areas Of pie slices.

d3

[as boolean]

Details

Pie charts are a very bad way of displaying information. The eye is good at judging linear measures and bad at judging relative areas. A bar chart or dot chart is a preferable way of displaying this type of data. Cleveland (1985), page 264 “Data that can be shown by pie charts always can be shown by a dot chart. This means that judgements of position along a common scale can be made instead of the less accurate angle judgements.” This statement Is based on the empirical investigations of Cleveland And McGill as well as investigations by perceptual psychologists.

Authors

graphics

Value

this function returns data object of type any kind.

clr value class

Examples


[Package charts version 1.0.0.0 Index]