The Embed component displays HTML when the result of executing a Python function is HTML.

<Embed 
  loadData="visualize_py" 
  height="300px"
  width="400px"
/>

Properties

loadData
string
required

Name of the Python function or SQL file.

varialbes
{ [key: string]: any }

Variables to pass to the Python function or SQL file. Declare using the defineState() function.

height
number

Height of the component. Unit is px.