class_docstr: <<< geo coordinate system >>>
  
  support scatter plot and line
class_docstr_tok: ["<","<","<","geo","coordinate","system",">",">",">","support","scatter","plot","and","line"]
code: def _feed_data(
      self, data_pair: types.Sequence, type_: str
  ) -> types.Sequence:
      if type_ == ChartType.PIE:
          return data_pair
  
      result = []
      for n, v in data_pair:
          try:
              if type_ == ChartType.LINES:
                  f, t = self.get_coordinate(n), self.get_coordinate(v)
                  result.append(
                      {"name": "{}->{}".format(n, v), "coords": [f, t]}
                  )
              else:
                  lng, lat = self.get_coordinate(n)
                  result.append({"name": n, "value": [lng, lat, v]})
          except TypeError as err:
              if self._is_ignore_nonexistent_coord is not True:
                  raise NonexistentCoordinatesException(err, (n, v))
      return result
  
imports: import simplejson
  from ...None import options
  from ...None import types
  from ...charts.chart import Chart
  from ...datasets import COORDINATES
  from ...exceptions import NonexistentCoordinatesException
  from ...globals import ChartType
label_desc: Use image node_id 2 for calling the Geo obj's underlying member method code with example usage: obj._feed_data(data_pair, type_) and returns: result, data_pair