ggdiceplot-package: ggdiceplot: Dice Plot Visualization for ggplot2

ggdiceplot-packageR Documentation

ggdiceplot: Dice Plot Visualization for ggplot2

Description

The ggdiceplot package provides extensions for ggplot2 that allow visualizing data using dice-based dot patterns. The main feature is geom_dice(), which displays categorical variables using traditional dice face layouts (1 to 6 dots). This is especially helpful for multidimensional categorical data visualization.

Main Functions

  • geom_dice — Display dice representations for data points

  • create_dice_positions — Generate dice dot patterns for integers 1–6

  • make_offsets — Internal function to calculate x/y offsets for dot placement

Features

  • Seamless integration with ggplot2

  • Traditional dice dot layouts

  • Customizable appearance (size, color, transparency)

  • Support for faceting and multiple aesthetics

Author(s)

Maintainer: Matthias Flotho matthias.flotho@ccb.uni-saarland.de (ORCID)

See Also

Useful links:


ggdiceplot documentation built on Aug. 22, 2025, 1:08 a.m.