

EXPLORING THE CONNECTION BETWEEN TWITTER TRENDS AND NEW YORK TIMES HEADLINES
​
What is their relationship?
Social media and reality are in a constant feedback loop. After the recent political conflicts between Iran and the U.S.A, I started to notice that Iran’s currency would drop every time that President Trump tweeted about Iran.

I was curious to explore the connection between trending topics on Twitter and the news headlines of the day. I chose to focus on American news and chose the New York Times as my specific media source.
PROTOTYPE LAYOUT :

TOOLS:
I am using Twitter API and The New York Times API to get the latest trends and article headlines.
CHALLENGES:

FINAL WEBSITE:
Screenshots of the website on different days:



CONCLUSION:
After observing this website for several days, I realized that the headlines typically arrive on the Times a day after Twitter. I hypothesize that this is because Twitter is happening in real-time whereas it takes the Times more time for journalists to write, edit, and publish an article. In a future iteration, I should build a sidebar to be able to surf through time.
The New York Times does not cover some topics that people talk about on Twitter, and trends indicate that people on Twitter do not care about some articles on the Times either. I ask you to take a look at my website yourself to reach your own conclusions: Twitter vs. The Times website. The page updates upon refresh. You can find the code here.
​
*The website is not currently accessible since Twitter's API is not free anymore.:\
