Loops: Leveraging Provenance and Visualization to SupportExploratory Data Analysis in Notebooks

Research output: Contribution to journalArticlepeer-review

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
Original languageEnglish
Pages (from-to)1213-1223
Number of pages11
JournalIEEE Transactions on Visualization and Computer Graphics
Volume31
Issue number1
DOIs
Publication statusPublished - Sept 2024

Fields of science

  • 102 Computer Sciences
  • 102003 Image processing
  • 102008 Computer graphics
  • 102015 Information systems
  • 102020 Medical informatics
  • 103021 Optics

JKU Focus areas

  • Digital Transformation

Cite this