View source: R/create_waffle.R
Create waffle Create waffle plot on selected data
1 2 3 4 5 6 7 8 9 | create_waffle(
df,
disag,
title = "",
caption = "Welsh Health Equity Status 2020",
legend_labels = c("Yes", "No"),
plot_width = 1.6,
lang = "EN"
)
|
df |
The data to plot |
disag |
The grouping to disaggregate (can be None) |
title |
The title for the plot |
caption |
The caption for the plot |
legend_labels |
The legend labels |
plot_width |
The width of the plot |
lang |
The langauge to translate into |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.