CREATING INTERACTIVE VISUALIZATIONS IN WEB-APPLICATIONS
DOI:
https://doi.org/10.32782/2415-8151.2025.35.26Keywords:
interactive representation, force-oriented graphs, data linking, d3.js integration, clustering methods, dimensionality reductionAbstract
Purpose. The purpose of the article is to develop methods for interactive data visualization in web application interfaces based on force-oriented graphs. The article presents the process of developing and implementing interactive data visualization in web applications, focusing on force-oriented graphs as a means of dynamic representation and analysis of complex data sets. Methodology. The main approach was the implementation of the “input – update – output” pattern, which provides dynamic binding of data to DOM elements to create, update and delete visual elements according to changes in the data set. As an applied method, force-oriented graphs are implemented, where the behavior of nodes is modeled according to physical principles. The forces of attraction and repulsion, described by Hooke’s and Coulomb’s laws, are taken into account to maintain optimal distances between nodes, and positional forces are applied to keep graphs within the viewing area. Results. It was determined that force-oriented graphs consisting of multiple disjoint subgraphs are modeled using physical principles that govern the behavior of their constituent elements. These visualizations balance repulsive and attractive forces to maintain spatial clarity and avoid node overlap, while applying positional adjustments to ensure that all subgraphs remain in a single view. The paper demonstrates the need for integration with the D3.js library, which facilitates data binding to the Document Object Model (DOM). This integration is based on the “input – update – output” pattern, which allows for the dynamic creation, modification, and deletion of visual elements to represent new data sets. The pattern ensures that each data element is uniquely represented and is constantly updated in response to changes, achieving robust agreement between data and visualization. The scientific novelty lies in the fact that the order of application of advanced clustering methods for improved data organization was determined. Highdimensional embeddings derived from natural language processing models were used to capture semantic and contextual relationships in the datasets. These embeddings were further optimized using dimensionality reduction methods such as t-SNE and UMAP, which preserve meaningful relationships while simplifying the data structure. It was shown that the resulting clusters need to be represented visually to highlight semantic connectivity, improve interpretation, and aid in the discovery of hidden patterns. Practical relevance. To demonstrate the practical utility of the proposed methodology, it was applied to the e-commerce dataset from the SIGIR 2021 e-commerce workshop. This dataset encompasses millions of interactions and extensive metadata, providing real-world context for evaluating the effectiveness of visualization. This approach enables the clustering of products based on shared characteristics, facilitating the understanding of consumer behavior and product relationships.
References
Barker T., Westfall J. Pro Data Visualization Using R and JavaScript, Analyze and Visualize Key Data on the Web. Berkeley : Apress, CA, 2022. 274 p. DOI: 10.1007/978-1-4842-7202-2.
Cheong S.H., Si Y.W. Snapshot visualization of complex graphs with force-directed algorithms. arXiv : website. 2022. DOI: 10.48550/arXiv.2203.16867.
Cheong S.H., Si Y.W., Wong R. Online forcedirected algorithms for visualization of dynamic graphs. Information Sciences. 2021. № 556. DOI: 10.1016/j.ins.2020.12.069.
Embarak O. Data Visualization: Analyze Data to Create Visualizations for BI Systems. Data Analysis and Visualization Using Python. 2018. P. 293–342. DOI: 10.1007/978-1-4842-4109-7_7.
Gunathilaka M., Perera N., Weerasingha P. Application of neural network for automatic symbol recognition in production of electronic navigation charts from paper charts. Journal of Navigation. 2024. P. 1–8. DOI: 10.1017/S0373463324000201.
Iglesias M. Pro D3.js: Use D.js to create maintainable, modular, and testable charts. 2019. DOI: 10.1007/978-1-4842-5203-1.
Kadijevich D.M. Web Application Development Achievement: Clarifying the Relationship Between Visual GUI Design and Textual Programming. Towards a Collaborative Society Through Creative Learning. WCCE 2022. IFIP Advances in Information and Communication Technology / T. Keane et al. (eds). 2023. Vol 685. Springer, Cham. Vol. 685. https://doi.org/10.1007/978-3-031-43393-1_50.
Kimunge J. Project 33: Architecting highly dynamic visualizations using React, Redux, D3.js, and RxJs. Part 1. Video. 2024. DOI: 10.13140/RG.2.2.17724.86407.
Kumar G. Animated web application. International Journal for Research in Applied Science and Engineering Technology. 2024. № 12. P. 442–446. DOI: 10.22214/ijraset.2024.64992.
Kuo L., Chang T., Lai C.C. Application of visual colors in dynamic web page design through affective cognition. Multimedia Tools and Applications. 2022. № 81. DOI: 10.1007/s11042–021–11732-z.
Li Q., Ni L., Bai L. Display space and distribution visualization of intelligent algorithms and 3D interactive imaging technology. Computing and Informatics. 2024. № 43. P. 993–1011. DOI: 10.31577/cai_2024_4_993.
Lu J., Si Y.W. Clustering-based forcedirected algorithms for 3D graph visualization. The Journal of Supercomputing. 2020. № 76. DOI: 10.1007/s11227-020’03226-w.
Mathaisel D. Using data visualizations as information communication tools during a crisis: a critical review. Journal of Information, Communication and Ethics in Society. 2024. № 22. DOI: 10.1108/JICES-06-2023-0080.
Moreb M. Design and implementation of software engineering for modern web applications. 2024. DOI: 10.4018/978-1-6684-4844-1.
Morth E., Bruckner S., Smit N. ScrollyVis: Interactive Visual Authoring of Guided Dynamic Narratives for Scientific Scrollytelling. IEEE Transactions on Visualization and Computer Graphics. 2022. P. 1–12. DOI: 10.1109/TVCG.2022.3205769.
Nehls S., Lüde J. Interactive Datenvisualisierung im Web mit D3.js. 2020. DOI: 10.1007/978-3-658-29562-2_6.
Suh A., Hajij M., Wang B., Scheidegger C., Rosen P. Persistent homology guided force-directed graph layouts. IEEE Transactions on Visualization and Computer Graphics. 2019. P. 1–1. DOI: 10.1109/TVCG.2019.2934802.
Wang S., Wang S., Fan Y., Li X., Liu Y. Leveraging large vision language model for better automatic web GUI testing. 2024. DOI: 10.48550/arXiv.2410.12157.
Zhang Q. The impact of interactive data visualization on decision-making in business intelligence. Advances in Economics, Management and Political Sciences. 2024. № 87. P. 166–171. DOI: 10.54254/2754-1169/87/20241056.
Zhong F., Xue M., Zhang J., Zhang F., Ban R., Deussen O., Wang Y. Force-directed graph layouts revisited: A new force based on the T-distribution. 2023. DOI: 10.48550/arXiv.2303.03964.










