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

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
http://github.com/hrbrmstr/vegalite

View on CRAN

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

\%>\% Man page
add_data Man page
add_filter Man page
axis_facet_col Man page
axis_facet_row Man page
axis_x Man page
axis_y Man page
bin_x Man page
bin_y Man page
calculate Man page
capture_widget Man page
cell_size Man page
config_color Man page
config_font Man page
config_opacity Man page
config_stroke Man page
config_text Man page
embed_spec Man page
encode_color Man page
encode_detail Man page
encode_order Man page
encode_path Man page
encode_shape Man page
encode_size Man page
encode_text Man page
encode_x Man page
encode_y Man page
facet_cell Man page
facet_col Man page
facet_row Man page
filter_null Man page
from_spec Man page
grid_facet Man page
JS Man page
legend_color Man page
legend_shape Man page
legend_size Man page
mark_area Man page
mark_bar Man page
mark_circle Man page
mark_line Man page
mark_point Man page
mark_square Man page
mark_text Man page
mark_tick Man page
reexports Man page
renderVegalite Man page
saveWidget Man page
scale_color_nominal Man page
scale_color_sequential Man page
scale_shape Man page
scale_x_linear Man page
scale_x_log Man page
scale_x_ordinal Man page
scale_x_pow Man page
scale_x_quantile Man page
scale_x_quantize Man page
scale_x_sqrt Man page
scale_x_threshold Man page
scale_x_time Man page
scale_y_linear Man page
scale_y_log Man page
scale_y_ordinal Man page
scale_y_pow Man page
scale_y_quantile Man page
scale_y_quantize Man page
scale_y_sqrt Man page
scale_y_threshold Man page
scale_y_time Man page
sort_def Man page
timeunit_x Man page
timeunit_y Man page
to_spec Man page
vegalite Man page
vegaliteOutput Man page
vegalite-package Man page

Files

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

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

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

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