Python Dash Web Application Connected to Live Database - MongoDB

preview_player
Показать описание
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:

My GitHub Code:

Guide for Setting up Database on MongoDB:

Dash DataTable:

MongoDB 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:
Рекомендации по теме
Комментарии
Автор

Hello,
Thanks much for this tutorial and all of great videos you shared related to Dash library
It will really save time for everyone who is looking for populate data into graphs
The another functionality i liked as well is the ability to edit / update data right from the front end. On production environment it can enable level 1 support team to make some corrections on their end. Very cool
Please keep this great work ;)
Greetings from Brazil

carlosvaz
Автор

Can you make a video on how to create a plotly dashboard for streaming data (real-time data) that comes from a kafka cluster please?

Smart-svjb
Автор

May you do a video on accessing API of a website and present it via a dashboard in Dash? Let's day that the dashboard is automatically updated weekly by accessing the database via API. Thanks!

aminghanooni
Автор

I need to create a multi level drill down dash app.. for e.g population char chart by countries, click on any country will draw bar plot of statewise population, click on state will draw county wise population. Please help me i am able to do one level drill down but not multi level

rajnishrajput
Автор

Hello Adam Charming Data, How can I update the live database when I want to delete a column or a row (instead of deleting maybe a soft delete or disable the column or row) and show the changes on charts!? Can you help please??

amirkaraj
Автор

Thank very much for all dash videos, how can i update an output by two callbacks?
All what i want is to update layout after click event. The layout already output for another callback

saeedjudia
Автор

Hi, I'm trying to create dashtable based on input data (not editable dashtable). I mean that I will input in input box, add row of dashtable and continue to input and dashtable be updated based on input. Do you have any tutorial about that sir.

hoatranhanu
Автор

Nice tutorial. Do you have any tutorial on how to create tabs and on click of it show some data using Dash please let me know

karthikb.s.k.
Автор

Hi, can this be done with sqlite as well? Or is the „live“ feature only possible with mongo-db?

kattamaran
Автор

Hello sir,
How to connect to PostgreSQL ?

sanamtamboraji
visit shbcf.ru