View source: R/choropleth_GnmNum.R
lflt_choropleth_GnmNum | R Documentation |
lflt_choropleth_GnmNum()
Create a Leaflet choropleth map based on a particular data type.
In this case, you can load data with only two columns, where the firts it's a geoname column,
and the second is a numeric class column, or make sure that the first two columns of
your data meet this condition
lflt_choropleth_GnmNum(data = NULL, ...)
Gnm-Num
Other Gnm-Num plots:
lflt_bubbles_GnmNum()
data <- sample_data("Gnm-Num", n = 30) lflt_choropleth_GnmNum(data) # if you want to calculate the average instead of the sum, you can use agg inside a function lflt_choropleth_GnmNum(data, agg = "mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.