| cluster_deck | R Documentation | 
mapdeck pointcloud'cluster_deck' is a convenience function to create a pointcloud map to visualize clustered coordinates.
cluster_deck(
  df,
  tooltip = "sp_temporal_cluster",
  fill_colour = "sp_temporal_cluster",
  elevation = NULL,
  radius = 10,
  palette = "viridis",
  legend = TRUE
)
df | 
 an sf object  | 
tooltip | 
 character; name of column or HTML text to render as a tooltip.  | 
fill_colour | 
 character; name of column or hex color used to fill points.  | 
elevation | 
 character; name of column with elevation values.  | 
radius | 
 numeric; value in pixels of each point.  | 
palette | 
 string or matrix; indicates a color palette.  | 
legend | 
 logical; either a logical indicating if the legend should be displayed, or a named list indicating which color attributes should be included in the legend.  | 
See (add_pointcloud)
## Not run: 
cluster_deck(df,
  tooltip = "cluster_grp", fill_colour = "cluster_grp",
  elevation = NULL, radius = 10, palette = "viridis", legend = TRUE
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.