Package: xkcd 0.1.1

xkcd: Plotting 'ggplot2' Graphics in an 'XKCD' Style

Provides custom geoms and themes to create charts and graphics in the distinctive, hand-drawn 'XKCD' webcomic style using the 'ggplot2' framework. The package utilizes custom layers for jittered lines, segments, circles, and figures, and includes a theme that supports the necessary 'XKCD' font.

Authors:Emilio Torres-Manzanera [aut], Enrique Toledo [ctb, cre]

xkcd_0.1.1.tar.gz
xkcd_0.1.1.zip(r-4.7-any)xkcd_0.1.1.zip(r-4.6-any)xkcd_0.1.1.zip(r-4.5-any)
xkcd_0.1.1.tgz(r-4.6-any)xkcd_0.1.1.tgz(r-4.5-any)
xkcd_0.1.1.tar.gz(r-4.7-any)xkcd_0.1.1.tar.gz(r-4.6-any)
xkcd_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
xkcd/json (API)

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

Bug tracker:https://github.com/toledoem/xkcd/issues

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

On CRAN:

Conda:

ggplot2-themestidyversexkcd

7.47 score 4 stars 275 scripts 512 downloads 3 mentions 7 exports 58 dependencies

Last updated from:b9d5ebad85. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK167
source / vignettesOK279
linux-releaseOK173
macos-releaseOK205
macos-oldrelOK155
windows-develOK97
windows-releaseOK110
windows-oldrelOK128
wasm-releaseOK147

Exports:geom_xkcdpathGeomXkcdRecttheme_xkcdxkcdaxisxkcdlinexkcdmanxkcdrect

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacecpp11data.tabledigestevaluateextrafontextrafontdbfarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglifecyclemagrittrmemoisemimennetR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapiRttf2pt1S7sassscalesstringistringrtinytexvctrsviridisLitewithrxfunyaml

Palmer Penguins with xkcd
Overview | 1. theme_xkcd() — The XKCD Look | 2. xkcdaxis() — Hand-Drawn Axes | 3. geom_xkcdpath() — Wobbly Lines and Segments | 3a. Annotating a trend with a segment | 3b. Drawing a circle | 4. xkcdrect() — Fuzzy Rectangles | 5. xkcdman() — Stick Figures | 5a. Two penguin researchers | 5b. One stick figure per island | 6. Putting It All Together | Function Quick Reference

Last update: 2026-08-19
Started: 2026-04-16

xkcd: An R Package for Plotting XKCD Graphs
Introduction and Main Motivation | The XKCD Fonts | Saving the Graphs | Installing xkcd | Axis, Stick Figures, and Facets | Some Basic Examples | Line chart with stick figures | Mommy jittered-text example | Graph Gallery | Unemployment with Text Fill | Economic Projections | Regional Migration Pyramid | Mother's Day Schedule | Discussion | Package Dependencies | Key Functions Reference | xkcdaxis() | xkcdman() | xkcdrect() | geom_xkcdpath() | theme_xkcd() | Tips and Tricks | References

Last update: 2026-08-19
Started: 2025-10-23

xkcd figure: The Stick Figure Guide
How xkcdman works | Part 1 — Anatomy diagram | Part 2 — Pose gallery | Part 3 — Angle reference | Quick reference card

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