Only 37 percent of residents of G-20 countries feel that the economic situation will improve in the coming year, according to a survey conducted by the Pew Research Center earlier this year.

Those living in China were the most optimistic -- 80 percent of Chinese residents said that their economy would improve by March 2014.

Residents of European countries, such as France, Italy and the United Kingdom, were the least optimistic.

In contrast, public sentiment is far more hopeful in emerging economies. Those in Brazil, Nigeria and Venezuela were also confident that the economy would improve.

Going by economic trends, public sentiment might be too pessimistic in some of the advanced G-20 economies and a bit too optimistic in some of the emerging markets, according to a recently released Pew report.

Here’s a map of the 39 countries polled by Pew, color coded by the percentage of residents who are optimistic about their country’s economy: