| build_continuous_legend | R Documentation |
Creates a continuous colorbar legend specification for numeric data.
build_continuous_legend(palette, pal_colours, colour_col, data_min, data_max)
palette |
Original palette specification |
pal_colours |
Processed palette colours |
colour_col |
Name of the colour column (used as title) |
data_min |
Minimum data value |
data_max |
Maximum data value |
List with continuous legend specification
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.