code: def _get_onclick_js(term, plot_interface, other_plot_interface=None):
      if other_plot_interface:
          return (
              "{other_plot_interface}.drawCategoryAssociation("
              "{plot_interface}.termDict['{term}'].ci); return false;".format(
                  other_plot_interface=other_plot_interface,
                  plot_interface=plot_interface,
                  term=term.replace("'", "\\'"),
              )
          )
      return (
          "{plot_interface}.displayTermContexts({plot_interface}.data, {plot_interface}.gatherTermContexts("
          "{plot_interface}.termDict['%s']));"
          % (term.replace("'", "'"))
      )
  
file_path: scattertext/scattertext/viz/HTMLSemioticSquareViz.py
imports: import pkgutil
  from scattertext.Common import SEMIOTIC_SQUARE_HTML_PATH
label_desc: Use image node_id 3 for calling the ClickableTerms obj's underlying member method code with example usage: obj._get_onclick_js(term, plot_interface, other_plot_interface) and returns: unknown, str