Portraits of Donald Trump and Hillary Clinton

Clinton vs. Trump: Who‘s Winning on Twitter?

An analysis of 3000 tweets sent by the Clinton and Trump campaigns between March and early September this year (2016) reveals stark differences in both content and social media exposure.

Up to September 2016, Trump boasted a number of 11.6 million Twitter followers compared to 8.86 million for Clinton. The average number of retweet for Trumps’ Twitter posts (5493) is also roughly twice as high as that from Clinton’s (2556).

Interestingly, as of July 2016, the number of daily tweets from Clinton’s account doubled to roughly 30 tweets daily while that same figure from Trump hovered around 12 tweets a day. These statistics suggest that Trump is gaining more engagement from Twitters’ users, even though Clinton is also fighting hard to gain presence in social media.

Tweets’ content analysisWord clouds featuring 100 most frequent words in Hillary Clinton's and Donald Trump's tweets

Clearly, both candidates refer to each other consistently in their tweets. Clinton mentions Trump primarily in terms of his disrespect for generals, immigration policies, tax breaks for the wealthy and failure to release tax returns. Popular themes in Clinton’s tweets are “families”, “women” and “jobs”. She tends to use words that suggests the togetherness of the American community as well as a positive attitude towards good changes for America.

Similarly, Trump made many references to Clinton through his posts, although he tended to use her first name, rather than her last. The word “Hillary” or the phrase “Crooked Hillary” was mentioned 547 times. Common topics that Trump addresses include controversy around Clinton’s emails, media manipulation, and criticism towards Clinton’s policies on foreign affairs and immigration.

Interestingly, Trump refers to Democrats, like Bernie Sanders and Barack Obama, as well as Republicans like his former opponents Ted Cruz and Marco Rubio. Unlike Clinton, Trump tends to make a greater use of words with negative tones, which sketch a pretty bleak portrait of the  U.S. , perhaps to make the case for the need to, as his campaign slogan phrases it, “Make American great again”.

Who do they talk to? 

In her tweets, Clinton frequently mentions @realDonaldTrump, but Trump does not seem to tag Clinton or mention her Twitter handle even though his Tweets mention her name consistently. Clinton seems to employ the strategy of engaging with and directly mentioning her opponent’s Twitter account, whereas Trump chooses to simply ignore his rival. It remains to be seen which strategy is more effective in this presidential election.Most common mentions in Trump's tweetsPie chart featuring the most common mentions in Clinton's tweetsWhile Clinton tends to mention Twitter users who are figures of her political party – @BillClinton for example, Trump referred to various right-wing media shows and channels – such as @FoxNews and @MegynKelly. Interestingly, Trump’s posts with mentions have on average 4 times the number of retweets as those without mention. Clinton’s posts with mentions have a 3 times higher number of retweets. Thus, mentions appear to increase the likelihood of retweets. Given that the average number of retweets for Trump’s posts is greater than that of Clinton’s, it seems like Trump’s way of using mentions may help him gain more attention from Twitter’s user community, although there may be other explanations as well.

5 Must-See TED Talks on Data Visualization!

Data visualization is crucial in understanding data and identifying hidden connections that matter. Below are 5 TED talks on data visualization you don’t want to miss!

1. Hans Rosling: The best stats you’ve ever seen

Han Rosling, cofounder of the Gapminder Foundation, developed the Trendalyzer software that converts international statistics – such as life expectancy and child mortality rate – into innovative, interactive graphics. The statistics guru is a strong advocate for public access to data and the development of tools that make it accessible and usable for all.  In this classic talk, Rosling highlights the importance of data in debunking myths about the gap between developed countries and the so-called “developing world.” Even though the talk was filmed 10 years ago, it still carries very important and relevant messages.

Watch more of Rosling’s TED talks here.

2. David McCandless: The beauty of data visualization

In this visually captivating talk, data journalist David McCandless suggests that data visualization is a quick solution to our current problem of information overload. Visualizations allow us to see the hidden patterns, identify connections that matter, and tell stories with data. To McCandless, “even when the information is terrible, the visual can be quite beautiful”; this is a controversial claim, however, since the main goal of data visualization should be to communicate information effectively through graphical means.

3. Dave Troy: Social maps that reveal a city’s intersections – and separations

A serial entrepreneur and data-viz fan, Dave Troy takes a people-focused approach to data visualization. Troy has been mapping tweets among city dwellers, revealing what connects communities and what separates them – above and beyond demographic factors such as race or ethnicity. He compares a city to a “giant high school cafeteria” and suggests that we see “how everybody arranged themselves in a seating chart”, arguing that “maybe it’s time to shake up the seating chart a little bit” to reshape our cities.

4. Eric Berlow & Sean Gourley: Mapping ideas worth spreading

An ecologist and a physicist, Eric Berlow and Sean Gourley, collaborate in this presentation to create stunning 3D visualizations demonstrating the interconnectedness of ideas. Taking 4,000 TEDx talks from 147 countries representing 50 languages, they explore their “meme-omes” – the mathematical structures that underlie the ideas behind these talks – and discover similarities between seemingly unconnected topics. Berlow and Gourley also broke down complex themes into multiple more specific ones, seeing what topics resonated with viewers and what kind of audience looked at what topic. To Gourley, mapping ideas in this way will help us “to see what’s being said, to see what’s not being said, and to be a little bit more human and, hopefully, a little smarter.”

5. Manuel Lima: A visual history of human knowledge

Founder of VisualComplexity.com Manuel Lima, described by Wired Magazine as “the man who turns data into art,” explains the visual metaphor shift from the tree to the network as “a new lens to understand the world around us.” Lima argues that the tree – an important tool to map everything from genealogy to systems of law to Darwin’s “Tree of Life” – is being replaced by a new metaphor – the network. Rigid structures are evolving into interdependent systems, and networks emerge to embody the nonlinearity, decentralization, interconnectedness, and multiplicity of ideas and knowledge. The shift in visual metaphor also represents a new way of thinking – one that is critical for us to solve many complex problems we are facing.

2016 RNC vs. DNC Convention: Night and Day

Using Nvivo, a text-analysis software, DASIL compared Clinton and Trump’s convention speeches to demonstrate the stark contrast between the two presidential candidates. The previous post briefly examined key themes in each candidate’s address using word clouds. This analysis expands on the previous post with a more in-depth comparison of the two candidates’ approaches to the following themes:


Table demonstrating the frequency of mention of the word “immigration” or “immigrant(s)” by count

Table demonstrating the frequency of mention of the word “immigration” or “immigrant(s)” by count

Table demonstrating the frequency of mention of the word “immigration” or “immigrant(s)” as percentage of total number of words in each speech.

Table demonstrating the frequency of mention of the word “immigration” or “immigrant(s)” as percentage of total number of words in each speech.

In Donald Trump’s speech, 10 out of 13 times in which “immigration” or “immigrant(s)” is mentioned, it’s accompanied by words with negative connotation such as “illegal”, “radical”, “dangerous”, or “uncontrolled”. According to Trump, immigration is deemed the cause of poverty, violence, drug issues, unemployment, and terrorism.

In contrast, Clinton presented herself as an advocate for comprehensive immigration integration, which is clearly demonstrated in her convention speech: 2 out of 4 times Clinton mentioned these words, “immigration” or “immigrant(s)” is accompanied by positive words and phrases. She described immigrants as “contributing to our economy” and “hardworking”.


Table demonstrating the frequency of mention of the word “job(s)” by count

Table demonstrating the frequency of mention of the word “job(s)” by count

Table demonstrating the frequency of mention of the word “job(s)” as percentage of total number of words in each speech.

Table demonstrating the frequency of mention of the word “job(s)” as percentage of total number of words in each speech.

Given the long-standing lag in job growth, outlining a vision for jobs creation and income gains is among the top priorities on the two candidates’ agenda. As mentioned in a previous post, Trump held a pessimistic outlook on the American economy: 4 out of 13 “job(s)” words mentioned by Trump are surrounded by words with negative connotation. The Republican nominee talked about the prospect of jobs and wages reduction with Clinton administration and consider regulation “one of the greatest job-killers of them all.”

On the other hand, Hillary Clinton chose to deliver a more hopeful view of the matter. She highlighted the prospect of good-paying jobs and the effectiveness of her policy in job creation. None of out of 18 times she touched upon the subject of employment did she make a negative remark on the issue.


Table demonstrating the frequency of mention of the word "America(ns)" by count and as percentage of total word count

Table demonstrating the frequency of mention of the word “America(ns)” by count and as percentage of total word count

The two presidential candidates frequently mentioned “America(ns)” in their speech, and the word clouds visualize the frequency of the use of these words between Clinton and Trump. In fact, Trump mentioned “America(ns) almost three times as often as Clinton did – both in terms of count (number of times “America(ns)” is mentioned) and percentage (number of times “America(ns)” is mentioned as a percentage of total word count).

Even though both Trump and Clinton embraced patriotism in their convention speeches, they did so in two strikingly different ways. The Republican Party and its presidential nominee portrayed America as a country under attack by all things foreign; the country is in a dark place and Trump is the one to “make America great again.” In contrast to Trump’s nationalism, Clinton talks about American in optimistic tones, emphasizing the family values – faith, community, and togetherness – that middle-class Americans adhere to.

Portraits of Donald Trump and Hillary Clinton

2016 U.S. Presidential Race: Do Convention Speeches Predict the Winner?

After the Republican and Democratic Conventions in July, the 2016 U.S. presidential race is on between Democrat Hillary Clinton, who is making history as the first female presidential nominee from one of the two major political parties, and Republican Donald Trump, the contentious and provocative New York billionaire. The race for the White House this year is undoubtedly one of the most memorable events in the history of American politics, partly because of the stark contrast between the two candidates, from their political and economic agenda to their appeal to voters. Using Nvivo, a text-analysis software, DASIL compared Clinton and Trump’s acceptance speeches at their respective party conventions to further demonstrate these differences.

Main theme and important issues

Word cloud of 30 most frequent words in Donald Trump's speech

30 most frequent words in Donald Trump’s speech

Looking at the 30 most frequent words in Trump’s speech, we can see that the main issues mentioned by the Republican candidate are immigration, national security, and public safety. The most common words in the speech include “violence”, “immigration”, “protect”, “border”, “laws”, “jobs”, and “violence”, highlighting a dark portrait of the current state of America. Trump strongly emphasized that much must be changed in order to fix these issues, and that he, rather than a Democratic leader, will change this grim outcome by restoring law and order.
Word Cloud of 3 most frequent words in Hillary Clinton's speech

30 most frequent words in Hillary Clinton’s speech

Clinton, on the other hand, gave a more optimistic and upbeat speech. While acknowledging the current issues facing America and the work needed to be done, Clinton also highlighted the strengths that the nation brings to overcome these challenges. Some of the most frequent words in her speech are “family”, “people”, “works”, “jobs” and “together”, hinting at some issues that the Democratic presidential candidate wants to tackle. At the same time, these words center around the notion of inclusivity and staying united, which offers stark contrast to Trump’s anti-immigration stance, isolationism, and Americanism.

“We” versus “I”

Using Nvivo, DASIL also compares how often the two presidential candidates used “we” words – such as we, our, ours, and ourselves – versus “I” words – such as I, me, my, mine, and myself in their convention speeches.

Table showing Trump and Clinton's "we" and "I" words

For every time Clinton said “I”, she said “we” 1.83 times, while her Republican opponent said “we” only 1.5 times for each “I”. With a 1.50 “we”-to-“I” ratio, Trump delivered a more self-focused convention speech than his Democratic rival Hillary Clinton, whose speech has a “we”-to-“I” ratio of 1.83. The difference in use of “we” versus “I” words between the two candidates reveals much about their speaking styles, personalities, and even chances of winning the election. A Bloomberg Politics study of convention speeches dating back to 1976 finds that the public tend to favor candidates who use more “we” words relative to “I” words. In nine out of 10 elections since 1976, the general election winners achieved a higher “we”-to-”I”-word score compared to his opponent [Bloomberg]

Bar graph showing the number of "we" words per each "me" words for presidential nominees since 1976

Bloomberg points out that “we” words inspire confidence in others and also reflect the speaker’s self-confidence, which is a key quality in good leadership. Clinton’s “we”-to-“I” victory over Trump in her convention speech suggests that she’s in the lead position to win in November. Trump’s speaking style is more personal; furthermore, his I-word usage reveals feelings of insecurity, perhaps due to a lack of political background and experience on political issues.