Public Opinion Toward Viral YouTube Content: Machine Learning–Based Sentiment Analysis of Comments on the MrBeast Channel

Authors

  • Nabilah Angielara Universitas Islam Negeri Sultan Syarif Kasim Riau
  • Assyari Abdullah Universitas Islam Negeri Sultan Syarif Kasim Riau
  • Rohayati Rohayati Universitas Islam Negeri Sultan Syarif Kasim Riau

Keywords:

Public Opinion, Sentiment Analysis, Machine Learning, YouTube Comments, Viral Content

Abstract

Social media, particularly YouTube, has become a primary space for the public to express opinions and respond to various forms of digital content. User comments on viral videos can represent audience perceptions and sentiments; Therefore, analyzing comment data is essential to more systematically understand trends in public opinion. This study aims to examine public opinion toward viral content on the MrBeast YouTube channel through a machine learning–based sentiment analysis approach. The data were obtained from a MrBeast YouTube comments dataset available on Kaggle. The dataset was processed through text preprocessing stages, including data cleaning, text normalization, and the removal of irrelevant words. The text was then transformed into numerical features using Term Frequency–Inverse Document Frequency (TF-IDF), before sentiment classification was performed using machine learning algorithms to categorize comments into three classes: positive, neutral, and negative. The results show that the sentiment distribution consists of 63.09% positive sentiment, 35.50% neutral sentiment, and 1.41% negative sentiment. These findings indicate that the majority of audience comments on MrBeast's content tend to be positive, reflecting strong public acceptance of viral content on the channel. This study is expected to contribute to the development of data-driven public opinion analysis on social media and to serve as a reference for future research in sentiment analysis, digital communication, and viral content studies.

References

Alharbi, A., & de Doncker, E. (2023). Twitter sentiment analysis using hybrid machine learning techniques. Applied Sciences, 13(4), 2345. https://doi.org/10.3390/app13042345

Berger, J. (2013). Contagious: Why things catch on. Simon & Schuster.

Habermas, J. (1989). The structural transformation of the public sphere: An inquiry into a category of bourgeois society. MIT Press.

Kaggle. (2023). YouTube comments dataset. https://www.kaggle.com

Kumar, A., & Sebastian, T. M. (2022). Sentiment analysis on social media using machine learning approaches: A review. Journal of Big Data, 9(1), 1–27. https://doi.org/10.1186/s40537-021-00544-1

Lippmann, W. (1922). Public opinion. Harcourt, Brace and Company.

Liu, B. (2012). Sentiment analysis and opinion mining. Morgan & Claypool Publishers.

Manning, C. D., & Schütze, H. (1999). Foundations of statistical natural language processing. MIT Press.

McQuail, D. (2010). McQuail's mass communication theory (6th ed.). Sage Publications.

Mitchell, T. M. (1997). Machine learning. McGraw-Hill.

Pang, B., & Lee, L. (2008). Opinion mining and sentiment analysis. Foundations and Trends in Information Retrieval, 2(1–2), 1–135.

Russell, S., & Norvig, P. (2016). Artificial intelligence: A modern approach (3rd ed.). Pearson.

Salton, G., & Buckley, C. (1988). Term-weighting approaches in automatic text retrieval. Information Processing & Management, 24(5), 513–523.

YouTube. (2023). YouTube for press. https://www.youtube.com

Zhang, L., Wang, S., & Liu, B. (2021). Deep learning for sentiment analysis: A survey. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, 11(3), e1408. https://doi.org/10.1002/widm.1408

Downloads

Published

2026-06-30