- The process for developing this geographic visualization is as follows:
- Collect public Twitter posts (tweets) that have been tagged with geographic locations and filter for those that contain a certain query term,
- Assign a sentiment (positive or negative) to each tweet, based on all of the words it contains,
- Aggregate tweets by the state, and finally
- Color each state according to the aggregate sentiment of its tweets. Red means positive sentiment; blue means negative.
- For the full assignment, visit Stanford’s nifty assignment page.