discrete_coloring_categorical | R Documentation |
Generates the parameters necessary for discrete coloring and colorbar
discrete_coloring_categorical(categories, color_palette, range_min, range_max)
categories |
categories, for coloring should done |
color_palette |
the color palette |
range_min |
max of z range; (default: length(categories)) |
list(colorscale, tickvals, ticktext)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.