Generate mapping for labeling percentages
1 | aes_percentage(relative_to, digits = 0, sep = "")
|
relative_to |
defines proportion that should be calculated, relative to |
digits |
number of digits to show (default=0) |
sep |
separator separator between the digit and percent sign (no separator by default) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.