Skip to contents

Creates a treemapify ggplot2 object for the input data frame column. This serves as a replacement for a pie chart.

Usage

percent_treemap(df, column, title)

Arguments

df

data frame; a risk data frame to be summarized

column

unquoted column name to be summarized.

title

character; Title for the plot.

Value

A ggplot2 object.