Python Dash Web Application Connected to Live Database - MongoDB
Charming Data
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.
My GitHub Code: https://github.com/Coding-with-Adam/Dash-by-Plotly
Guide for Setting up Database on MongoDB: https://docs.google.com/document/d/1EdvOK5_1D4ya94-N0RU5t9Rm_e2YurhU/
Dash DataTable: https://dash.plotly.com/datatable/reference
MongoDB Operations: https://docs.mongodb.com/manual/crud/#create-operations
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: https://www.patreon.com/charmingdata GitHub: https://github.com/sponsors/Coding-with-Adam YouTube: https://www.youtube.com/channel/UCqBFsuAz41sqWcFjZkqmJqQ/join ... https://www.youtube.com/watch?v=DWqEVpOfYxE
197696344 Bytes