Hi there!
I've noticed that at the moment there's no official example project using the WebSocket plugin, so I've made a fairly simple one.
You can find the source here:
github.com/fodi/c3-websocket-playground
(the "src" folder is the project folder)
Or you can try the exported HTML 5 version here:
fodi.github.io/c3-websocket-playground