Jupybara: Operationalizing a Design Space for Actionable Data Analysis and Storytelling with LLMs

Human-LLM CollaborationInteractive Data VisualizationData StorytellingSoftware Engineers & DevelopersData Scientists & AnalystsAI/ML Researchers & Engineers

Research Background and Problem Statement

  • Problems or Challenges:

    1. In Exploratory Data Analysis (EDA) and data storytelling, extracting and conveying actionable insights from complex data is an important yet challenging task.
    2. Actionable insights require not only data-driven facts but also the adjustment of analytical strategies based on real-world decision-making needs and the integration of domain knowledge.
    3. Existing tools fall short in generating actionable insights and delivering detailed and persuasive analytical results. For instance, while large language models (LLMs) can generate narratives, they may lack interpretability and contextual precision.
  • Significance:

    1. Actionable insights guide effective decision-making and concrete actions, which are core needs in fields such as business analytics, educational data mining, and public health.
    2. Leveraging large language models can further enhance the generation, articulation, and integration of analytical results with domain knowledge, facilitating more effective decision-making processes.
  • Research Motivation: The authors aim to optimize the EDA and data storytelling process by developing an LLM-powered tool that achieves semantic precision, rhetorical persuasiveness, and practical relevance, helping users overcome the primary challenges in data analysis and insight communication.

Solution

  • Proposed Method or Solution: The authors propose a design space that encompasses three key dimensions of EDA and data storytelling:

    1. Semantic Precision: Ensuring the accuracy and clarity of analytical results.
    2. Rhetorical Persuasion: Enhancing the persuasiveness of results through strategic analysis and narrative.
    3. Pragmatic Relevance: Integrating data-driven facts with domain knowledge to form actionable insights.

    Based on this design space, the authors developed "Jupybara," an AI assistant implemented as a Jupyter Notebook extension. It employs the following two key strategies:

    1. Design-Space-Aware Prompting: Translating the theoretical framework into specific prompts to guide the LLM in optimizing each dimension.
    2. Multi-Agent Architecture: The system leverages multiple agents performing distinct tasks (e.g., code generation, result interpretation, presentation) to iteratively improve response quality.
  • Innovations:

    1. Creation of a design space integrating the three dimensions (semantic, rhetorical, and pragmatic), addressing core challenges in deriving insights from data.
    2. Adoption of a multi-agent approach, enabling collaborative and iterative improvements to LLM responses for greater completeness, reliability, and contextual relevance.
    3. Seamless integration of AI functionality into the popular Jupyter Notebook environment, reducing the need for tool-switching.
  • Implementation Steps:

    1. Extend the Jupyter Notebook layout with a dual-panel design for EDA and storytelling functionalities (left panel for the notebook, right sidebar for additional features).
    2. Use the multi-agent architecture to iteratively refine complex user requests, including multi-layered validation and response improvement.
    3. Provide different modes (single-agent & multi-agent) to balance response quality and latency.
    4. Enable users to control the analysis process through tooltips and clear result explanations, enhancing transparency and reparability.

Research Outcomes

  • Specific Outcomes:

    1. Development of "Jupybara," an AI assistant tool supporting the integration of EDA and data storytelling.
    2. Investigation and summary of key workflows and common pain points of data analysts, serving as design guidelines.
    3. Demonstration of the effectiveness of the two proposed strategies (design-space-aware prompting and multi-agent architecture) in enhancing LLM performance.
  • Advantages:

    1. Compared to Existing Tools:
      • Compared to ChatGPT's analysis plugins, Jupybara excels in usability, interpretability, reparability, and integration.
      • The multi-agent model improves the precision and quality of responses to complex data requests compared to simpler tools.
    2. Efficient Tool Integration: Eliminates frequent tool-switching by integrating into the familiar Jupyter environment.
    3. Targeted Optimization: Provides step-by-step guidance and iterative services for tasks such as insight extraction, result interpretation, and narrative strategy.
  • Experimental or Evaluation Results:

    1. Based on experiments with 9 expert users experienced in data analysis, Jupybara was rated superior to ChatGPT plugins in terms of interpretability and applicability.
    2. The multi-agent mode (vs. single-agent mode) received higher scores in thematic precision, narrative coherence, and the delivery of high-quality actionable insights.
  • Limitations and Future Directions:

    1. Limitations:
      • The sample size for user experiments was small, and most tasks were short-term, limiting the evaluation of the system's performance in large-scale, long-term projects.
      • The system's response time is slower in multi-agent mode, potentially affecting user experience.
      • Some auto-generated explanations (e.g., narrative prompts) lack richness and require further optimization.
    2. Future Research Directions:
      • Explore automated switching mechanisms between single-agent and multi-agent modes to optimize efficiency.
      • Integrate RAG (retrieval-augmented generation) methods to further improve the quality of domain-specific analyses.
      • Expand support for other output formats such as slides and data videos to accommodate more diverse analysis presentation scenarios.
      • Investigate how Jupybara can observe user-AI interactions to optimize collaboration efficiency for different user groups.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/188237/2025

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://dl.acm.org/doi/10.1145/3706598.3713913
At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2025
emoji_events
Award
No award tagged
group
Authors
3 authors
sell
Subtopics
Human-LLM Collaboration, Interactive Data Visualization, Data Storytelling
work
Professions
Software Engineers & Developers, Data Scientists & Analysts, AI/ML Researchers & Engineers
article
Content Status
Full text indexed
hub
Related Papers
10 related papers