Description Usage Arguments Value
Add a custom discrete color scale
1 | set_continuous_color_scale(D3partitionR_object, color_palette)
|
D3partitionR_object |
The D3partitionR object to which the data should be appended |
color_palette |
a vector of two colors, the first one is use on the bottom of the scale, the other on the top. |
A D3partitionR object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.