generate_legend_html | R Documentation |
Generate Legend HTML
generate_legend_html(var_1, var_2, var_1_breaks, var_2_breaks, color_matrix)
var_1 |
Character string naming first variable |
var_2 |
Character string naming second variable |
var_1_breaks |
Numeric vector of breaks for first variable |
var_2_breaks |
Numeric vector of breaks for second variable |
color_matrix |
Matrix of colors |
HTML string for legend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.