MongoDB Atlas and Live Chart Update on plotly-dash

Hi,
I am trying to build a customized dashboard using python plotly-dash which needs to get updated whenever a new record is inserted into the MongoDB Atlas collection on the cloud. I was looking for examples online but could not find any. For example, lets assume the data that gets inserted into mongoDB (asynchronously at random time intervals) is a time series data like:

{
"time" : "14.04.2022 21:50:59",
"balance" : 10500.50
}

I understand I have to use change_streams to watch for new insertions into the collection, but can anyone show a simple example of showing a simple plotly -DASH line chart & may be a plotly dash datatable that gets updated using plotly callbacks and pymongo.change_streams() whenever a new record is inserted into a MongoDB collection?

Best Regards,
Dilip