View source: R/visualization-fncs.R
Quick leaflet for polygons that need to be colored by a column.
1 2 3 4 5 6 | quick.leaflet(
st_df,
color_by = "div_type",
pal = RColorBrewer::brewer.pal(8, "Dark2"),
weight = 8
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.