plot_bar_h | R Documentation |
Simple horizontal barplot
plot_bar_h( data, item, barcolor = "#1F407A", barwidth = 0.8, texthjust = 2, textsize = 8, min_textsize = 5 )
data |
a |
item |
a survey item |
barcolor |
optional argument to set the color of the bar |
barwidth |
optional argument to define the width of the bar |
texthjust |
optional argument to adjust the text's horizontal alignment |
textsize |
optional argument to adjust the text's size |
min_textsize |
optional argument to set the minimum text size |
a horizontal barplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.