Augmenting Code with In Situ Visualizations to Aid Program Understanding
Authors
Programmers must draw explicit connections between their code and runtime state to properly assess the correctness of their programs. However, debugging tools often decouple the program state from the source code and require explicitly invoked views to bridge the rift between program editing and program understanding. To unobtrusively reveal runtime behavior during both normal execution and debugging, we contribute techniques for visualizing program variables directly within the source code. We describe a design space and placement criteria for embedded visualizations. We evaluate our in situ visualizations in an editor for the Vega visualization grammar. Compared to a baseline development environment, novice Vega users improve their overall task grade by about 2 points when using the in situ visualizations and exhibit significant positive effects on their self-reported speed and accuracy.
Research Questions / Practical Problems
Question signals indexed for this paper.
- 100%
InterLink: Linking Text with Code and Output in Computational Notebooks
CHI '25· Interactive Data Visualization +1
- 80%
Projection Boxes: On-the-fly Reconfigurable Visualization for Live Programming
CHI '20· Interactive Data Visualization +2
- 80%
Scraps: Enabling Mobile Capture, Contextualization, and Use of Document Resources
CHI '21· Interactive Data Visualization +1
- 80%
Meridian: A Design Framework for Malleable Overview-Detail Interfaces
UIST '25· Interactive Data Visualization +1
- 67%
Documents in Your Hands: Exploring Interaction Techniques for Spatial Arrangement of Augmented Reality Documents
CHI '25· Mixed Reality Workspaces +2
- 60%
Visualizing API Usage Examples at Scale
CHI '18· Interactive Data Visualization +1
- 60%
Pointing All Around You: Selection Performance of Mouse and Ray-Cast Pointing in Full-Coverage Displays
CHI '18· Knowledge Worker Tools & Workflows +1
- 60%
T-Cal: Understanding Team Conversational Data with Calendar-based Visualization
CHI '18· Interactive Data Visualization +1
- 60%
Analysis and Modeling of Grid Performance on Touchscreen Mobile Devices
CHI '18· Eye Tracking & Gaze Interaction +1
- 60%
Managing Messes in Computational Notebooks
CHI '19· Interactive Data Visualization +1
Based on Jaccard similarity of research subtopics & professions (≥60%)