Individual Work
Instructor: Violet Whitney

Mood Map

Mapping mood based on Twitter API.
In general, We can easily map a lot of data such as transportation, buildings,meteorology and other economical data. We can do these via Google data , NYC open data or other tangible data, but what if I want to know how do people feel in some specific places? who are they? what happy or sad things are they talking about?
At the same time, I found that people are always using social media like Facebook, twitter to express their feelings. It records their names, locations as well as words. So I started to use twitter.
#Start datamining!
First thing is to get data. There are many tutorials to get Twitter Data. For example, https://www.toptal.com/python/twitter-data-mining-using-python
However, I find an easier way to do it by grasshopper plugin-MOSQUITO. Thanks to Carson Smuts who created it!

Using Grasshopper_MOSQUITO to get tons of Twitter data

In this way, I search for key words “happy” in a circle area of 5km radius near columbus circle, so that I can get nearly 100 Twitter status talking about happy and their users. Finally, I get the CSV file including username, words and the profile url.
By using grids for visualization, we can see who they are and what they are talking interms of “happy”.

90 people who are talking about “happy” near Columbus circle

Finally, we can do more spots and make a map. So we can see people’s happy or sad feelings in different places.
In this way, we can see how people’s feeling vary from places.
Thank you for your reading.

You may also like

Back to Top