TL;DR
WHATSNEXT is a novel interactive notebook framework designed to lower the barrier for exploratory data analysis (EDA). By augmenting standard computational notebooks with a no-code recommendation panel and a dynamic tree visualization of analysis threads, it helps users—especially those with limited coding expertise—navigate complex, branching data investigations with ease.
What Problem Does This Paper Address?
While computational notebooks like Jupyter are the gold standard for data science, they suffer from two major drawbacks:
- High Barrier to Entry: They are heavily code-reliant, making them inaccessible to "citizen data scientists" (e.g., managers or doctors) who need insights but cannot program.
- Linearity vs. Reality: Notebooks typically present a single, linear thread of cells. However, real-world EDA is non-linear and branching. A user might explore three different ways to group a bar chart; in a standard notebook, these appear as a confusing sequence of cells, obscuring the logical "provenance" or history of the analysis.
Methods
The authors developed WHATSNEXT, which introduces two core UI components into the notebook environment:
- No-Code Interaction Panel: Instead of writing code from scratch, users are presented with a list of recommended follow-up questions (e.g., "What might explain the fact that 1980 has the lowest average horsepower?") based on the current cell's visualization. Clicking a question automatically generates the next analysis step.
- Analysis Thread Visualization: A dynamic tree diagram (shown in Fig. 1) that maps the dependencies between cells. This allows users to see where analysis branches, jump between steps, and even restore deleted cells.
The system's backend (detailed in Fig. 2) uses the Voder algorithm to extract data insights (anomalies, correlations, distributions, and extrema). It then applies a set of logical retrieval rules to convert these raw insights into natural language questions.
Datasets
The paper demonstrates the system using a sample cars dataset (containing attributes like horsepower, weight, origin, and year). This dataset is used to illustrate how a user can start with a simple observation about low horsepower in 1980 and drill down into contributing factors like vehicle weight or origin.
Key Insights and Ideas
- Insight-Driven Recommendations: The system doesn't just suggest random charts; it uses specific logical rules to find "explanations." For example, if a user sees an extremum (a record low), the system looks for correlations or anomalies in related variables that might explain why that low occurred.
- Provenance as a First-Class Citizen: By treating the analysis as a tree rather than a list, the system makes the "history" of an idea tangible. Users can "prune" branches (delete cells) without losing the context, as the tree maintains a grayed-out history for easy restoration.
- Bridging the Gap: The design goals (DG1-DG4) focus on making EDA "low-code" and "insight-driven." This shifts the user's effort from how to write the code to what questions to ask next.
Key Results
The paper presents a functional prototype that successfully integrates these features into a notebook-style interface.
- Qualitative Success: The authors demonstrate that the system can handle complex branching scenarios (as seen in Fig. 1) that would typically result in a "messy" standard notebook.
- Efficiency: The automated pipeline (Fig. 2) allows for real-time updates to both the recommendation panel and the analysis tree, ensuring the interface remains responsive during active exploration.
Limitations and Future Work
The authors identify several areas for improvement:
- Scalability: As an analysis grows, the tree visualization might become too large and cluttered to navigate effectively.
- Customization: Currently, users cannot explicitly define their own analysis intents; they must choose from the system's generated recommendations.
- Thread Management: Future versions could support "thread decomposition," allowing users to break a single large notebook into multiple disjoint, manageable sub-threads.
Summary updated