Lune

IEEE VIS2024Top-tier venue

Loops: Leveraging Provenance and Visualization to Support Exploratory Data Analysis in Notebooks

Klaus Eckelt, Kiran Gadhave, Alexander Lex, Marc Streit

Abstract

Exploratory data science is an iterative process of obtaining, cleaning, profiling, analyzing, and interpreting data. This cyclical way of working creates challenges within the linear structure of computational notebooks, leading to issues with code quality, recall, and reproducibility. To remedy this, we present Loops, a set of visual support techniques for iterative and exploratory data analysis in computational notebooks. Loops leverages provenance information to visualize the impact of changes made within a notebook. In visualizations of the notebook provenance, we trace the evolution of the notebook over time and highlight differences between versions. Loops visualizes the provenance of code, markdown, tables, visualizations, and images and their respective differences. Analysts can explore these differences in detail in a separate view. Loops not only makes the analysis process transparent but also supports analysts in their data science work by showing the effects of changes and facilitating comparison of multiple versions. We demonstrate our approach's utility and potential impact in two use cases and feedback from notebook users from various backgrounds. This paper and all supplemental materials are available at https://osf.io/79eyn.

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.

6 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

  • Enhancing Computational Notebooks with Code+Data Space Versioning cites Assessing and Restoring Reproducibility of Jupyter Notebooks
  • Enhancing Computational Notebooks with Code+Data Space Versioning cites Understanding and Visualizing Data Iteration in Machine Learning
  • Enhancing Computational Notebooks with Code+Data Space Versioning cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Enhancing Computational Notebooks with Code+Data Space Versioning cites Fork It: Supporting Stateful Alternatives in Computational Notebooks
  • Jupybara: Operationalizing a Design Space for Actionable Data Analysis and Storytelling with LLMs cites Passing the Data Baton : A Retrospective Analysis on Data Science Work and Workers
  • Vipera: Blending Visual and LLM-Driven Guidance for Systematic Auditing of Text-to-Image Generative AI cites Understanding and Visualizing Data Iteration in Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Jupybara: Operationalizing a Design Space for Actionable Data Analysis and Storytelling with LLMsHuichen Will Wang, Larry Birnbaum, Vidya SetlurCHI 2025 · 11 citations
  2. ProvenanceWidgets: A Library of UI Control Elements to Track and Dynamically Overlay Analytic ProvenanceArpit Narechania, Kaustubh Odak, Mennatallah El-Assady, Alex EndertIEEE VIS 2024 · 10 citations
  3. Enhancing Computational Notebooks with Code+Data Space VersioningHanxi Fang, Supawit Chockchowwat, Hari Sundaram, Yongjoo ParkCHI 2025 · 6 citations
  4. ReSpark: Leveraging Previous Data Reports as References to Generate New Reports with LLMsYuan Tian, Chuhan Zhang, Xiaotong Wang, Sitong Pan et al.UIST 2025 · 3 citations
  5. Vipera: Blending Visual and LLM-Driven Guidance for Systematic Auditing of Text-to-Image Generative AIYanwei Huang, Wesley Hanwen Deng, Sijia Xiao, Motahhare Eslami et al.CHI 2026 · 2 citations

Builds on9

  1. What's Wrong with Computational Notebooks? Pain Points, Needs, and Design OpportunitiesSouti Chattopadhyay, Ishita Prasad, Austin Z. Henley, Anita Sarma et al.CHI 2020 · 162 citations
  2. Understanding and Visualizing Data Iteration in Machine LearningFred Hohman, Kanit Wongsuphasawat, Mary Beth Kery, Kayur PatelCHI 2020 · 114 citations
  3. Assessing and Restoring Reproducibility of Jupyter NotebooksJiawei Wang, Tzu-yang Kuo, Li Li, Andreas ZellerASE 2020 · 68 citations
  4. Passing the Data Baton : A Retrospective Analysis on Data Science Work and WorkersAnamaria Crisan, Brittany Fiore-Gartland, Melanie ToryIEEE VIS 2020 · 65 citations
  5. Fork It: Supporting Stateful Alternatives in Computational NotebooksNathaniel Weinman, Steven Mark Drucker, Titus Barik, Robert DeLineCHI 2021 · 55 citations

Related papers

  1. Diff in the Loop: Supporting Data Comparison in Exploratory Data AnalysisApril Yi Wang, Will Epperson, Robert A. DeLine, Steven Mark DruckerCHI 2022 · 34 citations
  2. Code Code Evolution: Understanding How People Change Data Science Notebooks Over TimeDeepthi Raghunandan, Aayushi Roy, Shenzhi Shi, Niklas Elmqvist et al.CHI 2023 · 19 citations
  3. B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
  4. NoteFlow: Leveraging Charts as Sight Glasses for Consistent and Continuous Data Flow TracingYuan Tian, Dazhen Deng, Sen Yang, Huawei Zheng et al.CHI 2026 · 1 citation
  5. Fine-Grained Lineage for Safer Notebook InteractionsStephen Macke, Aditya G. Parameswaran, Hongpu Gong, Doris Jung Lin Lee et al.VLDB 2021 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines