Loops: Leveraging Provenance and Visualization to Support Exploratory Data Analysis in Notebooks
Channel: JKU Visual Data Science Lab
Date: 2024-04-09

Klaus Eckelt, Kiran Gadhave, Alexander Lex, Marc Streit
Loops: Leveraging Provenance and Visualization to Support Exploratory Data Analysis in Notebooks 

Paper available at: https://jku-vds-lab.at/publications/2024_loops/

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.