View source: R/plot_group_volume_lollipop.R
plot_group_volume_lollipop | R Documentation |
Quick plot for a topic (or any group) volume lollipop chart
plot_group_volume_lollipop(df, group_var = name, project_name = "project")
df |
your data frame or tibble object |
group_var |
the variable you wish to produce grouped volume for, e.g. topic, or name (if pivot_longer and not renaming) |
project_name |
a string which will be pasted into the title, e.g. "project_name = Internal Project" gives "Internal Project - Topic Volume" as title. |
a ggplot object
## Not run:
Example 1:
plot_group_volume_lollipop(df, group_var = topic, project_name = "My Private Project")
Example 2:
plot_group_volume_lollipop(df, group_var = social_network,
project_name = "Sportswear Landscape Analysis")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.