Lux: Always-on Visualization Recommendations for Exploratory Dataframe Workflows

Doris Jung-Lin Lee, Dixin Tang, Kunal Agarwal, Thyne Boonmark, Caitlyn Chen +6 more
4/30/2021
cs.DBcs.HC

Official code: lux-org/lux (5,379 stars, Python, Apache-2.0, last commit 2024-03-20).

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.

Show full abstract

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 high level 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.

View on arXivView PDF

Code Implementations(1)

lux-org/luxOfficial100%
Apache-2.0

Automatically visualize your pandas dataframe via a single print! 📊 💡

5,379378Python, JavaScriptJan 8, 20202 years agoApache-2.0
data-scienceexploratory-data-analysisjupyterpandaspython+2 more

Similar Papers

Cite this paper

@article{lee2021lux,
  title  = {Lux: Always-on Visualization Recommendations for Exploratory Dataframe Workflows},
  author = {Doris Jung-Lin Lee and Dixin Tang and Kunal Agarwal and Thyne Boonmark and Caitlyn Chen and Jake Kang and Ujjaini Mukhopadhyay and Jerry Song and Micah Yong and Marti A. Hearst and Aditya G. Parameswaran},
  year   = {2021},
  eprint = {2105.00121},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.00121}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.00121.svg)](https://codeofpaper.com/paper/2105.00121)

Discussion