code: def visualization(batchid):
      bokeh_script = server_document(
          url="http://localhost:5006/bokeh_server",
          arguments=dict(batchid=batchid),
      )
      return render_template_string(app_html, bokeh_script=bokeh_script)
  
imports: import atexit
  import subprocess
  from flask import Flask, render_template_string
  from bokeh.embed import server_document
label_desc: Use image node_id 3 for calling a global function with example usage: visualization(batchid) and returns: render_template_string