A geographic visualization of Twitter data across the USA. Developed in Python.
Trends creates a map that depicts how the people in different states feel on basis of their tweets. For example, an image of how people feel about "California" is generated by:
- Collecting public Twitter posts (Tweets) that have been tagged with geographic locations and filtering for those that contain the "cali" query term,
- Assigning a sentiment (positive or negative) to each Tweet, based on all of the words it contains,
- Aggregating Tweets by the state with the closest geographic center, and finally
- Coloring each state according to the aggregate sentiment of its Tweets. Yellow means positive sentiment; blue means negative.
For usage details, please refer to: https://inst.eecs.berkeley.edu/~cs61a/fa14/proj/trends/