This is an example of pushing data to a flot charts through socket.io. This mimics the real time updates example from flot charts with the difference being that instead of ajax calls it utilizes web sockets if your browser supports them.
git clone https://github.com/FrankHassanabad/socket.io-flot-example.git
cd socket.io-flot-example/
npm install
node app.js
Then open up a web browser to
http://localhost:5000/