this map is interactiveif you hover over each countryyou'll see its population let' add more data to our map plotting complete population map to plot population numbers for the rest of the countrieswe have to convert the country data we processed earlier into the dictionary format pygal expectswhich is two-letter country codes as keys and population numbers as values add the following code to world_population pyworld_ population py import json import pygal from country_codes import get_country_code load the data into list --snip-build dictionary of population data cc_populations {for pop_dict in pop_dataif pop_dict['year'=' 'country pop_dict['country name'population int(float(pop_dict['value'])code get_country_code(countrydownloading data