title: custom HTML in dash
body: <p>So I have a regular dash application and now I want to try and add graphs that are generated from another API, retrieved as HTML from a regular request. I already have some dash components in my app but would like to add the extra graphs provided by another API. Can I &quot;embed&quot; the custom html code I get from the API in my dashbord.</p>
  <p>Something like</p>
  <pre><code>custom_html = r.get(URL_request)
  </code></pre>
  <p>Then I get some new HTML:</p>
  <pre><code>b'&lt;!DOCTYPE html&gt;\n&lt;html lang=&quot;en-US&quot;&gt;\n\n&lt;head&gt;\n&lt;meta charset=&quot;UTF-8&quot;&gt;\n&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n&lt;title&gt;...
  </code></pre>
  <p>Which I want to embed in my dash app like:</p>
  <pre><code>html.Div([
     dcc.Graph(id = &quot;my dash graph&quot;)
     html.custom_html(id = &quot;api graph&quot;, custom_html.content)
  ])
  </code></pre>