Description Usage Arguments Value See Also
For plotting awareness by product.
1 2 | horizontal_bars_plot(adf, title_string, ordered_terms, color_vec,
pc_end = FALSE)
|
adf |
dataframe, ideally the output of conflcting_evaluations(). |
title_string |
string, title of plot. |
ordered_terms |
vector, ordered factors for column of interest. |
color_vec |
vector, strings denoting colours for all bar colour options (eg. "Yes", "No", "Brand but not product", etc.). |
pc_end |
logical, if TRUE, tacks on total, sum(per_x) to end of bars; otherwise sec_tally. |
A plotly bar plot with parallel horizontal bars.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.