✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Embed Dash application to HTML

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.