NOVA: A Practical Method for Creating Notebook-Ready Visual Analytics

Zijie J. Wang, David Munechika, Seongmin Lee, Duen Horng Chau · DOI

Abstract

Visual analytics (VA) tools are often developed as standalone web applications, creating a significant adoption barrier for data scientists who primarily work in computational notebooks. We present NOVA, a three-step framework to convert these standalone tools into interactive notebook widgets. By streamlining bundling, API design, and distribution, NOVA reduces workflow friction and enables advanced analytical tools to be integrated directly into data science pipelines.

Introduction

The visualization research community has developed powerful systems for data exploration and machine learning interpretability. However, the "workflow friction" associated with standalone tools—requiring data export and environment switching—often prevents their adoption in professional data science. Since most data science occurs in computational notebooks (e.g., Jupyter, Google Colab), tools that do not reside within these environments are frequently overlooked. NOVA addresses this "adoption barrier" by providing a standardized, platform-agnostic method for making VA tools "notebook-ready."

Overview of the NOVA framework: Transitioning from a standalone Visual Analytics Web App (A) to a Computational Notebook Widget (B).

Methodology

The NOVA framework consists of three primary stages:

  1. Single-File Bundling (S1): Using modern bundlers like Webpack or Rollup, all tool assets (HTML, CSS, JS, and binaries) are packaged into a single HTML file. This allows the tool to be rendered within a configurable iframe.
  2. Python Wrapper API (S2): A lightweight Python wrapper is created to instantiate the widget. It uses standard Web Events for one-directional communication, passing data from the Python kernel to the JavaScript widget. This ensures compatibility across diverse notebook platforms.
  3. Software Repository Distribution (S3): The final widget is published to repositories like PyPI, allowing users to install the tool via standard package managers (e.g., pip install).

Key Insights

A central tenet of NOVA is "meeting users where they are." Integrating VA tools into the notebook environment allows for unique workflows, such as the "multi-cell dashboard." In this setup, users can instantiate multiple versions of a tool in different cells to compare model iterations or data subsets side-by-side—a task often cumbersome in standalone applications.

Detailed view of a NOVA-enabled widget within a Jupyter notebook, demonstrating the integration of Python code and interactive visualization.

Results and Discussion

NOVA has been successfully applied to tools built with various frameworks, including Svelte, React, and Vanilla JavaScript. Case studies involving tools like GAM CHANGER (for editing model weights) and Visual Auditor (for bias detection) show that the deployment process is highly efficient, often taking less than 10 minutes once the tool is bundled. User feedback from data scientists and medical professionals suggests that in-notebook widgets feel more integrated into their existing machine learning development cycles.

While NOVA prioritizes universal compatibility through one-way messaging, it currently lacks support for heavy server-side backends and bi-directional data flow (sending data from the widget back to Python). Future work will explore best practices for designing visualizations tailored specifically for the constrained, cell-based notebook environment.

Authors: Zijie J. Wang, David Munechika, Seongmin Lee, Duen Horng Chau (Georgia Institute of Technology)

Summary updated

BibTeX
@misc{wang2022nova,
  author = {Zijie J. Wang and David Munechika and Seongmin Lee and Duen Horng Chau},
  title = {{NOVA: A Practical Method for Creating Notebook-Ready Visual Analytics}},
  year = {2022},
  eprint = {2205.03963},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.03963},
}
Figure