Plotly has a .to_html() method to convert the Plotly chart into a div, which in turn can be embedded inside a site.
Is there any similar functionality for Dash? Or would I always have to render the Dash application as the entire webpage?
Plotly has a .to_html() method to convert the Plotly chart into a div, which in turn can be embedded inside a site.
Is there any similar functionality for Dash? Or would I always have to render the Dash application as the entire webpage?
Are you trying to embed the full dash application inside an existing webpage? If so, just run the dash app in separate python process, and use an iframe to embed it, as described here.
If on the other hand, you would like to inject dash components to an existing html layout, there is at least a project called dash-html-template which makes that possible.