| build_discrete_legend | R Documentation |
Creates a discrete legend specification for categorical data.
build_discrete_legend(data, fill_col, label_col)
data |
Atlas data |
fill_col |
Name of the fill column |
label_col |
Name of the label column |
List with discrete legend specification or NULL if too many categories
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.