Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Tweets on a Globe!

Real-time visualization of geotagged tweets about a given topic, using d3, socket.io, and the Twitter API.

Read all the gory details at:

http://joelgrus.com/2016/02/27/trump-tweets-on-a-globe-aka-fun-with-d3-socketio-and-the-twitter-api/

tweets on a globe

(Props to Mike Bostock's World Tour, from which I appropriated liberally.)

Run it yourself with your favorite search phrase. First install the dependencies:

$ npm install

then create a credentials.js that looks like

module.exports = {
  consumer_key: "...",
  consumer_secret: "...",
  access_token_key: "...",
  access_token_secret: "..."
};

then start it running:

$ node twitter.js "search phrase goes here"

and finally navigate your browser to localhost:3000.

Put it up on a giant screen! It's strangely mesmerizing.

About

tweets on a globe

Resources

License

Releases

No releases published
You can’t perform that action at this time.