A real-time chart example based on chartjs and socket.io.
The socket was built using Flask-SocketIO and the code can be found in the socket directory.
The same chart component works with a publish/subscriber plataform built with the MQTT protocol (as emitter-io, for instance).