we now know how to make map with colored areasa keyand neat labels let' add data to our map to show information about country plotting numerical data on world map to practice plotting numerical data on mapcreate map showing the populations of the three countries in north americana_ populations py import pygal wm pygal worldmap(wm title 'populations of countries in north americau wm add('north america'{'ca' 'us' 'mx' }wm render_to_file('na_populations svg'first create worldmap instance and set title then use the add(methodbut this time pass dictionary as the second argument instead of list the dictionary has pygal two-letter country codes as its keys and population numbers as its values pygal automatically uses these numbers to shade the countries from light (least populatedto dark (most populatedfigure - shows the resulting map