Skip to content
No description or website provided.
Python JavaScript
Pull request Compare This branch is 26 commits ahead, 7 commits behind ollieglass:master.
Latest commit 0ac959c Apr 25, 2012 @swinton swinton Merge pull request #3 from swinton/master
Modified README
Failed to load latest commit information.
client
python Using TweetStream instead of Tweepy to solve the mystery of 102 Apr 25, 2012
.gitignore update gitignore to ignore config file again Apr 24, 2012
Procfile
README.md
requirements.txt

README.md

pusher-d3-demo

Demo of a real-time updating chart in a web page.

Data is pushed from a Python server to Pusher, recieved in the web page and rendered using D3.js.

Live tracker showing Bieber tweets per second running at http://bieber.nixonmcinnes.co.uk

Usage

Install the Tweetstream and Pusher libraries with pip install -r requirements.txt.

In the Python folder, copy config.example.json to config.json and add your API keys from Twitter and Pusher, a from and to email address for server error alerts, and your search terms.

Open client/index.html and enter your Pusher app key.

Finally, open index.html in a browser and run twitter_stream_server.py

pusher-d3-demo screenshot

Thanks

Based on Mike Bostock's d3 bar chart tutorial

Something went wrong with that request. Please try again.