code: def _make_connectome_html(connectome_info, embed_js=True):
      plot_info = {"connectome": connectome_info}
      mesh = datasets.fetch_surf_fsaverage()
      for hemi in ["pial_left", "pial_right"]:
          plot_info[hemi] = mesh_to_plotly(mesh[hemi])
      as_json = json.dumps(plot_info)
      as_html = get_html_template(
          "connectome_plot_template.html"
      ).safe_substitute(
          {
              "INSERT_CONNECTOME_JSON_HERE": as_json,
              "INSERT_PAGE_TITLE_HERE": (
                  connectome_info["title"] or "Connectome plot"
              ),
          }
      )
      as_html = add_js_lib(as_html, embed_js=embed_js)
      return ConnectomeView(as_html)
  
file_path: nilearn/nilearn/plotting/html_connectome.py
imports: import json
  import numpy
  from matplotlib import cm
  from scipy import sparse
  from nilearn.plotting.html_document import HTMLDocument
  from ..None import datasets
  from .None import cm
  from .js_plotting_utils import add_js_lib, colorscale, encode, get_html_template, mesh_to_plotly, to_color_strings
label_desc: Use image node_id 7 for calling a global function with example usage: _make_connectome_html(connectome_info, embed_js) and returns: ConnectomeView