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:
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
Last updated from:30024a2cc5. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 117 | ||
| source / vignettes | OK | 174 | ||
| linux-release-x86_64 | OK | 154 | ||
| macos-release-arm64 | OK | 97 | ||
| macos-oldrel-arm64 | OK | 98 | ||
| windows-devel | OK | 67 | ||
| windows-release | OK | 72 | ||
| windows-oldrel | OK | 67 | ||
| wasm-release | OK | 98 |
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
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Add a Modifier to a G2 Chart | +.g2 |
| Set Animation Options | animate |
| Configure an Axis | axis_ axis_x axis_y |
| Configure Canvas Options | canvas |
| Generate Chart HTML | chart_html |
| Set the Coordinate System | coord_ coord_helix coord_parallel coord_polar coord_radar coord_radial coord_theta |
| Transpose (Flip) the Coordinate System | coord_transpose |
| Set Aesthetic Mappings | encode |
| Facet in a Circular Layout | facet_circle |
| Facet by a Rectangular Grid | facet_rect |
| Create a G2 Chart Object | g2 |
| Shiny Output for a G2 Chart | g2Output |
| Add an Interaction | interact |
| Custom Printing in Knitr | knit_print.g2 |
| Add Labels to the Last Mark | labels.character labels.formula labels.g2 |
| Configure a Legend | legend_ 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 Browser | print.g2 |
| Render a G2 Chart in Shiny | renderG2 |
| Configure a Scale | scale_ scale_color scale_opacity scale_shape scale_size scale_x scale_y |
| Add a Scrollbar | scroll_ scroll_x scroll_y |
| Add a Slider | slider_ slider_x slider_y |
| Set Style on the Last Mark | style_mark |
| Set the Chart Theme | theme_ theme_academy theme_classic theme_classic_dark theme_dark theme_light |
| Set the Chart Title | titles |
| Configure the Tooltip | tooltip |
| Add a Data Transform to the Last Mark | transform.character transform.g2 |
