WIP: Not sure how to wait until the data is fully loaded using .defer(). Query for Capital Population is also not working