Back to results

Cal Poly

`youdrawitR`: Integrating Interactive Graphical Testing Into the `ggplot2` Ecosystem

Abstract

dc:description.abstract

`youdrawitR` is an R package inspired by the New York Times ‘You Draw It’ series, where readers are invited to sketch their own predictions before seeing the actual data. In a similar spirit, `youdrawitR` allows users to draw predicted values directly onto statistical graphics, creating a more engaging way to study how people interpret visual patterns. Earlier versions of the tool required knowledge of JavaScript D3 to extend or adapt the package, which created a barrier to entry for many statistical researchers. Further, the package was limited in scope, supporting only scatterplots. The redesigned `youdrawitR` builds on the familiar `ggplot2` ecosystem by rendering plots in D3 through the `r2d3` package and layering interactivity on top, offering a flexible and extensible foundation for incorporating graphical testing into a range of visualizations. Integration with `Shiny` applications allows user input to be easily captured and returned to R, providing researchers with rich data on perceptual judgments. This new structure also makes it possible to extend beyond scatterplots, supporting additional geometry and opening the door to new forms of interactive features.

Degree

thesis:*
Name thesis:degree_name
MS in Statistics
Discipline thesis:degree_discipline
Statistics

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Krasilnikov, Alisa
Contributors dc:contributor
  • Emily Robinson
  • Statistics
  • College of Science and Mathematics

Subjects

dc:subject × 5

Identifiers

dc:identifier.*
Repository record dc:identifier
https://digitalcommons.calpoly.edu/theses/3286

Chain of custody

source
Harvested from
Cal Poly
Base URL
digitalcommons.calpoly.edu/do/oai/
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Krasilnikov, Alisa. `youdrawitR`: Integrating Interactive Graphical Testing Into the `ggplot2` Ecosystem. https://digitalcommons.calpoly.edu/theses/3286