Global Sentiments Surrounding the COVID-19 Pandemic on Twitter: Analysis of Twitter Trends

Background: With the World Health Organization’s pandemic declaration and government-initiated actions against coronavirus disease (COVID-19), sentiments surrounding COVID-19 have evolved rapidly. Objective: This study aimed to examine worldwide trends of four emotions—fear, anger, sadness, and joy—and the narratives underlying those emotions during the COVID-19 pandemic. Methods: Over 20 million social media twitter posts made during the early phases of the COVID-19 outbreak from January 28 to April 9, 2020, were collected using “wuhan,” “corona,” “nCov,” and “covid” as search keywords. Results: Public emotions shifted strongly from fear to anger over the course of the pandemic, while sadness and joy also surfaced. Findings from word clouds suggest that fears around shortages of COVID-19 tests and medical supplies became increasingly widespread discussion points. Anger shifted from xenophobia at the beginning of the pandemic to discourse around the stay-at-home notices. Sadness was highlighted by the topics of losing friends and family members, while topics related to joy included words of gratitude and good health. Conclusions: Overall, global COVID-19 sentiments have shown rapid evolutions within just the span of a few weeks. Findings suggest that emotion-driven collective issues around shared public distress experiences of the COVID-19 pandemic are developing and include large-scale social isolation and the loss of human lives. The steady rise of societal concerns indicated by negative emotions needs to be monitored and controlled by complementing regular crisis communication with strategic public health communication that aims to balance public psychological wellbeing.


Introduction
The coronavirus disease (COVID-19) pandemic has infected individuals in more than 200 countries and resulted in many deaths [1]. With the World Health Organization's (WHO's) pandemic declaration and government-initiated actions against the disease, sentiments about COVID-19 are rapidly evolving. In the past decade, social media analytic tools have been utilized to monitor public sentiments and communication patterns of public health emergencies like the Ebola and Zika epidemics. Although many studies have investigated general sentiment valences and discourse topics [2,3], specific emotions have been found to be more closely linked to psychological processes and behaviors than the overall positive and negative valences [4]. Therefore, we postulate that distinct emotions emerging from social media and their underlying narratives are highly relevant to the current COVID-19 crisis and can provide actionable insights into the efficacy of public health messaging.
Particularly, we focused on four emotions: fear, anger, sadness, and joy. According to Plutchik's Wheel of Emotions [5], fear-anger and sadness-joy are the basic emotion pairs of opposite experiences. Fear is an unpleasant emotion typically arising from danger or uncertainties caused by circumstances, while anger results from uncertainties caused by others [6]. Sadness is a negative emotion experienced typically after unpleasant circumstances that are out of one's control, and joy is a positive feeling after pleasant events that are appraised as certain and under control [6]. Investigating the evolution of these four basic emotions can demonstrate the changing dynamics of the public's experience to the crisis.
In this report, we present the results of Twitter users' public emotional responses to the pandemic. Trends of the four basic emotions and the narratives underlying those emotions were examined.

Methods
English tweets related to COVID-19 worldwide posted from January 28 to April 9, 2020, were collected from Twitter's standard search application programming interface using "wuhan," "corona," "nCov," and "covid" as search keywords. These keywords were selected because they were widely used during the early assessment of the COVID-19 situation. Publicly accessible tweets from any type of account that contained any of the keywords were collected. The underlying emotions of tweets were analyzed using the algorithm CrystalFeel, a sentiment analytic technology whose accuracy had been demonstrated (see details and examples in Multimedia Appendix 1) [7]. Pearson r correlations were conducted between emotions and date to demonstrate the trends of emotions across time statistically. Word clouds were generated for each of the four emotions based on the top frequent unigrams and bigrams.

Results
A total of 20,325,929 tweets were collected, including 7,033,158 unique users from more than 170 countries. The daily proportion of tweets stratified by emotion were plotted across time ( Figure  1). Expectedly, fear was the dominant emotion at the end of January when the disease first surfaced. The prominence of fear gradually dropped to less than 30% of daily tweets in early April as the crisis developed (r 71 =-0.92; P<.001). In contrast, tweets on anger progressively increased from late January to early March, peaking at 29% on March 12, a day after the pandemic declaration by the WHO. Tweets on anger slightly decreased since then, but remains at a relatively high level (r 71 =0.75; P<.001). Coinciding with the decrease of tweets on both fear and anger after the pandemic announcement, tweets on sadness, although proportionally lower than those of the other emotions, doubled since the WHO declaration (r 71 =0.88; P<.001). Similarly, tweets on joy, suggesting a sense of pride, gratitude, hope, and happiness [7], also increased (r 71 =0.86; P<.001).
Further analyses using word clouds suggest that narratives underlying those emotions evolved as the pandemic developed (Multimedia Appendix 2). In late January, fear was possibly related to the emergence of COVID-19 and its unknown nature, causing uncertainty about containment and spread, indicated by words such as "first case" and "outbreak." However, as the pandemic escalated, the narratives suggested fear about shortages of COVID-19 tests and medical supplies indicated by words such as "test shortages" and "uncounted." The anger word clouds suggest xenophobia at the beginning of the pandemic when the disease was predominantly localized to China and Asia, indicated by words such as "racist" and "Chinese people." Anger then shifted to discourse around isolation fatigue that can occur from social seclusion, indicated by words such as "stay home" and several swear words. Narratives of recent sadness surrounding the topics of losing JMIR Public Health Surveill 2020 | vol. 6 | iss. 2 | e19447 | p. 2 http://publichealth.jmir.org/2020/2/e19447/ (page number not for citation purposes)

XSL • FO
RenderX friends and family members are surfacing, with words relating to "loved one" and "passed away," highlighting potential social concerns arising from personal traumatic experiences of the pandemic. The world has also seen a concurrent increase in the sense of joy encompassing hope, gratitude, and human resilience with words such as "Thank," "good news," and "feel good."

Discussion
Our initial findings suggest that global online discourse is swiftly evolving. The discourse is driven by shared public experiences of the COVID-19 pandemic, including large-scale social isolation and the loss of human lives. Although existing studies have demonstrated the immediate psychological reactions to COVID-19 [8,9], our study is the first to demonstrate the evolution of responses across time.
Our findings reveal that negative emotions are dominant during the COVID-19 pandemic, supporting the recent call for action to maintain the public's mental wellbeing for this unprecedented crisis [10]. Negative emotions such as anger and sadness, which are increasing, need to be heeded and counterbalanced by complementing regular crisis communication with strategic public health communication that aims to balance public psychological wellbeing [2]. If such overbearing public emotions are not addressed, there is potential for the emergence of unintended outcomes such as breeding mistrust in the handling of the disease and a belief in online falsehoods that could hinder the ongoing control of the disease [11,12].
Although the data, collected from Twitter's standard application programming interface, looks at only public tweets surrounding the four selected keywords, the estimation is appropriate for the public discourse surrounding the pandemic at present that abides to ethnical guidelines. Future studies should further investigate sentiments by examining specific countries and expanding the scope to include other media platforms such as Facebook and Weibo.