Happiness Factors Comparison by Country
This interactive scatterplot, built with D3 v4, visualizes the factors contributing to happiness across 156 countries. Users can select different pairs of variables from dropdown menus, such as GDP per capita or school years, to compare their relationship with the overall happiness score. The chart uses color to distinguish each factor and includes a legend for filtering, with animated transitions and tooltips for detailed data inspection. Data is sourced from the World Happiness Report on Kaggle.
AI-generated descriptionThe data is from the The World Happiness Report that uses survey data, demographic information and statistical analysis to rank 156 nations according to the happiness of their people. https://www.kaggle.com/arielyeung/world-happiness-data https://gist.github.com/mkt-ds/640984c80835e2823c1b0f5c9a3fabe6
A country’s overall happiness score is a composite of different factors collected in an annual worldwide survey, including GDP per capita School years Sustainable economic development Employement Rate Health expenditure Government effectiveness Female MPS Control of corruption
What factors contributes to happiness for different countries is interesting. For example more school years increases happiness in certain countries, it's probably correlated with more salaries when a person studies more. I need to create another visual to show the relationship between each factors for each country.
Overall, Finland, Denmark, Norway, Netherlands, Iceland are the happiest countries.