Package: vegalite 2.0.1

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

Authors:Bob Rudis [aut, cre], Kanit Wongsuphasawat, [aut], Jeffrey Heer [aut], Arvind Satyanarayan [aut], Mike Bostock [aut], Zening [aut], Jia [ctb], Jason Becker [aut, ctb], Alicia Schep [aut, ctb], Stuart Lee [ctb]

vegalite_2.0.1.tar.gz
vegalite_2.0.1.zip(r-4.5)vegalite_2.0.1.zip(r-4.4)vegalite_2.0.1.zip(r-4.3)
vegalite_2.0.1.tgz(r-4.4-any)vegalite_2.0.1.tgz(r-4.3-any)
vegalite_2.0.1.tar.gz(r-4.5-noble)vegalite_2.0.1.tar.gz(r-4.4-noble)
vegalite_2.0.1.tgz(r-4.4-emscripten)vegalite_2.0.1.tgz(r-4.3-emscripten)
vegalite.pdf |vegalite.html
vegalite/json (API)
NEWS

# Install 'vegalite' in R:
install.packages('vegalite', repos = c('https://hrbrmstr.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/hrbrmstr/vegalite/issues

On CRAN:

data-visualizationdatavisualizationvega-litevega-lite-specvisualizationwidget

87 exports 158 stars 4.98 score 36 dependencies 77 scripts 162 downloads

Last updated 6 years agofrom:385369840c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 13 2024
R-4.5-winOKAug 13 2024
R-4.5-linuxOKAug 13 2024
R-4.4-winOKAug 13 2024
R-4.4-macOKAug 13 2024
R-4.3-winOKAug 13 2024
R-4.3-macOKAug 13 2024

Exports:%>%add_dataadd_filteraxis_facet_colaxis_facet_rowaxis_vlaxis_xaxis_ybin_vlbin_xbin_ycalculatecapture_widgetcell_configcell_sizeconfig_colorconfig_fontconfig_opacityconfig_strokeconfig_textembed_specencode_colorencode_detailencode_orderencode_pathencode_shapeencode_sizeencode_textencode_vlencode_xencode_yfacet_cellfacet_colfacet_rowfilter_nullfrom_specgrid_facetJSlegend_colorlegend_shapelegend_sizelegend_vlmarkmark_areamark_barmark_circlemark_linemark_pointmark_squaremark_textmark_tickrenderVegaliterenderVegaliteSpecsaveWidgetscale_color_nominal_vlscale_color_sequential_vlscale_shape_vlscale_vlscale_x_linear_vlscale_x_log_vlscale_x_ordinal_vlscale_x_pow_vlscale_x_quantile_vlscale_x_quantize_vlscale_x_sqrt_vlscale_x_threshold_vlscale_x_time_vlscale_y_linear_vlscale_y_log_vlscale_y_ordinal_vlscale_y_pow_vlscale_y_quantile_vlscale_y_quantize_vlscale_y_sqrt_vlscale_y_threshold_vlscale_y_time_vlsort_deftimeunittimeunit_xtimeunit_yto_specvalidate_vlvegalitevegaliteOutputvegaliteSpecOutputview_configview_size

Dependencies:askpassbase64base64encbslibcachemcallrclidigestevaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeopensslprocessxpsR6rappdirsrlangrmarkdownsasssystinytexwebshotxfunyaml

Introduction to vegalite

Rendered fromintro_to_vegalite.Rmdusingknitr::rmarkdownon Aug 13 2024.

Last update: 2018-05-15
Started: 2016-03-18

Readme and manuals

Help Manual

Help pageTopics
Create Vega-Lite specs using htmlwidget idiomsvegalite-package
Add data to a Vega-Lite specadd_data
Add a filteradd_filter
General axis settings (all)axis_facet_col axis_facet_row axis_vl axis_x axis_y
Group continuous data values (all)bin_vl bin_x bin_y
Derive new fieldscalculate
Capture a static (png) version of a widget (e.g. for use in a PDF knitr document)capture_widget
Deprecated 'cell' functionscell_config cell_size facet_cell grid_facet
Color configconfig_color
Font configconfig_font
Opacity configconfig_opacity
Stroke configconfig_stroke
Text configconfig_text
Scaffold HTML/JavaScript/CSS code from 'vegalite'embed_spec
Encode all "channels"encode encode_color encode_detail encode_order encode_path encode_shape encode_size encode_text encode_vl encode_x encode_y facet_col facet_row
Filter 'null' valuesfilter_null
Take a JSON Vega-Lite Spec and render as an htmlwidgetfrom_spec
Mark character strings as literal JavaScript codeJS
Legend settings (all)legend_color legend_shape legend_size legend_vl
Markmark mark_area mark_bar mark_circle mark_line mark_point mark_square mark_text mark_tick
Widget render function for use in ShinyrenderVegalite renderVegaliteSpec
Save a widget to an HTML filesaveWidget
Vega-Lite Scalesscale_color_nominal_vl scale_color_sequential_vl scale_shape_vl scale_vl scale_x_linear_vl scale_x_log_vl scale_x_ordinal_vl scale_x_pow_vl scale_x_quantile_vl scale_x_quantize_vl scale_x_sqrt_vl scale_x_threshold_vl scale_x_time_vl scale_y_linear_vl scale_y_log_vl scale_y_ordinal_vl scale_y_pow_vl scale_y_quantile_vl scale_y_quantize_vl scale_y_sqrt_vl scale_y_threshold_vl scale_y_time_vl
Create a sort definition objectsort_def
How to encode time valuestimeunit timeunit_x timeunit_y
Convert a spec created with widget idioms to JSONto_spec
validate_vlvalidate_vl
Create and (optionally) visualize a Vega-Lite specvegalite
Widget output function for use in ShinyvegaliteOutput vegaliteSpecOutput
view aestheticsview_config view_size