你既然已经知道了用websocket和flask,可以用flask-SocketIO这个插件,结合一个前端图表组件,比如:echarts、HighCharts或者amCharts,websocket接收到新数据实时更新表格即可。