Segmentasi Konsumen E-Commerce Menggunakan Algoritma K-Means Berbasis Dashboard Interaktif

Authors

DOI:

https://doi.org/10.35760/ik.2025.v30i3.70

Keywords:

Customer Segmentation, E-commerce, Interactive Dashboard, K-Means Clustering

Abstract

The rapid expansion of the e-commerce industry in Indonesia has led to a substantial increase in consumer behavioral data. This condition highlights the need for analytical approaches capable of identifying transaction patterns and supporting meaningful customer segmentation. This study aims to segment e-commerce customers using the K-Means clustering method and to present the results through an interactive dashboard. The research process includes data cleaning and standardization, followed by the construction of derived variables such as average basket, spend per month, and paylater share to represent customer transaction behavior. The optimal number of clusters was determined by evaluating several metrics, including the Sum of Squared Errors (SSE) graph, Silhouette Score, Calinski–Harabasz Index, and Davies–Bouldin Index. Although the custest Silhouette Score and Calinski–Harabasz Index were obtained at k = 2, the overall evaluation indicated that k = 3 produced a more balanced and interpretable clustering structure. Consequently, three customer segments were identified: customers with moderate shopping activity, high-value customers with a tendency to use Paylater services, and customers with high transaction frequency but relatively low purchase value. The analytical results were subsequently implemented in a Streamlit-based interactive dashboard to support data-driven decision making.

References

[1] V. Juita, V. Pujani, R. Rahim, and R. Rahayu, “Dataset on online impulsive buying behavior of buy now pay later users and non-buy now pay later users in Indonesia using the stimulus-organism-response model,” Data Brief, vol. 54, Jun. 2024, doi: 10.1016/j.dib.2024.110500. DOI: https://doi.org/10.1016/j.dib.2024.110500

[2] Mohd. A. Jabbar and Dr. K. Mahabubullah, “Product Recommendation System,” Indian Journal of Computer Science and Technology, pp. 23–28, Sep. 2025, doi: 10.59256/indjcst.20250403005. DOI: https://doi.org/10.59256/indjcst.20250403005

[3] K. Tabianan, S. Velu, and V. Ravi, “K-Means Clustering Approach for Intelligent Customer Segmentation Using Customer Purchase Behavior Data,” Sustainability (Switzerland), vol. 14, no. 12, Jun. 2022, doi: 10.3390/su14127243. DOI: https://doi.org/10.3390/su14127243

[4] S. A. Ali, A. Razzaq, A. Ali, K. Mohammed, and M. K. Moinuddin, “Customer Segmentation Using Machine Learning,” Dec. 2024. [Online]. Available: www.ijfmr.com

[5] B. I. Nugroho, A. Rafhina, P. S. Ananda, and G. Gunawan, “Journal of Intelligent Decision Support System (IDSS) Customer segmentation in sales transaction data using k-means clustering algorithm,” 2024. DOI: https://doi.org/10.35335/idss.v7i2.236

[6] E. Omol, D. Onyangor, L. Mburu, and P. Abuonji, “Application Of K-Means Clustering For Customer Segmentation In Grocery Stores In Kenya,” 2024. [Online]. Available: http://ijstm.inarah.co.id DOI: https://doi.org/10.46729/ijstm.v5i1.1024

[7] A. Sakinah and D. S. Awaliyah, “Optimization E-Commerce Consumer Segmentation Based On K-Means Clustering And Machine Learning,” Journal of Mathematics, Computations and Statistics, vol. 8, no. 2, pp. 606–619, Sep. 2025, doi: 10.35580/jmathcos.v8i2.9548. DOI: https://doi.org/10.35580/jmathcos.v8i2.9548

[8] S. N. Lathifah and Z. F. Azzahra, “AI-Driven Customers Segmentation Using K-Means Clustering,” G-Tech: Jurnal Teknologi Terapan, vol. 9, no. 1, pp. 320–329, Jan. 2025, doi: 10.70609/gtech.v9i1.6202. DOI: https://doi.org/10.70609/gtech.v9i1.6202

[9] F. D. S. M. N. R. A. M. A. A. R. A. P. D. P. P. P. S. Farrikh Alzami, “Implementation of RFM Method and K-Means Algorithm for Customer Segmentation in E-Commerce with Streamlit,” 2023.

[10] R. Siagian, P. Sirait, and A. Halim, “SISTEMASI: Jurnal Sistem Informasi Penerapan Algoritma K-Means dan K-Medoids untuk Segmentasi Pelanggan pada Data Transaksi E-Commerce The Implementation of K-Means and K-Medoids Algorithm for Customer Segmentation on E-commerce Data Transactions,” Feb. 2022. [Online]. Available: http://sistemasi.ftik.unisi.ac.id DOI: https://doi.org/10.32520/stmsi.v11i2.1337

[11] H. Ania, M. Mahyuddin, and E. M. Zamzami, “Customer Segmentation of Mobile Banking Users Using Feature Engineering and K-Means Clustering,” Journal La Multiapp, vol. 6, no. 3, pp. 714–724, Jul. 2025, doi: 10.37899/journallamultiapp.v6i3.2377. DOI: https://doi.org/10.37899/journallamultiapp.v6i3.2377

[12] A. W. Bennett and S. Müller Loose, “User-Centered Development of an Online Dashboard Tool for Economic Sustainability for Small and Medium Enterprises,” Sustainability (Switzerland), vol. 16, no. 2, Jan. 2024, doi: 10.3390/su16020557. DOI: https://doi.org/10.3390/su16020557

[13] W. Ouyang, “Data Visualization in Big Data Analysis: Applications and Future Trends,” Journal of Computer and Communications, vol. 12, no. 11, pp. 76–85, 2024, doi: 10.4236/jcc.2024.1211005. DOI: https://doi.org/10.4236/jcc.2024.1211005

[14] M. Alves Gomes and T. Meisen, “A review on customer segmentation methods for personalized customer targeting in e-commerce use cases,” Information Systems and e-Business Management, vol. 21, no. 3, pp. 527–570, Sep. 2023, doi: 10.1007/s10257-023-00640-4. DOI: https://doi.org/10.1007/s10257-023-00640-4

[15] Kredivo; Katadata Insight Center, “Laporan Perilaku Konsumen e-Commerce Indonesia 2023,” 2023. Accessed: Nov. 07, 2025. [Online]. Available: https://kredivocorp.com/wp-content/uploads/2023/06/2023-Indonesia-e-Commerce-Behavior-Report.pdf

[16] M. Ehsan, “Predictive Modeling for Customer Segmentation in E-Commerce,” Jul. 2024, doi: 10.13140/RG.2.2.18926.52805.

[17] Z. Wu, L. Jin, J. Zhao, L. Jing, and L. Chen, “Research on Segmenting E-Commerce Customer through an Improved K-Medoids Clustering Algorithm,” Comput. Intell. Neurosci., vol. 2022, 2022, doi: 10.1155/2022/9930613. DOI: https://doi.org/10.1155/2022/9930613

[18] T. Caliñski and J. Harabasz, “A Dendrite Method Foe Cluster Analysis,” Communications in Statistics, vol. 3, no. 1, pp. 1–27, 1974, doi: 10.1080/03610927408827101. DOI: https://doi.org/10.1080/03610917408548446

[19] D. L. Davies and D. W. Bouldin, “A Cluster Separation Measure,” IEEE Trans. Pattern Anal. Mach. Intell., vol. PAMI-1, no. 2, pp. 224–227, 1979, doi: 10.1109/TPAMI.1979.4766909. DOI: https://doi.org/10.1109/TPAMI.1979.4766909

[20] S. Somavarapu and V. Gupta, “Issue 1 www.jetir.org (ISSN-2349-5162),” 2025. [Online]. Available: www.jetir.org

Downloads

Published

2025-12-31

Issue

Section

Articles

How to Cite

Segmentasi Konsumen E-Commerce Menggunakan Algoritma K-Means Berbasis Dashboard Interaktif. (2025). Jurnal Ilmiah Informatika Komputer, 30(3), 308-320. https://doi.org/10.35760/ik.2025.v30i3.70

Similar Articles

You may also start an advanced similarity search for this article.