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:
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')) |
Bug tracker:https://github.com/hrbrmstr/vegalite/issues
data-visualizationdatavisualizationvega-litevega-lite-specvisualizationwidget
Last updated 6 years agofrom:385369840c. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 13 2024 |
R-4.5-win | OK | Aug 13 2024 |
R-4.5-linux | OK | Aug 13 2024 |
R-4.4-win | OK | Aug 13 2024 |
R-4.4-mac | OK | Aug 13 2024 |
R-4.3-win | OK | Aug 13 2024 |
R-4.3-mac | OK | Aug 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create Vega-Lite specs using htmlwidget idioms | vegalite-package |
Add data to a Vega-Lite spec | add_data |
Add a filter | add_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 fields | calculate |
Capture a static (png) version of a widget (e.g. for use in a PDF knitr document) | capture_widget |
Deprecated 'cell' functions | cell_config cell_size facet_cell grid_facet |
Color config | config_color |
Font config | config_font |
Opacity config | config_opacity |
Stroke config | config_stroke |
Text config | config_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' values | filter_null |
Take a JSON Vega-Lite Spec and render as an htmlwidget | from_spec |
Mark character strings as literal JavaScript code | JS |
Legend settings (all) | legend_color legend_shape legend_size legend_vl |
Mark | mark mark_area mark_bar mark_circle mark_line mark_point mark_square mark_text mark_tick |
Widget render function for use in Shiny | renderVegalite renderVegaliteSpec |
Save a widget to an HTML file | saveWidget |
Vega-Lite Scales | scale_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 object | sort_def |
How to encode time values | timeunit timeunit_x timeunit_y |
Convert a spec created with widget idioms to JSON | to_spec |
validate_vl | validate_vl |
Create and (optionally) visualize a Vega-Lite spec | vegalite |
Widget output function for use in Shiny | vegaliteOutput vegaliteSpecOutput |
view aesthetics | view_config view_size |