How to create a bar chart ( through connecting a database)

I am new in dash plotly,I want to connect to my postgresql database and show bar chart using query, if any new entry in database, it will reflect to bar chart,anyone can help me, :grinning::grinning::grinning:

@gpkarthick thank you for trying dash. You can use an input component to enter/update the SQL query, use this as CALLBACK INPUT (note this is different than input component) plus an interval component for live update (, the OUTPUT will be the rendering data of your barchart. our docs should contain enough demo sample code for your trial.