| glyph | R Documentation |
Entry point for the glyph grammar. Creates a specification that describes a visualization declaratively. The spec is a plain nested list: it can be inspected, serialized to JSON, and compiled into an interactive HTML widget.
glyph(data = NULL, ...)
data |
A data frame or tibble, or |
... |
Global aesthetic mappings, written as bare column names or
expressions, e.g. |
A glyph_spec object
spec <- glyph(mtcars, x = wt, y = mpg) |>
mark_point()
summary(spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.