code: def to_javascript(self, function_name="getDataAndInfo"):
      return (
          "function "
          + function_name
          + "() { return"
          + self.to_json()
          + "; }"
      )
  
file_path: scattertext/scattertext/viz/VizDataAdapter.py
imports: import json
  import sys
  import numpy
  from scattertext import AsianNLP, WhitespaceNLP
label_desc: Use image node_id 5 for calling the VizDataAdapter obj's underlying member method code with example usage: obj.to_javascript(function_name) and returns: unknown