https://github.com/jthomas/olympic_bubbles
Experiment using D3 and DataSift API to visualise sports mentioned in tweets about the London 2012 Olympic Games
https://github.com/jthomas/olympic_bubbles
Last synced: about 1 month ago
JSON representation
Experiment using D3 and DataSift API to visualise sports mentioned in tweets about the London 2012 Olympic Games
- Host: GitHub
- URL: https://github.com/jthomas/olympic_bubbles
- Owner: jthomas
- Created: 2012-08-06T17:01:29.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-08-06T21:54:12.000Z (almost 14 years ago)
- Last Synced: 2025-07-19T05:23:06.845Z (11 months ago)
- Language: JavaScript
- Size: 270 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Olympic Bubbles
===
Experiment using D3 JavaScript visualisation library with the DataSift Streaming API
to monitor Twitter for messages about different sports in the London 2012 Olympic Games.
Custom DataSift stream categorises messages about the London Olympics that mention each of the sports,
tagging each message with a category. We use a WebSocket connection to stream discovered messages to the browser.
Uses the D3 "pack" layout algorithm to draw circles for each of the sports, with the radius proportional
to the frequency of messages received for that sport. As the relative frequencies are changed over time,
circles are transitioned to their new position, with updated size.
How to run
--
* $ git clone git://github.com/jthomas/olympic_bubbles.git
* $ git submodule init
* $ git submodule update
* Open "index.html" in a modern browser.
Browser Support
--
Tested in latest Chrome and Firefox. Definitely won't work in Internet Explorer 6, 7, 8...