Package: gglite 0.0.32

gglite: Lightweight Data Visualization via the Grammar of Graphics

A lightweight R interface to the AntV G2 JavaScript visualization library with a ggplot2-style API. Supports rendering in litedown, R Markdown, Quarto, Jupyter notebooks (via the R kernel), Shiny, and standalone HTML previews.

Authors:Yihui Xie [aut, cre]

gglite_0.0.32.tar.gz
gglite_0.0.32.zip(r-4.7)gglite_0.0.32.zip(r-4.6)gglite_0.0.32.zip(r-4.5)
gglite_0.0.32.tgz(r-4.6-any)gglite_0.0.32.tgz(r-4.5-any)
gglite_0.0.32.tar.gz(r-4.7-any)gglite_0.0.32.tar.gz(r-4.6-any)
gglite_0.0.32.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
gglite/json (API)
NEWS

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

Bug tracker:https://github.com/yihui/gglite/issues

On CRAN:

Conda:

6.19 score 39 stars 44 scripts 80 exports 1 dependencies

Last updated from:30024a2cc5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK117
source / vignettesOK174
linux-release-x86_64OK154
macos-release-arm64OK97
macos-oldrel-arm64OK98
windows-develOK67
windows-releaseOK72
windows-oldrelOK67
wasm-releaseOK98

Exports:animateaxis_xaxis_ycanvaschart_htmlcoord_coord_helixcoord_parallelcoord_polarcoord_radarcoord_radialcoord_thetacoord_transposeencodefacet_circlefacet_rectg2g2Outputinteractjslegend_colorlegend_opacitylegend_shapelegend_sizemark_areamark_beeswarmmark_boxmark_boxplotmark_cellmark_chordmark_connectormark_densitymark_edgemark_force_graphmark_gaugemark_heatmapmark_imagemark_intervalmark_linemark_line_xmark_line_ymark_linkmark_liquidmark_nodemark_packmark_partitionmark_pathmark_pointmark_polygonmark_rangemark_range_xmark_range_ymark_rectmark_sankeymark_shapemark_sunburstmark_textmark_treemark_treemapmark_vectormark_word_cloudrenderG2scale_colorscale_opacityscale_shapescale_sizescale_xscale_yscroll_xscroll_yslider_xslider_ystyle_marktheme_academytheme_classictheme_classic_darktheme_darktheme_lighttitlestooltip

Dependencies:xfun

gglite for ggplot2 Users

Rendered fromggplot2.Rmdusinglitedown::vignetteon Jun 07 2026.

Last update: 2026-04-14
Started: 2026-03-31

Introduction to gglite

Rendered fromgglite.Rmdusinglitedown::vignetteon Jun 07 2026.

Last update: 2026-04-16
Started: 2026-03-31

Readme and manuals

Help Manual

Help pageTopics
Add a Modifier to a G2 Chart+.g2
Set Animation Optionsanimate
Configure an Axisaxis_ axis_x axis_y
Configure Canvas Optionscanvas
Generate Chart HTMLchart_html
Set the Coordinate Systemcoord_ coord_helix coord_parallel coord_polar coord_radar coord_radial coord_theta
Transpose (Flip) the Coordinate Systemcoord_transpose
Set Aesthetic Mappingsencode
Facet in a Circular Layoutfacet_circle
Facet by a Rectangular Gridfacet_rect
Create a G2 Chart Objectg2
Shiny Output for a G2 Chartg2Output
Add an Interactioninteract
Custom Printing in Knitrknit_print.g2
Add Labels to the Last Marklabels.character labels.formula labels.g2
Configure a Legendlegend_ legend_color legend_opacity legend_shape legend_size
Add a Geometry Layer (Mark)mark_ mark_area mark_beeswarm mark_box mark_boxplot mark_cell mark_chord mark_connector mark_density mark_edge mark_force_graph mark_gauge mark_heatmap mark_image mark_interval mark_line mark_line_x mark_line_y mark_link mark_liquid mark_node mark_pack mark_partition mark_path mark_point mark_polygon mark_range mark_range_x mark_range_y mark_rect mark_sankey mark_shape mark_sunburst mark_text mark_tree mark_treemap mark_vector mark_word_cloud
Preview a Chart in the Viewer or Browserprint.g2
Render a G2 Chart in ShinyrenderG2
Configure a Scalescale_ scale_color scale_opacity scale_shape scale_size scale_x scale_y
Add a Scrollbarscroll_ scroll_x scroll_y
Add a Sliderslider_ slider_x slider_y
Set Style on the Last Markstyle_mark
Set the Chart Themetheme_ theme_academy theme_classic theme_classic_dark theme_dark theme_light
Set the Chart Titletitles
Configure the Tooltiptooltip
Add a Data Transform to the Last Marktransform.character transform.g2