Thursday, January 31, 2019

Published January 31, 2019 by with 0 comment

China and India Have Huge Populations

I had an idea for visualizing just how many people live in India and China.
The code below picks countries at random until their total population is greater than the combined populations of India and China. It takes an impressively long time for it to stop. I really liked this method for showing it. Since it is random, refreshing the page will give you a different set of countries.



Post a Comment