Statistical Visualization Applications Based on Animate
(1.School of Science, Hubei University of Technology, Wuhan 430068, China; 2.School of Mathematics and Statistics, Yulin Normal University, Yulin 537000, China)
Abstract
Facing the challenge of data explosion in the information age, statistics serves as a key data processing tool, yet its complex theories and models are often difficult for non-professionals to understand. To improve the understanding of abstract statistical concepts and theories among non-professionals, this paper discusses the application of the Animate package in R language for statistical visualization. This paper uses the package to realize the visualization of statistical methods such as K-means clustering and SVM classification, revealing the influence of parameter changes on clustering and classification results. Research results show that the Animate package effectively transforms abstract statistical concepts into intuitive dynamic graphics, and the application value in data analysis is verified through a practical case of SVM classification on the Wisconsin breast cancer dataset. Although Animate shows advantages and application potential in statistical visualization, it still has limitations in comprehensive applications. Future research further explores the application of Animate in broader statistical fields and develops advanced visualization tools to meet growing data analysis needs.
Keywords
Animate; R language; visualization; statistics
References
- [1] Zhao Guoqing, Huang Ronghuai, Lu Zhijian Theory and Methods of Knowledge Visualization [J]. Open Education Research, 2005 (1): 23-27
- [2] Zeng Wenquan, Zhang Liangjun Python Data Analysis and Applications (Micro Course Edition): 2nd Edition [M]. Beijing: People's Posts and Telecommunications Press, 2021
- [3] Wang Yuanyuan, Ding Yi, Sun Yuanyuan, etc Research on Implementation Methods of Data Visualization Technology [J]. Modern Electronic Technology, 2007 (4): 71-74
- [4] Zhou Yating, Zhang Rong, Mou Hui Research on Data Visualization Design Framework Based on Multimodal Discourse Analysis [J]. Packaging Engineering, 2025, 46 (18): 75-83
- [5] Mao Shisong Probability Theory and Mathematical Statistics Course [M]. Beijing: Higher Education Press, 2004
- [6] XIE Y H. Animation: An R Package for Creating Animations and Demonstrating Statistical Methods [J].Journal of Statistical Software,2013,53(1):1-27.
- [7] Yue Xiaoning, Ding Yu Analysis of Statistical Reconstruction in the Era of Big Data [J]. Journal of Shenyang University: Natural Science Edition, 2017, 29 (3): 250-253
- [8] Liu Kan, Zhou Xiaozheng, Zhou Dongru Research and Development of Data Visualization [J]. Computer Engineering, 2002 (8): 1-2, 63
- [9] Milin Practical Application of R Language Data Visualization [M]. Beijing: Machinery Industry Press, 2020
- [10] Ren Lei, Du Yi, Ma Shuai, etc Overview of Big Data Visual Analysis [J]. Journal of Software, 2014, 25 (9): 1909-1936
- [11] Yang Yanbo, Liu Bin, Qi Mingyue A Review of Information Visualization Research [J]. Journal of Hebei University of Science and Technology, 2014, 35 (1): 91-102
- [12] SARKAR D. Lattice: Multivariate Data Visualization with R [M].New York:Springer,2008.
- [13] HUNTER J D. Matplotlib: A 2D Graphics Environment [J].Computing in Science & Engineering,2007,9(3):90-95.
- [14] WICKHAM H. ggplot2: Elegant Graphics for Data Analysis [J].Journal of Statistical Software,2009,35(1):1-21.
- [15] Yuan Jia Application of R language and ggplot2 in visualizing environmental air monitoring data [J]. China High tech Enterprises, 2015 (16): 88-91
- [16] Ren Peng, Wang Tingwei, Christos Grecos. Experimental Platform for Ocean Buoy Big Data Processing Based on Shiny Framework [J]. Laboratory Research and Exploration, 2018, 37 (8): 46-49
- [17] Lin Yucang, Zhuo Chaoyang, Lin Qi Visualization of antibacterial drug use intensity based on Python+Pandas+Matplotlib [J]. Strait Pharmacy, 2022, 34 (10): 126-129
- [18] Li Chenhao, Wang Jianxiong, Dangran, etc Research on crawler data visualization based on PyECharts [J]. Journal of Hebei University of Architecture and Technology, 2023, 41 (2): 209-213
- [19] Tao Ying, Yang Feng, Liu Yang, etc Research and Optimization of K-means Clustering Algorithm [J]. Computer Technology and Development, 2018, 28 (6): 90-92
- [20] Zhong Zhiqiang Research on the Application of Classification Algorithms Based on R Language Machine Learning [J]. Journal of Anshan Normal University, 2015, 17 (4): 48-52
- [21] Zhang Xuegong Regarding Statistical Learning Theory and Support Vector Machines [J]. Journal of Automation, 2000 (1): 32-42
- Ding Shifei, Qi Bingjuan, Tan Hongyan A Review of Support Vector Machine Theory and Algorithm Research [J]. Journal of University of Electronic Science and Technology of China, 2011, 40 (1): 2-10
Funding
2023 Guangxi Higher Education Undergraduate Teaching Reform Project (2023JGB329)
About the authors
Wang Qian (2002-), female, Han ethnicity, from Huai'an, Jiangsu, is currently pursuing a master's degree in machine vision; Pan Weiquan (1980-), male, Han ethnicity, from Pingnan, Guangxi, associate professor, PhD, research direction: statistics, probability theory, and mathematical statistics.