An R package for generating alt text from a ggplot object.
Installation
Install using:
devtools::install_github("nrennie/ggalttext")
or
remotes::install_github("nrennie/ggalttext")
Examples
library(ggplot2)
library(ggalttext)
g1 <- ggplot(data = mtcars,
mapping = aes(x = mpg,
y = disp)) +
geom_point()
generate_alt_text(g1)