Color config
1 | config_color(vl, color = NULL, fill = NULL, stroke = NULL)
|
vl |
a Vega-Lite object |
color |
color of the mark – either fill or stroke color based on the filled mark config. |
fill |
fill color. This config will be overridden by color channel’s specified or mapped values if filled is true. |
stroke |
stroke color. This config will be overridden by color channel’s specified or mapped values if filled is false. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.