vegalite: Tools to Encode Visualizations with the 'Grammar of Graphics'-Like 'Vega-Lite' 'Spec'
Version 0.6.1

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'.

AuthorBob 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)
Date of publication2016-03-22 23:51:16
MaintainerBob Rudis <bob@rudis.net>
LicenseAGPL + file LICENSE
Version0.6.1
URL http://github.com/hrbrmstr/vegalite
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("vegalite")

Getting started

Package overview
README.md
Introduction to vegalite"

Popular man pages

add_data: Add data to a Vega-Lite spec
grid_facet: Facet grid aesthetics
legend_color: Legend settings (color)
reexports: Objects exported from other packages
scale_x_ordinal: Ordinal Scale
scale_x_time: Temporal Scale
timeunit_x: How to encode x-axis time values
See all...

All man pages Function index File listing

Man pages

add_data: Add data to a Vega-Lite spec
add_filter: Add a filter
axis_facet_col: General axis setttings (column facet)
axis_facet_row: General axis setttings (row facets)
axis_x: General axis setttings (x-axis)
axis_y: General axis setttings (y-axis)
bin_x: Group continuous data values (x-axis)
bin_y: Group continuous data values (y-axis)
calculate: Derive new fields
capture_widget: Capture a static (png) version of a widget (e.g. for use in a...
cell_size: Add cell size to main Vega-Lite spec
config_color: Color config
config_font: Font config
config_opacity: Opacity config
config_stroke: Stroke config
config_text: Text config
embed_spec: Scaffold HTML/JavaScript/CSS code from 'vegalite'
encode_color: Encode color "channel"
encode_detail: Encode detail "channel"
encode_order: Encode detail "order"
encode_path: Encode detail "path"
encode_shape: Encode shape "channel"
encode_size: Encode size "channel"
encode_text: Encode text "channel"
encode_x: Encode x "channel"
encode_y: Encode y "channel"
facet_cell: Facet cell aesthetics
facet_col: Create a horizontal ribbon of panels
facet_row: Create a vertical ribbon of panels
filter_null: Filter 'null' values
from_spec: Take a JSON Vega-Lite Spec and render as an htmlwidget
grid_facet: Facet grid aesthetics
JS: Mark character strings as literal JavaScript code
legend_color: Legend settings (color)
legend_shape: Legend settings (shape)
legend_size: Legend settings (size)
mark_area: Area mark
mark_bar: Bar mark
mark_circle: Circle mark
mark_line: Line mark
mark_point: Point mark
mark_square: Square mark
mark_text: Text mark
mark_tick: Tick mark
reexports: Objects exported from other packages
renderVegalite: Widget render function for use in Shiny
saveWidget: Save a widget to an HTML file
scale_color_nominal: Nominal Color Scale
scale_color_sequential: Sequential Color Scale
scale_shape: Shape Scale
scale_x_linear: Quantitative Scale
scale_x_log: Log Scale
scale_x_ordinal: Ordinal Scale
scale_x_pow: Quantitative Scale
scale_x_quantile: Quantile Scale
scale_x_quantize: Quantize Scale
scale_x_sqrt: Sqrt Scale
scale_x_threshold: Threshold Scale
scale_x_time: Temporal Scale
scale_y_linear: Linear Scale
scale_y_log: Log Scale
scale_y_ordinal: Ordinal Scale
scale_y_pow: Power Scale
scale_y_quantile: Quantile Scale
scale_y_quantize: Quantize Scale
scale_y_sqrt: Sqrt Scale
scale_y_threshold: Threshold Scale
scale_y_time: Temporal Scale
sort_def: Create a sort definition object
timeunit_x: How to encode x-axis time values
timeunit_y: How to encode y-axis time values
to_spec: Convert a spec created with widget idioms to JSON
vegalite: Create and (optionally) visualize a Vega-Lite spec
vegaliteOutput: Widget output function for use in Shiny
vegalite-package: Create Vega-Lite specs using htmlwidget idioms

Functions

Files

inst
inst/htmlwidgets
inst/htmlwidgets/spec.yaml
inst/htmlwidgets/lib
inst/htmlwidgets/lib/vega
inst/htmlwidgets/lib/vega/README.md
inst/htmlwidgets/lib/vega/package.json
inst/htmlwidgets/lib/vega/bower.json
inst/htmlwidgets/lib/vega/vega.js
inst/htmlwidgets/lib/vega/LICENSE
inst/htmlwidgets/lib/vega/vega-schema.json
inst/htmlwidgets/lib/vega-lite
inst/htmlwidgets/lib/vega-lite/vega-lite.js
inst/htmlwidgets/lib/vega-lite/vega-embed.js
inst/htmlwidgets/lib/vega-lite/vega-lite-schema.json
inst/htmlwidgets/lib/d3
inst/htmlwidgets/lib/d3/README.md
inst/htmlwidgets/lib/d3/bower.json
inst/htmlwidgets/lib/d3/d3.min.js
inst/htmlwidgets/lib/d3/LICENSE
inst/htmlwidgets/vegalite.yaml
inst/htmlwidgets/vegalite.js
inst/htmlwidgets/spec.js
inst/extdata
inst/extdata/vega3.json
inst/extdata/vega5.json
inst/extdata/vega4.json
inst/extdata/vega1.json
inst/extdata/vega6.json
inst/extdata/vega2.json
inst/extdata/vega9.json
inst/extdata/vega7.json
inst/doc
inst/doc/intro_to_vegalite.R
inst/doc/intro_to_vegalite.Rmd
inst/doc/intro_to_vegalite.html
tests
tests/testthat
tests/testthat/test-vegalite.R
tests/test-all.R
NAMESPACE
NEWS
R
R/shiny.r
R/vegalite.r
R/mark.r
R/axis.r
R/legend.r
R/transform.r
R/time.r
R/cell.r
R/facet.r
R/ggvega.r
R/phantom.r
R/encoding.r
R/zzz.r
R/scales.r
R/bin.r
R/data.r
R/config.r
R/fromspec.r
R/sort.r
R/vegalite-package.R
vignettes
vignettes/intro_to_vegalite.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/config_font.Rd
man/mark_bar.Rd
man/scale_y_ordinal.Rd
man/encode_detail.Rd
man/vegalite-package.Rd
man/axis_facet_row.Rd
man/scale_x_time.Rd
man/scale_x_quantile.Rd
man/scale_y_log.Rd
man/encode_order.Rd
man/encode_size.Rd
man/encode_text.Rd
man/filter_null.Rd
man/scale_x_threshold.Rd
man/saveWidget.Rd
man/config_color.Rd
man/legend_shape.Rd
man/mark_text.Rd
man/grid_facet.Rd
man/vegalite.Rd
man/mark_square.Rd
man/embed_spec.Rd
man/scale_x_sqrt.Rd
man/scale_y_linear.Rd
man/axis_y.Rd
man/legend_color.Rd
man/from_spec.Rd
man/scale_color_sequential.Rd
man/axis_x.Rd
man/sort_def.Rd
man/mark_area.Rd
man/timeunit_y.Rd
man/mark_tick.Rd
man/vegaliteOutput.Rd
man/encode_path.Rd
man/scale_x_quantize.Rd
man/encode_shape.Rd
man/facet_cell.Rd
man/scale_y_time.Rd
man/config_stroke.Rd
man/mark_line.Rd
man/timeunit_x.Rd
man/legend_size.Rd
man/bin_x.Rd
man/scale_y_quantize.Rd
man/to_spec.Rd
man/scale_shape.Rd
man/add_data.Rd
man/encode_color.Rd
man/config_opacity.Rd
man/scale_y_sqrt.Rd
man/config_text.Rd
man/scale_x_linear.Rd
man/reexports.Rd
man/encode_x.Rd
man/scale_y_threshold.Rd
man/facet_col.Rd
man/axis_facet_col.Rd
man/scale_x_log.Rd
man/renderVegalite.Rd
man/mark_circle.Rd
man/cell_size.Rd
man/add_filter.Rd
man/calculate.Rd
man/scale_x_ordinal.Rd
man/JS.Rd
man/facet_row.Rd
man/bin_y.Rd
man/scale_color_nominal.Rd
man/scale_y_quantile.Rd
man/scale_x_pow.Rd
man/mark_point.Rd
man/capture_widget.Rd
man/encode_y.Rd
man/scale_y_pow.Rd
LICENSE
vegalite documentation built on May 19, 2017, 11:58 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.