View source: R/choropleth_GcdNum.R
lflt_choropleth_GcdNum | R Documentation |
lflt_choropleth_GcdNum()
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 geocode 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_GcdNum(data = NULL, ...)
Gcd-Num
Other Gcd-Num plots:
lflt_bubbles_GcdNum()
data <- sample_data("Gcd-Num", n = 30) lflt_choropleth_GcdNum(data) # if you want to calculate the average instead of the sum, you can use agg inside a function lflt_choropleth_GcdNum(data, agg = "mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.