code: def get_feature_from_clicked_data(click_data: dict) -> str:
      """Get the feature name from the feature importance graph click data.
  
      Parameters
      ----------
      click_data : dict
          Feature importance graph click data
  
      Returns
      -------
      str
          Selected feature
      """
      selected_feature = (
          click_data["points"][0]["label"]
          .replace("<b>", "")
          .replace("</b>", "")
      )
      return selected_feature
  
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  import datetime
  from dash import dcc, html
  import dash_bootstrap_components
label_desc: Use image node_id 6 for calling a global function with example usage: get_feature_from_clicked_data(click_data) and returns: selected_feature