code: def load_data_props():
      instance = get_instance("1")
  
      if instance is not None:
          names = instance.data["name"].unique()
          chart_url = build_chart_url(names)
          return dict(
              names=", ".join(instance.data["name"].unique()),
              data_exists=True,
              chart_url=chart_url,
          )
      return dict(data_exists=False)
  
imports: import json
  import os
  import pandas
  import requests
  import urllib
  from bs4 import BeautifulSoup
  from flask import render_template, request
  from logging import getLogger
  from dtale.app import build_app, get_instance
  from dtale.global_state import cleanup
  from dtale.views import startup
label_desc: Use image node_id 8 for calling a global function with example usage: load_data_props() and returns: dict, dict