Jetpac, a social travel guide app, has come up with a ranking which tells you which is the the happiest country in the world. It analyzed more than 150 million Instagram posts across 6,000 cities worldwide to come up with a ranking of the happiest countries on the globe. The rankings were compiled by coming up with what is called a "smile score" for each country. This was calculated by measuring how often residents were smiling in Instagram photos. So the bigger the smile, the higher the smile score.

"Smiles on the faces of millions of people in millions of photos are the most direct measure we have of happiness. Previous attempts to measure happiness have relied on survey questions or indirect measures. Jetpac is identifying smiles on faces and then measuring the shape and size of the smile - a small grin doesn’t score as highly as a broad smile. Smiling for the camera seems to be a cultural norm for a country", it said in its blog post.

According to the results, Brazil is the most happiest place on earth with a 'smile score' of 60.5 out of 100 in the happiness ranking while Nicaragua came a close second with 59.4 and Honduras, Colombia, Bolivia & Costa Rica took third, fourth and fifth and sixth place respectively.

India was ranked 71st on the list with a smile score of 21.7 but was ahead of Sri Lanka, China and Pakistan.

Click on the map to know the rankings of the countries analysed.

(Data in map is as per rank of each country for eg. India ranks 71st out of 122 countries analysed)

(Note: the data above has been updated to reflect accurate data from Jetpac as many sites carried incorrect data)

Read more here