abm_bullet | R Documentation |
Create bullet graph with reference line
abm_bullet(label, value, reference, roundto = 1, pct = FALSE)
label |
a label for the indicator, shown to the left of the gauge |
value |
the value of the indicator, displayed as a horizontal wide line |
reference |
a reference value displayed as a vertical thin line |
roundto |
number of digits after the decimal point (default = 1) |
pct |
boolean, set to TRUE if given value is a share (default = FALSE) |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.