English

InterLink: Linking Text with Code and Output in Computational Notebooks

Human-Computer Interaction 2025-02-25 v1

Abstract

Computational notebooks, widely used for ad-hoc analysis and often shared with others, can be difficult to understand because the standard linear layout is not optimized for reading. In particular, related text, code, and outputs may be spread across the UI making it difficult to draw connections. In response, we introduce InterLink, a plugin designed to present the relationships between text, code, and outputs, thereby making notebooks easier to understand. In a formative study, we identify pain points and derive design requirements for identifying and navigating relationships among various pieces of information within notebooks. Based on these requirements, InterLink features a new layout that separates text from code and outputs into two columns. It uses visual links to signal relationships between text and associated code and outputs and offers interactions for navigating related pieces of information. In a user study with 12 participants, those using InterLink were 13.6% more accurate at finding and integrating information from complex analyses in computational notebooks. These results show the potential of notebook layouts that make them easier to understand.

Keywords

Cite

@article{arxiv.2502.16114,
  title  = {InterLink: Linking Text with Code and Output in Computational Notebooks},
  author = {Yanna Lin and Leni Yang and Haotian Li and Huamin Qu and Dominik Moritz},
  journal= {arXiv preprint arXiv:2502.16114},
  year   = {2025}
}

Comments

Accepted at CHI Conference on Human Factors in Computing Systems (CHI'25), April 26-May 1, 2025, Yokohama, Japan

R2 v1 2026-06-28T21:53:50.267Z