add_glyph <- function(data, layer) {
if (empty(data))
return(data)
if ("assign_glyphs" %in% ls(layer)) {
data <- layer$assign_glyphs(data)
}
if (is.null(data$GLYPH)) {
data$GLYPH <- 1L
}
data
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.