realtime example using graph.js