Last Time….

I collected my data from the The World Factbook, a public-facing resource for country data published by the CIA. I webscraped 7 pages with the Python package BeautifulSoup, namely:

I showed some exploratory graphs of how my collected data looked, when comparing maternal and infant mortality rates at birth, internet and broadband users, and unemployment (as a percentage) and Gini Index. Those images showed a correlation between maternal and infant mortality rates at birth, as well a correlation between internet and broadband users, but NOT between unemployment and Gini Index.

Where is the United States?

Below is a listing of where the United States falls in every ranking, and what number earned that ranking. I wanted to compare countries to the United States, so I needed to have this information easily available:

Figure

A Visual Look

Below are 5 graphs that annotate where the United States is in relation to the rest of the world. The graphs below are titled and labeled to show what is being compared. Judging by these graphs, I should be able to find countries that are better than the United States in some categories, except for internet and broadband users. I noticed, however, that virtually all countries with large numbers of those users also have large populations. I will need to think of a better way of comparing internet accessibility between countries in the future.

Figure

Figure

Figure

Figure

Figure

Conclusion

In this post, I showed how the United States compared to other countries in terms of internet and broadband users, maternal and infant mortality rates, unemployment and Gini Index, and education expenditure (as a percentage of GDP).

The complete code and data can be found in my GitHub repo.

Please comment below if you have any suggestions or questions for me. I would love to know what you thought about my graphics!