~/talk

Spruce up your ggplot2 visualizations with formatted text

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [data-visualization]
slides:none on file

The ggtext package adds a lightweight HTML/CSS/markdown renderer to ggplot2, with a companion gridtext engine already on CRAN; it implements italics and bold, images in axis labels, and geom_richtext for in-plot labels. Examples show automated species names via glue, colored text matched to semi-transparent fills using scale_fill_identity, and images inserted into tick labels; code uses element_markdown for theme elements. The custom renderer supports fonts, color, superscript/subscript and works for the demonstrated cases, with more HTML/CSS features planned.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50Stuck overflow example
  3. 3:10Formatting text with GDText
  4. 5:20Formatting text with Glue
  5. 6:30Adding color
  6. 10:00Other options
  7. 11:15Code
  8. 12:50GridText package
  9. 14:35One word of caution
  10. 16:35Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.