encode | R Documentation |
encode can be configured either in mark or in view
encode(x = NULL, y = NULL, ...)
x |
encoding x |
y |
encoding x |
color |
encoding color |
shape |
encoding shape |
For Bar charts, you will need to switch x and y encoding
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.