Description Usage Arguments Value Examples
Add a legend to a map
1 2 | add_legend(map, title = "", prefix = "", suffix = "",
d3_format = NULL, d3_locale = NULL)
|
map |
A |
title |
Title for the legend. |
prefix |
A prefix of legend labels. |
suffix |
A suffix of legend labels. |
d3_format |
A string passed to |
d3_locale |
Locale for |
A r2d3map
htmlwidget
object.
1 2 3 4 5 6 | ## Not run:
# todo
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.