Description Usage Format Examples
A 'sf' object where each polygon represents a state
A 'sf' object of centroids of each state
1 2 3  | 
sf
1 2 3 4 5 6 7 8 9  | ## Not run: 
library(leaflet)
library(tilegramsR)
data <- sf_NPR.DemersCartogram
leaflet(data,
  options=leafletOptions(crs=leafletCRS("L.CRS.Simple"))) %>%
  addPolygons()
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.