- Justin Bieber has not died yet. It is just a daily Twitter rumour.
- He has done a single with some girl called Taylor Swift?
- I have ‘accidentally’ read far too many Tweets about Bieber in the last few days.
Last weekend our very own Ollie Glasses want to learn about D3, a cool library for visualising data on web pages. It does all sorts of out there awesomery, Ollie stripped it back to basics with a rolling bar chart, and then lit a rocket under it by combining it with the Twitter streaming API and our chums Pusher.com, a platform for adding realtime functionality to websites.
The result is a site that tracks the volume of Tweets about Justin Bieber per second. Of course this could easily be applied to any search term, Bieber just happens to be a good test candidate due to the average volume of around 100 Tweets per second.
So what else could we do to this? We can display any kind of arbitrary data that is offered in real time. Some examples might be:
- Displaying rolling activity of a KPI.
- Displaying the volume of traffic across your network. Be that a network of pipes, computers, phones, socials.
- Displaying your latest customer support queries as they come in.
The code is up on Github, so please feel free to fork and tweak for your own needs. (There seems to be an issue where we mostly receive the figure 102, I’m not sure if this is a Twitter issue or with our code, any hints on why this is would be great).