Lune

CHI2025Top-tier venue

InterLink: Linking Text with Code and Output in Computational Notebooks

Yanna Lin, Leni Yang, Haotian Li, Huamin Qu, Dominik Moritz

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Kori: Interactive Synthesis of Text and Charts in Data Documents cites Leveraging Text-Chart Links to Support Authoring of Data-Driven Articles with VizFlow
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Answering Developer Questions with Annotated Agent-Discovered Program TracesLitao Yan, Jeffrey Tao, Lydia B. Chilton, Andrew HeadUIST 2025 · 2 citations
  2. Tidynote: Always-Clear Notebook AuthoringRuanqianqian (Lisa) Huang, Brian Hempel, Yining Cao, James D. Hollan et al.CHI 2026 · 1 citation

Builds on15

  1. Calliope: Automatic Visual Data Story Generation from a SpreadsheetDanqing Shi, Xinyue Xu, Fuling Sun, Yang Shi et al.IEEE VIS 2020 · 179 citations
  2. B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
  3. Kori: Interactive Synthesis of Text and Charts in Data DocumentsShahid Latif, Zheng Zhou, Yoon Kim, Fabian Beck et al.IEEE VIS 2021 · 69 citations
  4. Assessing and Restoring Reproducibility of Jupyter NotebooksJiawei Wang, Tzu-yang Kuo, Li Li, Andreas ZellerASE 2020 · 68 citations
  5. Leveraging Text-Chart Links to Support Authoring of Data-Driven Articles with VizFlowNicole Sultanum, Fanny Chevalier, Zoya Bylinskii, Zhicheng LiuCHI 2021 · 64 citations

Related papers

  1. ToonNote: Improving Communication in Computational Notebooks Using Interactive Data ComicsDaye Kang, Tony Ho, Nicolai Marquardt, Bilge Mutlu et al.CHI 2021 · 42 citations
  2. Callisto: Capturing the "Why" by Connecting Conversations with Computational NarrativesApril Yi Wang, Zihan Wu, Christopher Brooks, Steve OneyCHI 2020 · 44 citations
  3. Notable: On-the-fly Assistant for Data Storytelling in Computational NotebooksHaotian Li, Lu Ying, Haidong Zhang, Yingcai Wu et al.CHI 2023 · 38 citations
  4. InkSight: Leveraging Sketch Interaction for Documenting Chart Findings in Computational NotebooksYanna Lin, Haotian Li, Leni Yang, Aoyu Wu et al.IEEE VIS 2023 · 41 citations
  5. OutlineSpark: Igniting AI-powered Presentation Slides Creation from Computational Notebooks through OutlinesFengjie Wang, Yanna Lin, Leni Yang, Haotian Li et al.CHI 2024 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines