Keine Beschreibung

na_populations.py 252B

123456789
  1. from pygal.maps.world import World
  2. wm = World()
  3. wm.force_uri_protocol = 'http'
  4. wm.title = 'Populations of Countries in North America'
  5. wm.add('North America', {'ca': 34126000, 'us': 309349000, 'mx': 113423000})
  6. wm.render_to_file('na_populations.svg')