code: def make_data(chart, datas):
      """Add sample data to the test chart"""
      for i, data in enumerate(datas):
          chart.add(
              data[0], adapt(chart, data[1]), secondary=bool(i % 2)
          )
      return chart
  
imports: from decimal import Decimal
  import pygal
  from pygal.graph.map import BaseMap
  from pygal.util import cut
label_desc: Use image node_id 3 for calling a global function with example usage: make_data(chart, datas) and returns: chart