Tools to Encode Visualizations with the 'Grammar of Graphics'-Like 'Vega-Lite' 'Spec'

The 'Vega-Lite' 'JavaScript' framework provides a higher-level grammar for visual analysis, akin to 'ggplot' or 'Tableau', that generates complete 'Vega' specifications. Functions exist which enable building a valid 'spec' from scratch or importing a previously created 'spec' file. Functions also exist to export 'spec' files and to generate code which will enable plots to be embedded in properly configured web pages. The default behavior is to generate an 'htmlwidget'.


Reference manual

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


0.6.1 by Bob Rudis, 4 years ago

Report a bug at

Browse source code at

Authors: Bob Rudis [aut, cre] , Kanit Wongsuphasawat , [aut] (Vega-Lite library) , Jeffrey Heer [aut] (Vega-Lite library) , Arvind Satyanarayan [aut] (Vega-Lite library) , Mike Bostock [aut] (D3 library)

Documentation:   PDF Manual  

AGPL + file LICENSE license

Imports jsonlite, htmlwidgets, htmltools, magrittr, digest, tools, clipr, utils, webshot, base64, stats

Suggests testthat, knitr, rmarkdown

Enhanced by repr.

See at CRAN