glyph: 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.

Package details

AuthorJoash Joshua Ayo [aut, cre], Mike Bostock [ctb, cph] (Author of the bundled D3.js library)
MaintainerJoash Joshua Ayo <joashjoshua789@gmail.com>
LicenseMIT + file LICENSE
Version0.2.0
URL https://github.com/josh45-source/glyph  https://josh45-source.github.io/glyph/ 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("glyph")

Try the glyph package in your browser

Any scripts or data that you put into this service are public.

glyph documentation built on Oct. 21, 2026, 5:12 p.m.