Mapping Voter Segmentation Based on Demographic Characteristics Using the K-Means Clustering Method
Keywords:
Voter Segmentation, Demographic Characteristics, K-Means Clustering, Permanent Voter List, Electoral Data.Abstract
This study aims to identify voter demographic patterns through voter segmentation using the K-Means Clustering algorithm based on Permanent Voter List (Daftar Pemilih Tetap/DPT) data from Pematangsiantar, North Sumatra, Indonesia. The research adopts a quantitative approach to analyze demographic characteristics and identify similarities among voters across administrative areas. The dataset consists of 75,078 valid voter records collected from 20 Excel workbooks representing 20 urban villages across eight districts. The demographic attributes include the number of registered voters, average age, gender composition, and age-group distribution. The research methodology consists of data collection, data preprocessing, feature selection, data transformation, standardization, K-Means implementation, and cluster evaluation. The optimal number of clusters is determined using the Silhouette Score by comparing different clustering configurations. The experimental results indicate that two clusters provide the optimal segmentation, achieving a Silhouette Score of 0.4893. The resulting clusters represent different demographic profiles among the analyzed urban villages, particularly in terms of voter population, age composition, and gender distribution. Furthermore, the visualization results demonstrate demographic variations across administrative areas and provide a structured overview of voter characteristics. These findings indicate that K-Means Clustering can transform administrative electoral records into meaningful demographic information that supports regional voter analysis and the planning of voter education activities. The study also provides an analytical foundation for understanding voter distribution based on demographic similarities. However, the findings are limited to the available DPT records and do not directly measure actual voter turnout, political preferences, or individual voting behavior. Future research may incorporate additional electoral datasets and alternative clustering techniques to improve segmentation analysis and provide more comprehensive insights.
References
H. W. Dhany, F. Izhari, and S. Komputer, “Jurnal ICT : Information and Communication Technologies, 15 (2) (2024) 48-54 Prediction analysis condition animal use algorithm (SVM+KNN),” 2024. [Online]. Available: www.ejournal.marqchainstitute.or.id/index.php/JICT
Z. Sitorus, D. Prayogi, M. A. Rizko, A. G. Suteja, and M. R. Harahap, “Implementation of the Insertion Sort Algorithm to Sort Positive Integers in Ascending Order Using Flowgorithm,” Journal of Information Technology, computer science and Electrical Engineering (JITCSE), vol. 1, no. 3, pp. 323–328, 2024, doi: 10.30596/jitcse.
K. Khairul, A. H. Nasyuha, A. Ikhwan, M. H. Aly, and A. Ahyanuardi, “Implementation of Multiple Linear Regression to Estimate Profit on Sales of Screen Printing Equipment,” JURNAL INFOTEL, vol. 15, no. 2, pp. 55–61, Jun. 2023, doi: 10.20895/infotel.v15i2.934.
M. S. Novelan and S. Aryza, “OPTIMIZATION CVRP WITH MACHINE LEARNING FOR IMPROVED CLASSIFICATION OF IMBALANCED DATA FOOD DISTRIBUTION,” JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 10, no. 4, pp. 917–925, Jun. 2025, doi: 10.33480/jitk.v10i4.6467.
R. Farta Wijaya, F. Kurniawan, R. R. Putrai, A. Alvin, F. Sains, and D. Teknologi, “OPTIMIZING THE MANAGEMENT OF VILLAGE ACTIVITIES THROUGH INFORMATION SYSTEMS FOR TRANSPARENCY AND ACCOUNTABILITY IN PERTUMBUKAN VILLAGE, WAMPU DISTRICT,” 2024.
M. M. Maulana, A. I. Suroso, Y. Nurhadryani, and K. B. Seminar, “The Smart Governance Framework and Enterprise System’s Capability for Improving Bio-Business Licensing Services,” Informatics, vol. 10, no. 2, Jun. 2023, doi: 10.3390/informatics10020053.
A. Putera Utama Siahaan, N. Azizah Harahap, R. Yuni Simanullang, and P. Wanny, “Analysis of Inpatient Data Using Cluster Analysis on Simulation Dataset,” Bulletin of Information Technology (BIT), vol. 6, no. 1, pp. 33–39, 2025, doi: 10.47065/bit.v5i2.1830.
M. S. Novelan, S. Efendi, P. Sihombing, and H. Mawengkang, “VEHICLE ROUTING PROBLEM OPTIMIZATION WITH MACHINE LEARNING IN IMBALANCED CLASSIFICATION VEHICLE ROUTE DATA,” Eastern-European Journal of Enterprise Technologies, vol. 5, no. 3(125), pp. 49–56, 2023, doi: 10.15587/1729-4061.2023.288280.
M. Iqbal and S. Efendi, “Data-Driven Approach for Credit Risk Analysis Using C4.5 Algorithm,” ComTech: Computer, Mathematics and Engineering Applications, vol. 14, no. 1, pp. 11–20, May 2023, doi: 10.21512/comtech.v14i1.8243.
J. Asharf, N. Moustafa, H. Khurshid, E. Debie, W. Haider, and A. Wahab, “A review of intrusion detection systems using machine and deep learning in internet of things: Challenges, solutions and future directions,” Jul. 01, 2020, MDPI AG. doi: 10.3390/electronics9071177.
W. Cetera, W. Gogołek, A. Żołnierski, and D. Jaruga, “Potential for the use of large unstructured data resources by public innovation support institutions,” J. Big Data, vol. 9, no. 1, Dec. 2022, doi: 10.1186/s40537-022-00610-6.
G. Rajeshkumar et al., “Smart office automation via faster R-CNN based face recognition and internet of things,” Measurement: Sensors, vol. 27, Jun. 2023, doi: 10.1016/j.measen.2023.100719.
A. Rejeb et al., “The Internet of Things (IoT) in healthcare: Taking stock and moving forward,” Jul. 01, 2023, Elsevier B.V. doi: 10.1016/j.iot.2023.100721.
M. Overton, S. Larson, L. J. Carlson, and S. Kleinschmit, “Public data primacy: the changing landscape of public service delivery as big data gets bigger,” Global Public Policy and Governance, vol. 2, no. 4, pp. 381–399, Dec. 2022, doi: 10.1007/s43508-022-00052-z.
J. Ilmiah, E. & Erudisi, A. Zahara, M. I. Kabullah, and R. E. Putera, “JIEE: Effectiveness of the OSSRBA (Online Single Submission Risk Based Approach) System in Business Licensing Services in Payakumbuh City DPMPTSP,” vol. 3, pp. 22–40, 2023.
W. Jin, “Challenges and Innovative Countermeasures Faced by Public Administration in the Context of Big Data and Internet of Things,” Math. Probl. Eng., vol. 2022, 2022, doi: 10.1155/2022/8949365.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Dedy Rahman Harahap; Rian Farta Wijaya

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.




