title: Python: Simple way to create worldmap of data distribution
body: <p>I am looking for a simple way to create a worldmap in python. For example, let's take the following country data:</p>
  
  <pre><code>world_data = {
    'af': 141,
    'bd': 5,
    'by': 2,
    'cn': 10,
    'gm': 90,
    'in': 43,
    'ir': 314}
  </code></pre>
  
  <p>Is there any simple way to create a worldmap with customized coloring and color threshold for this data?</p>
  
  <p>At the moment I am using pygal (see below). Unfortunately, I did not find any way for pygal to print a color legend or define thresholds for the coloring.</p>
  
  <pre><code>worldmap_chart = pygal.Worldmap()
  worldmap_chart.add('data', world_data)
  worldmap_chart 
  </code></pre>
  
  <p>Any help is appreciated</p>