World Map_ World Happiness Countries_ 2022
✓ Published0🌍 Public
Ssamozarif@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024
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 descriptionD3 world map example with TopoJSON to GeoJSON and circular indicators
Visit https://github.com/ax-va/Interactive-Data-Visualization-Dale-2023
MIT Licensed