Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map_ World Happiness Countries_ 2022

Public visualization

Viewing a saved revision (read-only)

04089267d46c4cd5bc9047ac239f7d0c

World Map_ World Happiness Countries_ 2022

0 stars0🌍 Public

This visualization depicts the top 10 countries in the 2022 World Happiness Report, using a world map with each country filled according to its happiness score and a red circle sized proportionally to that score placed at the country’s centroid. The map uses an equirectangular projection with a graticule, and the data, from a Kaggle dataset, is loaded via `d3.json` and `d3.csv`. The code leverages D3’s `geoPath`, `geoEquirectangular`, and `geoGraticule` APIs, along with TopoJSON to convert the world-110m TopoJSON into GeoJSON for rendering as SVG paths.

AI-generated description