Python Dash Web Application Connected to Live Database - MongoDB

Опубликовано: 04 Октябрь 2024
на канале: Charming Data
11,473
161

Learn to connect your Plotly Das app to a live database in MongoDB. Also connect between Dash DataTable and a Plotly pie chart and histogram.

View my book - The Book of Dash:
https://www.amazon.com/Python-Dash-An...
https://github.com/DashBookProject/Pl...

My GitHub Code:
https://github.com/Coding-with-Adam/D...

Guide for Setting up Database on MongoDB:
https://docs.google.com/document/d/1E...

Dash DataTable:
https://dash.plotly.com/datatable/ref...

MongoDB Operations:
https://docs.mongodb.com/manual/crud/...


Video layout:
00:00 - What you will learn and code
03:05 - Guide on setting up a database on MongoDB
04:06 - Install python libraries and connect to database
07:57 - Layout of App
10:00 - 1st Callback - creating the DataTable
14:17 - 2nd Clientside Callback - identify changed cell
16:52 - 3rd Callback - if cc is None
19:10 - 3rd Callback - else, update MongoDB

************************************************************************
👉 Your support keeps Charming Data running, which is proudly a 100% member-supported educational channel:
Patreon:   / charmingdata  
GitHub: https://github.com/sponsors/Coding-wi...
YouTube:    / @charmingdata