Sentiment Analysis between VADER and EDA for the US Presidential Election 2020 on Twitter Datasets

Ria Devina Endsuy


The 2020 US Election took place on November 3, 2020, the result of the election was that Joe Biden received 51.4% of the votes, Donald Trump 46.9%, and the rest were other candidates. The period before the election was a time when people conveyed who would vote and conveyed the reasons directly or through social media, especially Twitter through keywords or tags such as #JoeBiden & #DonaldTrump. In this paper, we will compare sentiment analysis and explanatory data analysis against US election data on Twitter. The overall objective of the two case studies is to evaluate the similarity between the sentiment of location-based tweets and on-ground public opinion reflected in election results. In this paper, we find that there are more "neutral" sentiments than "negative" and "positive" sentiments.

Article Metrics

Abstract: 12 Viewers PDF: 8 Viewers


US Election; Sentiment Analysis; VADER; EDA; Twitter

Full Text:



H. Wang, D. Can, A. Kazemzadeh, F. Bar, and S. Narayanan, “A System for Real-time Twitter Sentiment Analysis of 2012 U.S. Presidential Election Cycle,” Proc. 50th Annu. Meet. Assoc. Comput. Linguist., no. July, pp. 115–120, 2012, doi: 10.1145/1935826.1935854.

A. G. Greenwald, C. T. Smith, N. Sriram, Y. Bar-Anan, and B. A. Nosek, “Implicit Race Attitudes Predicted Vote in the 2008 U.S. Presidential Election,” Anal. Soc. Issues Public Policy, vol. 9, no. 1, pp. 241–253, 2009, doi: 10.1111/j.1530-2415.2009.01195.x.

J. Shin, L. Jian, K. Driscoll, and F. Bar, “Political rumoring on Twitter during the 2012 US presidential election: Rumor diffusion and correction,” New Media Soc., vol. 19, no. 8, pp. 1214–1235, 2017, doi: 10.1177/1461444816634054.

D. Karol and E. Miguel, “The electoral cost of war: Iraq casualties and the 2004 U.S. presidential election,” J. Polit., vol. 69, no. 3, pp. 633–648, 2007, doi: 10.1111/j.1468-2508.2007.00564.x.

B. S. Kiousis and T. N. York, “New York Times Issue Coverage 2000 U.S. Presidential.pdf,” pp. 71–87, 2004.

M. Cerezo, “Las nociones de Sachverhalt, Tatsache y Sachlage en el Tractatus de Wittgenstein,” Anu. Filos., vol. 37, no. 2, pp. 455–479, 2004, doi: 10.15581/

E. S. Han and A. goleman, daniel; boyatzis, Richard; Mckee, “US Presidential Election 2012 Prediction using Census CorrectedTwitter Model,” J. Chem. Inf. Model., vol. 53, no. 9, pp. 1689–1699, 2019.

J. Wilson and C. Hernández-Hall, “Octava Conferencia Internacional AAAI sobre Weblogs y Redes Sociales,” Eighth Int. AAAI Conf. Weblogs Soc. Media, p. 18, 2014, [Online]. Available:

S. Elbagir and J. Yang, “Twitter sentiment analysis using natural language toolkit and Vader sentiment,” Lect. Notes Eng. Comput. Sci., vol. 2239, pp. 12–16, 2019.

C. W. Park and D. R. Seo, “Sentiment analysis of Twitter corpus related to artificial intelligence assistants,” 2018 5th Int. Conf. Ind. Eng. Appl. ICIEA 2018, pp. 495–498, 2018, doi: 10.1109/IEA.2018.8387151.

D. R. Brillinger, H. K. Preisler, A. A. Ager, and J. G. Kie, “An exploratory data analysis (EDA) of the paths of moving animals,” J. Stat. Plan. Inference, vol. 122, no. 1–2, pp. 43–63, 2004, doi: 10.1016/j.jspi.2003.06.016.

J. T. Behrens, “Principles and Procedures of Exploratory Data Analysis,” Psychol. Methods, vol. 2, no. 2, pp. 131–160, 1997, doi: 10.1037/1082-989X.2.2.131.

T. Astuti and I. Pratika, “Product Review Sentiment Analysis by Artificial Neural Network Algorithm,” IJIIS Int. J. Informatics Inf. Syst., vol. 2, no. 2, pp. 61–66, 2019, doi: 10.47738/ijiis.v2i2.15.


  • There are currently no refbacks.


Journal of Applied Data Science

2723-6471 (Online)
Published by Bright Publisher
Puri Mersi Baru, Jl.Martadireja II, Gang Sitihingil 3 Blok A No 2, Purwokerto Timur, Jawa Tengah
Website :
Email :

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0