R
The Grammar of Graphics
25 July 2025
R
For yourself
For others
The syntax of the Grammar of Graphics (Wilkinson 2005) as visualised in the QCBS R Workshop Series (CC-BY-NC-SA).
Artwork by @allison_horst. CC-BY 4.0.
Tidy data illustration from the Openscapes blog Tidy Data for reproducibility, efficiency, and collaboration by Horst and Lowndes (2020). CC-BY 4.0.
Data
For the rest of this workshop, we will work with open data from:
Dąbrowska, Ewa. 2019. Experience, Aptitude, and Individual Differences in Linguistic Attainment: A Comparison of Native and Nonnative Speakers. Language Learning 69(S1). 72-100. https://doi.org/10.1111/lang.12323.
The two datasets are available from the IRIS database:
Dąbrowska, E. (2018). L1 data [Data set]. Retrieved from https://www.iris-database.org/iris/app/home/detail?id=york:935513
Dąbrowska, E. (2018). L2 data [Data set]. Retrieved from https://www.iris-database.org/iris/app/home/detail?id=york:935514
Artwork by Allison Horst from the “Hello, Quarto” keynote by Julia Lowndes and Mine Çetinkaya-Rundel, presented at the RStudio Conference 2022.
Artwork by @allison_horst. CC-BY 4.0.
R
pipeRemix of René Magritte’s “La Trahison des images” (1928-1929) with the native R
pipe and its RStudio shortcut (based on an image from Wikiart.org). This image is licensed under CC-BY 4.0 Elen Le Foll 2025.
Le Foll, Elen. 2025/in progress. Data Analysis for the Language Sciences. Open Educational Resource. https://elenlefoll.github.io/RstatsTextbook/. A beginner-friendly, hands-on textbook with detailed chapters on Data Wrangling, Data Visualisation, and Quarto.
The R Graphics Cookbook by Winston Chang.
To learn out more information about the theoretical underpinnings of the {ggplot2} package and go beyond the basics: ggplot2: Elegant Graphics for Data Analysis by Hadley Wickham, Danielle Navarro, and Thomas Lin Pedersen.
Rühlemann, Christoph. 2020. Visual Linguistics with R: A practical introduction to quantitative Interactional Linguistics. Amsterdam: John Benjamins. https://doi.org/10.1075/z.228.
There are also great R
packages and tutorials to produce more specialised visualisations frequently used in linguistics such as vowel charts and dialectal maps (Roemling, Winter, and Grieve 2024).
Artwork by @allison_horst. CC-BY 4.0.
These slides were first presented at the First Summer School on Linguistic Creativity on 25 July 2025 at Bielefeld University.
The slides and all other workshop materials are shared under a CC-BY 4.0 license. This means that they can be shared, reused, and adapted with appropriate attribution.
Please use the following citation for attribution:
Le Foll, Elen. 2025. Visualisation in R: The Grammar of Graphics. Workshop presented at the First Summer School on Linguistic Creativity, Bielefeld. https://osf.io/xchqd/. (25 July, 2025).
Summer School on Linguistic Creativity 2025