Saved in:
Bibliographic Details
Main Authors: Lu, Weiqi, Tian, Yongqiang, Zhong, Xiaohan, Ma, Haoyang, Xu, Zhenyang, Cheung, Shing-Chi, Sun, Chengnian
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.15084
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912436949352448
author Lu, Weiqi
Tian, Yongqiang
Zhong, Xiaohan
Ma, Haoyang
Xu, Zhenyang
Cheung, Shing-Chi
Sun, Chengnian
author_facet Lu, Weiqi
Tian, Yongqiang
Zhong, Xiaohan
Ma, Haoyang
Xu, Zhenyang
Cheung, Shing-Chi
Sun, Chengnian
contents Data visualization (DataViz) libraries play a crucial role in presentation, data analysis, and application development, underscoring the importance of their accuracy in transforming data into visual representations. Incorrect visualizations can adversely impact user experience, distort information conveyance, and influence user perception and decision-making processes. Visual bugs in these libraries can be particularly insidious as they may not cause obvious errors like crashes, but instead mislead users of the underlying data graphically, resulting in wrong decision making. Consequently, a good understanding of the unique characteristics of bugs in DataViz libraries is essential for researchers and developers to detect and fix bugs in DataViz libraries. This study presents the first comprehensive analysis of bugs in DataViz libraries, examining 564 bugs collected from five widely-used libraries. Our study systematically analyzes their symptoms and root causes, and provides a detailed taxonomy. We found that incorrect/inaccurate plots are pervasive in DataViz libraries and incorrect graphic computation is the major root cause, which necessitates further automated testing methods for DataViz libraries. Moreover, we identified eight key steps to trigger such bugs and two test oracles specific to DataViz libraries, which may inspire future research in designing effective automated testing techniques. Furthermore, with the recent advancements in Vision Language Models (VLMs), we explored the feasibility of applying these models to detect incorrect/inaccurate plots. The results show that the effectiveness of VLMs in bug detection varies from 29% to 57%, depending on the prompts, and adding more information in prompts does not necessarily increase the effectiveness. More findings can be found in our manuscript.
format Preprint
id arxiv_https___arxiv_org_abs_2506_15084
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Empirical Study of Bugs in Data Visualization Libraries
Lu, Weiqi
Tian, Yongqiang
Zhong, Xiaohan
Ma, Haoyang
Xu, Zhenyang
Cheung, Shing-Chi
Sun, Chengnian
Software Engineering
Computer Vision and Pattern Recognition
Human-Computer Interaction
Data visualization (DataViz) libraries play a crucial role in presentation, data analysis, and application development, underscoring the importance of their accuracy in transforming data into visual representations. Incorrect visualizations can adversely impact user experience, distort information conveyance, and influence user perception and decision-making processes. Visual bugs in these libraries can be particularly insidious as they may not cause obvious errors like crashes, but instead mislead users of the underlying data graphically, resulting in wrong decision making. Consequently, a good understanding of the unique characteristics of bugs in DataViz libraries is essential for researchers and developers to detect and fix bugs in DataViz libraries. This study presents the first comprehensive analysis of bugs in DataViz libraries, examining 564 bugs collected from five widely-used libraries. Our study systematically analyzes their symptoms and root causes, and provides a detailed taxonomy. We found that incorrect/inaccurate plots are pervasive in DataViz libraries and incorrect graphic computation is the major root cause, which necessitates further automated testing methods for DataViz libraries. Moreover, we identified eight key steps to trigger such bugs and two test oracles specific to DataViz libraries, which may inspire future research in designing effective automated testing techniques. Furthermore, with the recent advancements in Vision Language Models (VLMs), we explored the feasibility of applying these models to detect incorrect/inaccurate plots. The results show that the effectiveness of VLMs in bug detection varies from 29% to 57%, depending on the prompts, and adding more information in prompts does not necessarily increase the effectiveness. More findings can be found in our manuscript.
title An Empirical Study of Bugs in Data Visualization Libraries
topic Software Engineering
Computer Vision and Pattern Recognition
Human-Computer Interaction
url https://arxiv.org/abs/2506.15084