🤖 AI Summary
Data cleaning consumes over 80% of total time in data science projects; conventional manual coding or spreadsheet-based approaches frequently introduce missing values, inconsistent formatting, and type errors—severely compromising downstream task reliability. To address this, we propose a visual system for iterative data wrangling that supports reversible direct manipulation, automated anomaly grouping, and intelligent check recommendations. The system integrates difference-aware rendering, lightweight data quality assessment algorithms, operation history tracing, and real-time feedback. Its core innovation lies in tightly coupling AI-driven suggestions with user-centered visual interaction to close the “perceive–decide–correct” loop. Empirical evaluation demonstrates significant reductions in cleaning time and error rates, alongside improved efficiency in handling complex, messy datasets. Results validate the effectiveness of human-in-the-loop visual analytics for data cleaning.
📝 Abstract
Preparing datasets -- a critical phase known as data wrangling -- constitutes the dominant phase of data science development, consuming upwards of 80% of the total project time. This phase encompasses a myriad of tasks: parsing data, restructuring it for analysis, repairing inaccuracies, merging sources, eliminating duplicates, and ensuring overall data integrity. Traditional approaches, typically through manual coding in languages such as Python or using spreadsheets, are not only laborious but also error-prone. These issues range from missing entries and formatting inconsistencies to data type inaccuracies, all of which can affect the quality of downstream tasks if not properly corrected. To address these challenges, we present Buckaroo, a visualization system to highlight discrepancies in data and enable on-the-spot corrections through direct manipulations of visual objects. Buckaroo (1) automatically finds "interesting" data groups that exhibit anomalies compared to the rest of the groups and recommends them for inspection; (2) suggests wrangling actions that the user can choose to repair the anomalies; and (3) allows users to visually manipulate their data by displaying the effects of their wrangling actions and offering the ability to undo or redo these actions, which supports the iterative nature of data wrangling. A video companion is available at https://youtu.be/iXdCYbvpQVE