Lune

VLDB2022Top-tier venue

Lux: Always-on Visualization Recommendations for Exploratory Dataframe Workflows

Doris Jung Lin Lee, Dixin Tang, Kunal Agarwal, Thyne Boonmark, Caitlyn Chen, Jake Kang, Ujjaini Mukhopadhyay, Jerry Song, Micah Yong, Marti A. Hearst, Aditya G. Parameswaran

Abstract

Exploratory data science largely happens in computational notebooks with dataframe APIs, such as pandas, that support flexible means to transform, clean, and analyze data. Yet, visually exploring data in dataframes remains tedious, requiring substantial programming effort for visualization and mental effort to determine what analysis to perform next. We propose Lux, an always-on framework for accelerating visual insight discovery in dataframe workflows. When users print a dataframe in their notebooks, Lux recommends visualizations to provide a quick overview of the patterns and trends and suggests promising analysis directions. Lux features a highlevel language for generating visualizations on demand to encourage rapid visual experimentation with data. We demonstrate that through the use of a careful design and three system optimizations, Lux adds no more than two seconds of overhead on top of pandas for over 98% of datasets in the UCI repository. We evaluate Lux in terms of usability via a controlled first-use study and interviews with early adopters, finding that Lux helps fulfill the needs of data scientists for visualization support within their dataframe workflows. Lux has already been embraced by data science practitioners, with over 3.1k stars on Github.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

23 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Data Formulator: AI-Powered Concept-Driven Visualization Authoring cites Animated Vega-Lite: Unifying Animation with a Grammar of Interactive Graphics
  • Data Formulator: AI-Powered Concept-Driven Visualization Authoring cites Visualization by example
  • Data Formulator: AI-Powered Concept-Driven Visualization Authoring cites Auto-Suggest: Learning-to-Recommend Data Preparation Steps Using Data Science Notebooks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  1. On the Design of AI-powered Code Assistants for NotebooksAndrew M. McNutt, Chenglong Wang, Robert A. DeLine, Steven Mark DruckerCHI 2023 · 78 citations
  2. HAIChart: Human and AI Paired Visualization SystemYupeng Xie, Yuyu Luo, Guoliang Li, Nan TangVLDB 2024 · 47 citations
  3. InkSight: Leveraging Sketch Interaction for Documenting Chart Findings in Computational NotebooksYanna Lin, Haotian Li, Leni Yang, Aoyu Wu et al.IEEE VIS 2023 · 41 citations
  4. Animated Vega-Lite: Unifying Animation with a Grammar of Interactive GraphicsJonathan Zong, Josh Pollock, Dylan Wootton, Arvind SatyanarayanIEEE VIS 2022 · 36 citations
  5. Data Formulator: AI-Powered Concept-Driven Visualization AuthoringChenglong Wang, John Thompson, Bongshin LeeIEEE VIS 2023 · 35 citations

Builds on4

  1. Towards Scalable Dataframe SystemsDevin Petersohn, William W. Ma, Doris Jung Lin Lee, Stephen Macke et al.VLDB 2020 · 109 citations
  2. Auto-Suggest: Learning-to-Recommend Data Preparation Steps Using Data Science NotebooksCong Yan, Yeye HeSIGMOD 2020 · 64 citations
  3. Dziban: Balancing Agency & Automation in Visualization Design via Anchored RecommendationsHalden Lin, Dominik Moritz, Jeffrey HeerCHI 2020 · 52 citations
  4. Visualization by exampleChenglong Wang, Yu Feng, Rastislav Bodík, Alvin Cheung et al.POPL 2020 · 36 citations

Related papers

  1. LakeVisage: Towards Scalable, Flexible and Interactive Visualization Recommendation for Data Discovery over Data LakesYihao Hu, Jin Wang, Sajjadur RahmanVLDB 2025 · 3 citations
  2. Xavier: Toward Better Coding Assistance in Authoring Tabular Data Wrangling ScriptsYunfan Zhou, Xiwen Cai, Qiming Shi, Yanwei Huang et al.CHI 2025 · 4 citations
  3. Dias: Dynamic Rewriting of Pandas CodeStefanos Baziotis, Daniel D. Kang, Charith MendisSIGMOD 2024 · 7 citations
  4. DataPrep.EDA: Task-Centric Exploratory Data Analysis for Statistical Modeling in PythonJinglin Peng, Weiyuan Wu, Brandon Lockhart, Song Bian et al.SIGMOD 2021 · 29 citations
  5. Dead or Alive: Continuous Data Profiling for Interactive Data ScienceWill Epperson, Vaishnavi Gorantla, Dominik Moritz, Adam PererIEEE VIS 2023 · 28 citations
Dusk over the sea between two cliffs drawn in fine vertical lines