Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Display graph_objects pie chart inside html elemet

I am trying to display pie chart inside html div as below:

html.Div([
go.Figure(data=Piedata)
])

i got an error “An object was provided as children instead of a component, string, or number (or list of those). Check the children property”
if i try to display the same chart in a separate file using .show() it works, but when i try to display it in the app.py file with another html.div components i got this error