Wordclouds of America

By Max Candocia

|

July 02, 2018

What do Americans think of when they describe America? I asked 137 people via survey to describe America in three words (among other questions), and these are the results:

plot of chunk overall_wordcloud

Wordclouds By Support for Trump

I also asked respondents their opinion of President Trump. Below are the word clouds divided by whether or not they have a positive opinion of Trump.

Positive Opinion

plot of chunk trump_support_wordcloud

Negative Opinion

plot of chunk trump_disapprove_wordcloud

Neutral Opinion

plot of chunk trump_neutral_wordcloud

Visualization Note

I used GIMP to change the background of the images to an american flag, as image processing isn't very graceful with R, the programming language I used to generate the word clouds

GitHub Repository

Code is hosted on https://github.com/mcandocia/FourthOfJulySurvey


Tags: 

Recommended Articles

Evaluate My Lottery Ticket!

What is the expected value of a lottery ticket, and is it actually worth it just for the jackpot? With this tool, you can look at what any number of tickets are worth, with a highly customizeable input.

Exploring Data with Generative Clustering

Clustering is a common machine learning technique applied to data for a variety of reasons, including dimensionality reduction, finding similar objects, and discovering important features. Here I demonstrate how generative clustering can be used with the Iris data set.