Helper function to create DT::styleInterval for a given data, in which Numbers are mapped to shades of green
1 | singleShadeColorInterval(data, num.breaks = 20, reverse = F)
|
data |
a vector of possible values |
num.breaks |
number of color breaks |
reverse |
reverse the color scale [default: F] |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.