View source: R/percent_treemap.R
percent_treemap | R Documentation |
Creates a treemapify ggplot2 object for the input data frame column. This serves as a replacement for a pie chart.
percent_treemap(df, column, title)
df |
data frame; a risk data frame to be summarized |
column |
unquoted column name to be summarized. |
title |
character; Title for the plot. |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.