Tools to Encode Visualizations with the 'Grammar of Graphics'-Like 'Vega-Lite' 'Spec'
Threshold Scale
Temporal Scale
Create a sort definition object
How to encode x-axis time values
How to encode y-axis time values
Convert a spec created with widget idioms to JSON
Create Vega-Lite specs using htmlwidget idioms
Create and (optionally) visualize a Vega-Lite spec
Widget output function for use in Shiny
Add data to a Vega-Lite spec
Add a filter
General axis setttings (column facet)
General axis setttings (row facets)
General axis setttings (x-axis)
General axis setttings (y-axis)
Group continuous data values (x-axis)
Group continuous data values (y-axis)
Derive new fields
Capture a static (png) version of a widget (e.g. for use in a PDF knit...
Add cell size to main Vega-Lite spec
Color config
Font config
Opacity config
Stroke config
Text config
Scaffold HTML/JavaScript/CSS code from vegalite
Encode color "channel"
Encode detail "channel"
Encode detail "order"
Encode detail "path"
Encode shape "channel"
Encode size "channel"
Encode text "channel"
Encode x "channel"
Encode y "channel"
Facet cell aesthetics
Create a horizontal ribbon of panels
Create a vertical ribbon of panels
Filter 'null' values
Take a JSON Vega-Lite Spec and render as an htmlwidget
Facet grid aesthetics
Mark character strings as literal JavaScript code
Legend settings (color)
Legend settings (shape)
Legend settings (size)
Area mark
Bar mark
Circle mark
Line mark
Point mark
Square mark
Text mark
Tick mark
Objects exported from other packages
Widget render function for use in Shiny
Save a widget to an HTML file
Nominal Color Scale
Sequential Color Scale
Shape Scale
Quantitative Scale
Log Scale
Ordinal Scale
Quantitative Scale
Quantile Scale
Quantize Scale
Sqrt Scale
Threshold Scale
Temporal Scale
Linear Scale
Log Scale
Ordinal Scale
Power Scale
Quantile Scale
Quantize Scale
Sqrt Scale
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'.