A Grammar of Interactive Graphics

Builds interactive graphics from a declarative specification. Marks, scales, tooltips, zoom, brushing, linked selections, animated transitions and multi-plot layouts are declared in one pipeline and stored as a plain R list that can be inspected, saved as JSON or converted to 'Vega-Lite'. Plots are drawn in the browser with 'D3.js' and work at the console, in R Markdown and 'Quarto' documents, and in 'Shiny' apps, where brushed selections are returned to R.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("glyph")

0.2.0 by Joash Joshua Ayo, 14 days ago


https://github.com/josh45-source/glyph, https://josh45-source.github.io/glyph/


Report a bug at https://github.com/josh45-source/glyph/issues


Browse source code at https://github.com/cran/glyph


Authors: Joash Joshua Ayo [aut, cre] , Mike Bostock [ctb, cph] (Author of the bundled D3.js library)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports htmlwidgets, jsonlite, rlang, cli, grDevices, stats, utils, tools

Suggests testthat, knitr, rmarkdown, chromote, htmltools, withr, shiny, callr, httpuv, pkgload


See at CRAN