How to build a dynamic charts that can connect to a database?

When I load dataframe from csv file and build charts with pygwalker, it shows a static chart based on the fixed data. Can I build a chart that load a dynamic dataset and can be updated based on the data source?