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.

Package details

AuthorEmilio Torres-Manzanera [aut], Enrique Toledo [ctb, cre]
MaintainerEnrique Toledo <enriquetoledo@gmail.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/ToledoEM/xkcd
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("xkcd")

Try the xkcd package in your browser

Any scripts or data that you put into this service are public.

xkcd documentation built on Nov. 20, 2025, 1:07 a.m.