code: def main():
      df = pd.read_csv(
          "https://cdn.rawgit.com/JasonKessler/scattertext/e508bf32/scattertext/data/chinese.csv"
      )
      df["text"] = df["text"].apply(chinese_nlp)
      corpus = CorpusFromParsedDocuments(
          df, category_col="novel", parsed_col="text"
      ).build()
      html = produce_scattertext_explorer(
          corpus,
          category="Tale of Two Cities",
          category_name="Tale of Two Cities",
          not_category_name="Ulysses",
          width_in_pixels=1000,
          metadata=df["novel"],
          asian_mode=True,
      )
      open("./demo_chinese.html", "w").write(html)
      print("Open ./demo_chinese.html in Chrome or Firefox.")
  
imports: from __future__ import print_function
  import pandas
  from scattertext import CorpusFromParsedDocuments, produce_scattertext_explorer
  from scattertext import chinese_nlp
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types