Change numeric column(s) to have a colored, centered data bar
element in each cell. The length of the bar is based on the range of values
in the column. Changes the contents
field.
1 2 |
col |
Numeric or character vector of which columns to target. |
color1 |
Character vector (length 1) of an HTML color name, hex color code, or rgb color of the form rgb(x, y, z). Used to color the data bars for the positive values. |
color2 |
Character vector (length 1) of an HTML color name, hex color code, or rgb color of the form rgb(x, y, z). Used to color the data bars for the negative values. |
exclude_rows |
Numeric vector of which rows to exclude from calculation and styling. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.