Package: ggcube 0.1.0

Matthew Kling

ggcube: 3D Plotting with 'ggplot2'

A 'ggplot2' extension for creating 3D figures. Provides 3D geoms, stats, and a coord_3d() coordinate system supporting rotation, perspective, and lighting.

Authors:Matthew Kling [aut, cre, cph]

ggcube_0.1.0.tar.gz
ggcube_0.1.0.tar.gz(r-4.7-any)ggcube_0.1.0.tar.gz(r-4.6-any)
ggcube_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ggcube/json (API)
NEWS

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

Bug tracker:https://github.com/matthewkling/ggcube/issues

Pkgdown/docs site:https://matthewkling.github.io

Datasets:

On CRAN:

Conda:

2.70 score 8 scripts 49 exports 33 dependencies

Last updated from:42a378c336. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK216
source / vignettesOK239
linux-release-x86_64OK234
wasm-releaseOK140

Exports:aesanim_save_3danimate_3dannotate_3dav_renderer_3dcamera_facingcoord_3delement_rectfile_renderer_3dgeom_bar_3dgeom_col_3dgeom_contour_3dgeom_density_3dgeom_distributions_3dgeom_function_3dgeom_hull_3dgeom_path_3dgeom_point_3dgeom_polygon_3dgeom_ridgeline_3dgeom_segment_3dgeom_smooth_3dgeom_surface_3dgeom_text_3dgeom_voxel_3dgifski_renderer_3dguide_colorbar_3dguide_legend_3dlightposition_on_facescale_z_continuousscale_z_discretestat_bar_3dstat_col_3dstat_contour_3dstat_density_3dstat_distributions_3dstat_function_3dstat_hull_3dstat_identity_3dstat_path_3dstat_point_3dstat_segment_3dstat_smooth_3dstat_surface_3dstat_text_3dstat_voxel_3dtext_outlineszlim

Dependencies:base64encclicpp11dplyrfarvergenericsggplot2gluegtableisobandjsonlitelabelinglifecyclemagrittrpillarpkgconfigpolyclippurrrR6RColorBrewerrlangS7scalesstringistringrsystemfontstibbletidyrtidyselectutf8vctrsviridisLitewithr

Introduction to ggcube

Rendered fromggcube.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2026-05-27
Started: 2026-05-27

Readme and manuals

Help Manual

Help pageTopics
Aesthetic mapping with positional z supportaes
Save a 3D animation to a fileanim_save_3d
Animate a 3D plotanimate_3d
Create a 3D annotation specificationannotate_3d
Compute camera-facing direction for 3D textcamera_facing
3D coordinate systemcoord_3d
Using themes to style 3D panels and axis labelscube_theming
Rectangle theme element with alpha supportelement_rect
3D bar chart with automatic counting or binninggeom_bar_3d stat_bar_3d
3D columns from grid datageom_col_3d stat_col_3d
Contours of a 3D surfacegeom_contour_3d stat_contour_3d
3D surface from 2D density estimategeom_density_3d stat_density_3d
3D convex and alpha hullsgeom_hull_3d stat_hull_3d
3D paths connecting observationsgeom_path_3d stat_path_3d
3D scatter plot with 2D reference elementsgeom_point_3d stat_point_3d
3D polygon geometry with depth sortinggeom_polygon_3d
3D ridgeline plot from point gridgeom_ridgeline_3d
3D line segmentsgeom_segment_3d stat_segment_3d
3D surface from smoothed conditional meansgeom_smooth_3d stat_smooth_3d
3D text labelsgeom_text_3d stat_text_3d
3D voxel visualization from sparse 3D datageom_voxel_3d stat_voxel_3d
Grid generationgrid_generation
Color guides showing lighting effectsguide_3d guide_colorbar_3d guide_legend_3d
Lighting specification for 3D surface renderinglight
Volcano terrain datamountain
Position for projecting 2D and 3D layers onto cube facesposition_on_face
Animation renderers for animate_3dav_renderer_3d file_renderer_3d gifski_renderer_3d renderers_3d
Continuous z-axis scale for 3D plotsscale_z_continuous
Discrete z-axis scale for 3D plotsscale_z_discrete
Depth sorting methodsorting_methods
Sphere surface pointssphere_points
3D ridgeline distributionsgeom_distributions_3d stat_distributions_3d
3D surface from a functiongeom_function_3d stat_function_3d
3D-aware identity transformationstat_identity_3d
3D surface from point datageom_surface_3d stat_surface_3d
Convert text to polygon outlinestext_outlines
Set z-axis limitszlim