6–9 Jul 2026
Europe/Warsaw timezone

Gamifying data visualisation: Teaching ggplot2 through competitive code golf

8 Jul 2026, 14:00
20m
Talks (15-20 minutes) Virtual Presentation Room

Speaker

Michael Lydeamore (Department of Econometrics and Business Statistics, Monash University, Victoria, Australia)

Description

Code golf—writing the shortest possible code to solve a problem—has emerged as an engaging method for teaching programming fundamentals. Its competitive, game-like structure fosters student motivation and encourages self-directed learning.

Inspired by the success of CSSBattle, which attracts thousands of daily users with CSS challenges, I present ggplot battles: a new browser-based platform designed to teach data visualisation using R's ggplot2 package. Participants are given a target plot and a predefined dataset, then challenged to recreate the plot as closely as possible.

Built with WebR, the platform runs entirely in the browser with no local R setup required. I will discuss the learnings, challenges, and systems behind the website, and the pedagogical value it can add to the classroom.

If you used AI tools or services to support the preparation of this submission, please state the name and reason for using each of them.

No AI tools/services were used.

Keywords: Please list up to 5 keywords to help us find the right session for your contribution. statistical learning, webr, data visualisation, web applications
Virtual Option This submission is for onsite presentation only
Material License MIT
Video Recording Video sharing is fine
The author(s) agree(s) to take responsibility and be accountable for the contents of the submission and is/are authorized to present it. Confirm

Author

Michael Lydeamore (Department of Econometrics and Business Statistics, Monash University, Victoria, Australia)

Presentation materials

There are no materials yet.