Data Formulator 2: Iterative Creation of Data Visualizations, with AI Transforming Data Along the Way
Chenglong Wang, Bongshin Lee, Steven Drucker, Dan Marshall, Jianfeng Gao
TL;DR
Data Formulator 2 (DF2) tackles iterative visualization authoring by combining a shelf-style chart builder with natural language inputs and delegating data transformations to AI. It introduces data threads to capture non-linear authoring history and support branching, enabling reuse and backtracking across iterations. The system translates mixed inputs into Vega-Lite specifications and AI-generated data transformations, supporting diverse chart types while providing verification through derived data views and explanatory notes. A user study with eight participants demonstrates flexible iteration styles and effective collaboration with AI during challenging exploratory tasks, highlighting DF2's potential to reduce skill barriers and improve reproducibility in data visualization workflows.
Abstract
Data analysts often need to iterate between data transformations and chart designs to create rich visualizations for exploratory data analysis. Although many AI-powered systems have been introduced to reduce the effort of visualization authoring, existing systems are not well suited for iterative authoring. They typically require analysts to provide, in a single turn, a text-only prompt that fully describe a complex visualization. We introduce Data Formulator 2 (DF2 for short), an AI-powered visualization system designed to overcome this limitation. DF2 blends graphical user interfaces and natural language inputs to enable users to convey their intent more effectively, while delegating data transformation to AI. Furthermore, to support efficient iteration, DF2 lets users navigate their iteration history and reuse previous designs, eliminating the need to start from scratch each time. A user study with eight participants demonstrated that DF2 allowed participants to develop their own iteration styles to complete challenging data exploration sessions.
