{"id":11050,"date":"2018-10-12T22:28:42","date_gmt":"2018-10-13T02:28:42","guid":{"rendered":"http:\/\/studentwork.prattsi.org\/infovis\/?p=11050"},"modified":"2019-01-11T00:13:43","modified_gmt":"2019-01-11T05:13:43","slug":"connection-between-rank-of-happiness-and-other-factors","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/labs\/connection-between-rank-of-happiness-and-other-factors\/","title":{"rendered":"Connection between Rank of Happiness  and other Factors"},"content":{"rendered":"<h2><b>Introduction<\/b><\/h2>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">\u201cHappiness\u201d is a worldwide popular topic, especially for people like me, who is from a high-speed developing country like China, people there have too many things to care about, too much competitive pressure, family pressure on our daily life, we rarely have time to deeply think about \u201cWhat\u2019s happiness? What can help me create a happier life?\u201d. So I would like to take this project as an opportunity to take a deeper look at this topic. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">To see the final visualizations, check out <\/span><a href=\"https:\/\/public.tableau.com\/profile\/pei8066#!\/vizhome\/HappinessRankbyCountry2015-2017\/Dashboard2?publish=yes\"><span style=\"font-weight: 400\">my visualization dashboard on Tableau Public<\/span><\/a><span style=\"font-weight: 400\">.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Inspiration<\/b><\/h2>\n<p><span style=\"font-weight: 400\">By searching \u201ctop happiest country\u201d, I found that 70% of the top 10 are Europe countries. <\/span><span style=\"font-weight: 400\">These are the <a href=\"https:\/\/www.cnbc.com\/2018\/03\/16\/these-are-the-top-10-happiest-countries-in-the-world.html\">top 10 happiest countries in the world<\/a><\/span><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><span style=\"font-weight: 400\">It made me curious about what makes residents in those countries so happy and I also curious about what makes people less happy in countries ranked low. Looking at the chart my by \u201cWorld Economic Forum\u201d, I noticed there are relationships between Happiness Rank with Economic, Social Supports etc, \u00a0so decided to visualize each relationship on my chart. The data I found on Kaggle includes elements as Health Scores, Economy, Family, Freedom, Trust(Government Corruption) and Happiness Rank &amp; Score. <\/span><\/p>\n<h2><b>Materials<\/b><\/h2>\n<p><span style=\"font-weight: 400\">The dataset used in this project was the <\/span><span style=\"font-weight: 400\">Happiness Report, <\/span><span style=\"font-weight: 400\">downloaded from <\/span><a href=\"https:\/\/www.kaggle.com\/unsdsn\/world-happiness).\"><span style=\"font-weight: 400\">Kaggle Dataset<\/span><\/a><span style=\"font-weight: 400\">\u00a0After some cleanup, I then used <\/span><a href=\"https:\/\/public.tableau.com\/s\/\"><span style=\"font-weight: 400\">Tableau Public<\/span><\/a><span style=\"font-weight: 400\"> to make the visualizations. <\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/www.kaggle.com\/unsdsn\/world-happiness).\">Kaggle Dataset:<\/a> where I found my target data. This datasheet includes elements: Health Scores, Economy, Family, Freedom, Trust(Government Corruption) and Happiness Rank &amp; Score from 2015-2017.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/public.tableau.com\/s\/\"><span style=\"font-weight: 400\">Tableau Public<\/span><\/a><span style=\"font-weight: 400\">: It is a platform that enables users to make multiple types of visualizations, dashboard creation, publishing to the web, and embedding into web pages.<\/span><\/li>\n<\/ol>\n<h2><b>Results and Interpretations<\/b><\/h2>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11046\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-8.36.50-PM.png?resize=840%2C356\" alt=\"\" width=\"840\" height=\"356\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-8.36.50-PM.png?resize=1024%2C434&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-8.36.50-PM.png?resize=300%2C127&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-8.36.50-PM.png?resize=768%2C325&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-8.36.50-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><strong>Figure 1<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400\">This is the heatmap of happiness rank in the world (Figure1). Red indicates higher ranking, blue is opposite. It is clear to see that top-ranked countries are mostly from continents like Europe, North America, and Oceania. Africa is the least happy region and followed by South Asia. It looks like people in developed countries are happier. <\/span><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11045\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.21.45-PM.png?resize=840%2C500\" alt=\"\" width=\"840\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.21.45-PM.png?resize=1024%2C610&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.21.45-PM.png?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.21.45-PM.png?resize=768%2C457&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.21.45-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><strong>Figure 2.<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">On figure 2, I set GDP 1-1.87 per Capita as the comparison range, and I made a butterfly chart to see the connection between Economy and Happiness Scores, I also set a \u201cpages\u201d function to divide data of 2015, 2016, 2017. <\/span><\/p>\n<p><span style=\"font-size: 1.0625rem\">It is interesting to see that the happiest country of 2017&#8211; Norway is indeed rich, although it\u2019s not ranked on the very first. The richest country Qatar has a ranking as the 35th happiest country in the world, it is still a relatively great grade among 158 countries in the world. And among these 50 richest countries, the lowest grade of the happiest country is Italy, which is located on 48th&#8211;still in the top 50.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11048\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.33.47-PM.png?resize=840%2C509\" alt=\"\" width=\"840\" height=\"509\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.33.47-PM.png?resize=1024%2C620&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.33.47-PM.png?resize=300%2C182&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.33.47-PM.png?resize=768%2C465&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.33.47-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><strong>Figure 3.<\/strong><\/span><\/p>\n<p><span style=\"font-size: 1.0625rem\">Then I moved to look for connections between Trust (Government Corruption) and Happiness (Figure 3).<\/span><\/p>\n<p><span style=\"font-weight: 400\">Darker blue indicates the higher score of trust, brighter blue means less trust. And darker red indicates the higher score of happiness, vice versa. It is clear to see that these two elements are closely related. Countries\u00a0have a higher score of trust mostly have the higher score of happiness.<\/span><\/p>\n<p style=\"text-align: center\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11044\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.31.08-PM.png?resize=840%2C510\" alt=\"\" width=\"840\" height=\"510\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.31.08-PM.png?resize=1024%2C622&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.31.08-PM.png?resize=300%2C182&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.31.08-PM.png?resize=768%2C467&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.31.08-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<p><strong>Figure 4<\/strong><\/p>\n<p style=\"text-align: left\"><span style=\"font-size: 1.0625rem\">Then I looked at another popular topic Health to see if there is any obvious connection between them. I set 0-0.5 (around half of the top score) as the comparison range. It is interesting to see that among the around top 30 most healthy countries, most of them are ranked after 100 on <\/span>the aspect<span style=\"font-size: 1.0625rem\"> of Happiness. The country that has <\/span>the best<span style=\"font-size: 1.0625rem\"> balance between these two aspects is Uzbekistan which is the third healthy country and has a happinest rank at No.47.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11043\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.41.00-PM.png?resize=840%2C707\" alt=\"\" width=\"840\" height=\"707\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.41.00-PM.png?resize=1024%2C862&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.41.00-PM.png?resize=300%2C253&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.41.00-PM.png?resize=768%2C647&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-9.41.00-PM.png?w=1506&amp;ssl=1 1506w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><strong>Figure 5<\/strong><\/span><\/p>\n<p><span style=\"font-size: 1.0625rem\">I also looked at another relevant element&#8211;life expectancy vs Happiness rank (figure 5). The red bar indicates happiness score, health life expectancy is represented by small green squares. The data that attracted my attention was Japan&#8211;which has a surprisingly high life expectancy and even has the second highest score among these 50 countries. For other countries, there is a vague relation between these two spects. Countries who has higher happiness score has a relatively higher life expectancy.<\/span><\/p>\n<p><span style=\"font-size: 1.0625rem\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11051\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-10.22.00-PM.png?resize=840%2C509\" alt=\"\" width=\"840\" height=\"509\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-10.22.00-PM.png?resize=1024%2C621&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-10.22.00-PM.png?resize=300%2C182&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-10.22.00-PM.png?resize=768%2C466&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-10.22.00-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/>For Freedom and family, I combine the three elements together, if you browse the full chart, it\u2019s not hard to see they influence each other a lot. Residents feel more free and happy with their families will have a corresponding higher happiness score.\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-size: 1.0625rem\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11047\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.34.01-PM.png?resize=840%2C581\" alt=\"\" width=\"840\" height=\"581\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.34.01-PM.png?resize=1024%2C708&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.34.01-PM.png?resize=300%2C207&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.34.01-PM.png?resize=768%2C531&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.34.01-PM.png?w=1834&amp;ssl=1 1834w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-7.34.01-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/span><\/p>\n<p><span style=\"font-size: 1.0625rem\">I also checked the trend of ranks of every country. I utilized calculation function to highlighted their top rank and lowest rank. It is not surprise to see there are only small changes during the past 3 years.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Reflections<\/b><\/h2>\n<p><span style=\"font-weight: 400\">It was not a smooth learning journey of tableau for me, the first difficulty I met was the dataset, I changed my topic three times because of the dataset I chose did not generate any insightful knowledge from those visualizations. The other difficulty I met was the way of using Tableau, I spent a lot of time on watching youtube tutorials to figure out how to make some forms of visualizations. And the homework turned out to be sent quite late.<\/span><\/p>\n<p><span style=\"font-weight: 400\">However, I enjoyed learning a new tool from knowing nothing to become relatively familiar with it. Although I still not pretty sure about some of it\u2019s functions.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction &nbsp; \u201cHappiness\u201d is a worldwide popular topic, especially for people like me, who is from a high-speed developing country like China, people there have too many things to care about, too much competitive pressure, family pressure on our daily life, we rarely have time to deeply think about \u201cWhat\u2019s happiness? What can help me&hellip;<\/p>\n","protected":false},"author":524,"featured_media":11046,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[340,149],"tags":[],"coauthors":[337],"class_list":["post-11050","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-charts","category-labs"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Screen-Shot-2018-10-12-at-8.36.50-PM.png?fit=2384%2C1010&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-2Se","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/users\/524"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=11050"}],"version-history":[{"count":3,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11050\/revisions"}],"predecessor-version":[{"id":11054,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11050\/revisions\/11054"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/11046"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=11050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=11050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=11050"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=11050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}