Skip to main content
100%

World Map_ World Happiness Countries_ 2022

✓ Published0🌍 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
MIT Licensed

Similar vizzes