Skip to contents

Make a pie chart

Usage

ggpie(data, fill, legend = "none")

Arguments

data

A character vector with one element.

fill

The variable to fill the pie.

legend

The default does not return a legend.

Value

A ggplot2 object.

Examples

ggpie(palmerpenguins::penguins, fill = island)