English · Dansk · Bahasa Malaysia
Step 7: Country analysis with choropleth maps

What the step does
Two world maps shade each country by its launches and by its failed launches.
What was gained
- Russia (1,398) and the USA (1,387) lead, with Kazakhstan (701) third because of the Baikonur site.
- A map needs standard ISO 3166 codes, so the country names had to be mapped carefully; an unknown name raises an error instead of an empty spot on the map.
- Every status except Success counts as a failure; the USA has the most failures (166).
Code in src/space_race/
launches_per_country, failures_per_country, add_country_code, choropleth