| mark_bar | R Documentation |
Add a bar mark
mark_bar(spec, ..., data = NULL, style = list(), orient = "vertical")
spec |
A glyph_spec |
... |
Aesthetic mappings (x, y, color, size, shape, alpha, tooltip) |
data |
Optional per-mark data override |
style |
Named list of fixed visual properties |
orient |
"vertical" or "horizontal" |
Modified glyph_spec object with the bar mark added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.