Websockets In Plotly Dash in real-time with SQLite3

Опубликовано: 02 Июнь 2026
на канале: Chad Thackray
9,809
222

We integrate real-time updates from a websocket into plotly dash. We stream real-time cryptocurrency price data from Binance and save down the aggregated trades to an sqlite3 database, which is then queried by our dashboard and updates displayed every 200ms.

We show how to smoothly animate and update a graph without having to re-draw it.

⭐ Code:
https://github.com/ChadThackray/dash-...

Timestamps:
00:00 - Introduction / Project overview
03:12 - Backend / Database using Sqlite3
25:03 - Frontend / Charting using Plotly Dash