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

<Embed 
  alias="visualize_py" 
  variable={{
    department
  }}
  height="300px"
  width="400px"
/>

Properties

loadData
string
required

Name of the Python function or SQL file.

vars
{ [key: string]: Variable }

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

height
number

Height of the component. Unit is px.