Analyzing Public Sentiment on Electric Vehicles Through BERTopic and Emotion-Based Data Clustering
DOI:
https://doi.org/10.29207/resti.v9i6.6830Keywords:
AI, BERTopic, data mining, electric vehicles, NRCLex, Topic ModellingAbstract
The escalating impact of technological advancements on worldwide society prompts a closer examination of their profound consequences. Enhanced communication methods and the significant influence of social media platforms stand out as critical factors, with the automotive industry responding to environmental concerns through the emergence of electric vehicles (EVs). In this work the relationship between the trends of EV evolving and social media was utilized using X (aka, Twitter) data. Specifically, this work studies the increasing market demand for EVs due to the impact of social media. Consequently, the study is crucial for both clients and EV manufacturers. To identify the primary discussion themes on Twitter, this article utilizes a topic modelling technique (BERTopic) a data mining method and analyses the production and sales of EV manufacturers. We utilized The National Research Council Canada's Emotion Lexicon (NRCLex) for emotion analysis. Trust, surprise, anger, anticipation, positive, negative, disgust, fear, sadness, and joy are the eight emotions of NRCLex that can provide awareness of the present dynamics. We compared current media coverage of EVs and topic-modeled data. The results showed that BERTopic and NRCLex provided a depth of analysis via the emotional analysis. Consequently, this study contributes to improving the understanding of public sentiment's influence on EV trends.
Downloads
References
E. A. Nanaki and C. J. Koroneos, “Comparative economic and environmental analysis of conventional, hybrid and electric vehicles – the case study of Greece,” J. Clean. Prod., vol. 53, pp. 261–266, Aug. 2013, doi: 10.1016/j.jclepro.2013.04.010.
B. Ballinger et al., “The vulnerability of electric vehicle deployment to critical mineral supply,” Appl. Energy, vol. 255, p. 113844, Dec. 2019, doi: 10.1016/j.apenergy.2019.113844.
K. Lee, D. Palsetia, R. Narayanan, M. M. A. Patwary, A. Agrawal, and A. Choudhary, “Twitter Trending Topic Classification,” in 2011 IEEE 11th International Conference on Data Mining Workshops, Dec. 2011, pp. 251–258, doi: 10.1109/ICDMW.2011.171.
M. R. Baker and A. Utku, “Unraveling user perceptions and biases: A comparative study of ML and DL models for exploring twitter sentiments towards ChatGPT,” J. Eng. Res., vol. 13, no. 2, pp. 1658–1665, Jun. 2025, doi: 10.1016/j.jer.2023.11.023.
Z. Fang, Y. He, and R. Procter, “A Query-Driven Topic Model,” in Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, Association for Computational Linguistics (ACL), May 2021, pp. 1764–1777. doi: 10.18653/v1/2021.findings-acl.154.
H. Jelodar, Y. Wang, R. Orji, and S. Huang, “Deep Sentiment Classification and Topic Discovery on Novel Coronavirus or COVID-19 Online Discussions: NLP Using LSTM Recurrent Neural Network Approach,” IEEE J. Biomed. Heal. Informatics, vol. 24, no. 10, pp. 2733–2742, Oct. 2020, doi: 10.1109/JBHI.2020.3001216.
S. Kim, J. Lee, and C. Lee, “Does Driving Range of Electric Vehicles Influence Electric Vehicle Adoption?,” Sustainability, vol. 9, no. 10, p. 1783, Oct. 2017, doi: 10.3390/su9101783.
R. Álvarez Fernández, “A more realistic approach to electric vehicle contribution to greenhouse gas emissions in the city,” J. Clean. Prod., vol. 172, pp. 949–959, Jan. 2018, doi: 10.1016/j.jclepro.2017.10.158.
J. Lee and S. Madanat, “Optimal design of electric vehicle public charging system in an urban network for Greenhouse Gas Emission and cost minimization,” Transp. Res. Part C Emerg. Technol., vol. 85, pp. 494–508, Dec. 2017, doi: 10.1016/j.trc.2017.10.008.
M. Coffman, P. Bernstein, and S. Wee, “Electric vehicles revisited: a review of factors that affect adoption,” Transp. Rev., vol. 37, no. 1, pp. 79–93, Jan. 2017, doi: 10.1080/01441647.2016.1217282.
M. Xu and Y. Liu, “Public’s Perception of Adopting Electric Vehicles: A Case Study of Singapore,” J. East. Asia Soc. Transp. Stud., vol. 12, pp. 285–298, 2017, Accessed: Sep. 28, 2022. [Online]. Available: https://www.jstage.jst.go.jp/article/easts/12/0/12_285/_article/-char/ja/.
Y.-N. Sang and H. A. Bekhet, “EXPLORING FACTORS INFLUENCING ELECTRIC VEHICLE USAGE INTENTION: AN EMPIRICAL STUDY IN MALAYSIA,” Int. J. Bus. Soc., vol. 16, no. 1, pp. 57–74, Nov. 2017, doi: 10.33736/ijbs.554.2015.
S. Yang, C. Deng, T. Tang, and Y. Qian, “Electric vehicle’s energy consumption of car-following models,” Nonlinear Dyn., vol. 71, pp. 323–329, 2013.
P. D. Larson, J. Viáfara, R. V. Parsons, and A. Elias, “Consumer attitudes about electric cars: Pricing analysis and policy implications,” Transp. Res. Part A Policy Pract., vol. 69, pp. 299–314, Nov. 2014, doi: 10.1016/j.tra.2014.09.002.
M. Adhikari, L. P. Ghimire, Y. Kim, P. Aryal, and S. B. Khadka, “Identification and Analysis of Barriers against Electric Vehicle Use,” Sustainability, vol. 12, no. 12, p. 4850, Jun. 2020, doi: 10.3390/su12124850.
S. Hosseinpour, Hongyi Chen, and Hua Tang, “Barriers to the wide adoption of electric vehicles: A literature review based discussion,” in 2015 Portland International Conference on Management of Engineering and Technology (PICMET), Aug. 2015, vol. 2015-Septe, pp. 2329–2336, doi: 10.1109/PICMET.2015.7273259.
F. Meszaros, M. Shatanawi, and G. A. Ogunkunbi, “Challenges of the Electric Vehicle Markets in Emerging Economies,” Period. Polytech. Transp. Eng., vol. 49, no. 1, pp. 93–101, Feb. 2020, doi: 10.3311/PPtr.14037.
S. Chu, “Car restraint policies and mileage in Singapore,” Transp. Res. Part A Policy Pract., vol. 77, pp. 404–412, Jul. 2015, doi: 10.1016/j.tra.2015.04.028.
S.-Y. Phang and R. S. Toh, “From manual to electronic road congestion pricing: The Singapore experience and experiment,” Transp. Res. Part E Logist. Transp. Rev., vol. 33, no. 2, pp. 97–106, Jun. 1997, doi: 10.1016/S1366-5545(97)00006-9.
B. T. Lokesh and J. T. Hui Min, “A Framework for Electric Vehicle (EV) Charging in Singapore,” Energy Procedia, vol. 143, pp. 15–20, Dec. 2017, doi: 10.1016/j.egypro.2017.12.641.
N. Berkeley, D. Jarvis, and A. Jones, “Analysing the take up of battery electric vehicles: An investigation of barriers amongst drivers in the UK,” Transp. Res. Part D Transp. Environ., vol. 63, pp. 466–481, Aug. 2018, doi: 10.1016/j.trd.2018.06.016.
G. H. Broadbent, D. Drozdzewski, and G. Metternicht, “Electric vehicle adoption: An analysis of best practice and pitfalls for policy making from experiences of Europe and the US,” Geogr. Compass, vol. 12, no. 2, p. e12358, Feb. 2018, doi: 10.1111/gec3.12358.
W. Medhat, A. Hassan, and H. Korashy, “Sentiment analysis algorithms and applications: A survey,” Ain Shams Eng. J., vol. 5, no. 4, pp. 1093–1113, Dec. 2014, doi: 10.1016/j.asej.2014.04.011.
A. S. Mirdan, S. Buyrukoğlu, and M. R. Baker, “Advanced deep learning techniques for sentiment analysis: combining Bi-LSTM, CNN, and attention layers,” Int. J. Adv. Intell. Informatics, vol. 11, no. 1, pp. 55–71, 2025, doi: 10.26555/ijain.v11i1.1848.
C. Lin, Y. He, R. Everson, and S. Ruger, “Weakly supervised joint sentiment-topic detection from text,” IEEE Trans. Knowl. Data Eng., vol. 24, no. 6, pp. 1134–1145, 2011.
H. Rui, Y. Liu, and A. Whinston, “Whose and what chatter matters? The effect of tweets on movie sales,” Decis. Support Syst., vol. 55, no. 4, pp. 863–870, 2013.
S. Bao et al., “Mining social emotions from affective text,” IEEE Trans. Knowl. Data Eng., vol. 24, no. 9, pp. 1658–1670, Sep. 2011, doi: 10.1109/tkde.2011.188.
H. Wang, X. Shi, and D.-Y. Yeung, “Relational deep learning: A deep latent variable model for link prediction,” in Proceedings of the AAAI Conference on Artificial Intelligence, 2017, vol. 31, no. 1.
K. H. Jihad, M. R. Baker, M. Farhat, and M. Frikha, “Machine Learning-Based Social Media Text Analysis: Impact of the Rising Fuel Prices on Electric Vehicles,” Lect. Notes Networks Syst., vol. 647 LNNS, pp. 625–635, 2023, doi: 10.1007/978-3-031-27409-1_57.
R. Kamal, M. A. Shah, C. Maple, M. Masood, A. Wahid, and A. Mehmood, “Emotion classification and crowd source sensing; A lexicon based approach,” IEEE Access, vol. 7, pp. 27124–27134, 2019, doi: 10.1109/ACCESS.2019.2892624.
M. A. Tocoglu, O. Ozturkmenoglu, and A. Alpkocak, “Emotion Analysis From Turkish Tweets Using Deep Neural Networks,” IEEE Access, vol. 7, pp. 183061–183069, 2019, doi: 10.1109/ACCESS.2019.2960113.
K. Tago and Q. Jin, “Influence analysis of emotional behaviors and user relationships based on Twitter data,” Tsinghua Sci. Technol., vol. 23, no. 1, pp. 104–113, Feb. 2018, doi: 10.26599/TST.2018.9010012.
F. T. Giuntini et al., “How Do I Feel? Identifying Emotional Expressions on Facebook Reactions Using Clustering Mechanism,” IEEE Access, vol. 7, pp. 53909–53921, 2019, doi: 10.1109/ACCESS.2019.2913136.
M. R. Baker, E. Z. Mohammed, and K. H. Jihad, “Prediction of Colon Cancer Related Tweets Using Deep Learning Models,” in Lecture Notes in Networks and Systems, vol. 646 LNNS, Springer, 2023, pp. 522–532.
S. Mohammad, “From Once Upon a Time to Happily Ever After: Tracking Emotions in Novels and Fairy Tales,” Proc. Annu. Meet. Assoc. Comput. Linguist., vol. 53, no. 4, pp. 105–114, Sep. 2013, [Online]. Available: http://arxiv.org/abs/1309.5909.
K. H. Jihad, M. R. Baker, O. A. Mahmood, S. U. Umar, and B. D. Parameshachari, “Emotion-Driven Predictive Modeling of Airline User Reviews: A Comparative Analysis of ML Models,” in Lecture Notes in Networks and Systems, vol. 1245 LNNS, Springer, 2025, pp. 86–96.
S. R et al., “Analyzing Sentiments Regarding ChatGPT Using Novel BERT: A Machine Learning Approach,” Information, vol. 14, no. 9, p. 474, Aug. 2023, doi: 10.3390/info14090474.
R. Egger and J. Yu, “A Topic Modeling Comparison Between LDA, NMF, Top2Vec, and BERTopic to Demystify Twitter Posts,” Front. Sociol., vol. 7, p. 886498, May 2022, doi: 10.3389/fsoc.2022.886498.
S. Shrivastava, “Recent trends in supply chain management of business-to-business firms: a review and future research directions,” J. Bus. Ind. Mark., vol. 38, no. 12, pp. 2673–2693, Nov. 2023, doi: 10.1108/JBIM-02-2023-0122.
A. Alamsyah and N. D. Girawan, “Improving Clothing Product Quality and Reducing Waste Based on Consumer Review Using RoBERTa and BERTopic Language Model,” Big Data Cogn. Comput., vol. 7, no. 4, p. 168, Oct. 2023, doi: 10.3390/bdcc7040168.
“Top five electric motorbikes of 2019 | Footman James.”
M. C. Pardo-Ferreira, J. A. Torrecilla-García, C. de las Heras-Rosas, and J. C. Rubio-Romero, “New Risk Situations Related to Low Noise from Electric Vehicles: Perception of Workers as Pedestrians and Other Vehicle Drivers,” Int. J. Environ. Res. Public Health, vol. 17, no. 18, p. 6701, Sep. 2020, doi: 10.3390/ijerph17186701.
“GM resurrecting Hummer as an all-electric ‘super truck’ with 1,000 hp.”.
“Bajaj Chetak electric will Launch on January 14, 2020 - India’s best electric vehicles news portal.”.
M. Muratori et al., “The rise of electric vehicles—2020 status and future expectations,” Prog. Energy, vol. 3, no. 2, p. 022002, Apr. 2021, doi: 10.1088/2516-1083/abe0ad.
G. Sebastian, “Merics China Monitor the Bumpy Road Ahead in China for Germany’S Carmakers,” Merics China Monit., pp. 2002–2023, 2022.
Editor, “Electric bus, main fleets and projects around the world,” Sustanainable Bus, no. July. 2023, [Online]. Available: https://www.sustainable-bus.com/electric-bus/electric-bus-public-transport-main-fleets-projects-around-world/.
“Why the future involves e-mobility | McKinsey.”
J. Rowlatt, “COP26: World at one minute to midnight over climate change - Boris Johnson,” Bbc, vol. 1, 2021, [Online]. Available: https://www.bbc.com/news/uk-59114871.
F. Alanazi, “Electric Vehicles: Benefits, Challenges, and Potential Solutions for Widespread Adaptation,” Appl. Sci., vol. 13, no. 10, p. 6016, May 2023, doi: 10.3390/app13106016.
C. H. T. Lee, W. Hua, T. Long, C. Jiang, and L. V. Iyer, “A Critical Review of Emerging Technologies for Electric and Hybrid Vehicles,” IEEE Open J. Veh. Technol., vol. 2, pp. 471–485, 2021, doi: 10.1109/OJVT.2021.3138894.
A. Verkehrswende et al., “Towards Decarbonising Transport 2023,” 2023. [Online]. Available: www.agora-verkehrswende.deinfo@agora-verkehrswende.dewww.giz.de.
M. Nour, S. M. Said, A. Ali, and C. Farkas, “Smart Charging of Electric Vehicles According to Electricity Price,” in 2019 International Conference on Innovative Trends in Computer Engineering (ITCE), Feb. 2019, pp. 432–437, doi: 10.1109/ITCE.2019.8646425.
I.-S. Sorlei et al., “Fuel Cell Electric Vehicles—A Brief Review of Current Topologies and Energy Management Strategies,” Energies, vol. 14, no. 1, p. 252, Jan. 2021, doi: 10.3390/en14010252.
B. Al-Hanahi, I. Ahmad, D. Habibi, and M. A. S. Masoum, “Charging Infrastructure for Commercial Electric Vehicles: Challenges and Future Works,” IEEE Access, vol. 9, pp. 121476–121492, 2021, doi: 10.1109/ACCESS.2021.3108817.
J. J. Gómez Vilchez, R. Pasqualino, and Y. Hernandez, “The new electric SUV market under battery supply constraints: Might they increase CO2 emissions?,” J. Clean. Prod., vol. 383, p. 135294, Jan. 2023, doi: 10.1016/j.jclepro.2022.135294.
Downloads
Published
Issue
Section
License
Copyright in each article belongs to the author
- The author acknowledges that the RESTI Journal (System Engineering and Information Technology) is the first publisher to publish with a license Creative Commons Attribution 4.0 International License.
- Authors can enter writing separately, arrange the non-exclusive distribution of manuscripts that have been published in this journal into other versions (eg sent to the author's institutional repository, publication in a book, etc.), by acknowledging that the manuscript has been published for the first time in the RESTI (Rekayasa Sistem dan Teknologi Informasi) journal ;





