A9 World Choropleth
✓ Published0🌍 Public
This choropleth displays world happiness scores for 2022, coloring each country on a blue sequential scale and revealing its name and score on hover via SVG `<title>` tooltips. It loads CSV data and TopoJSON world geometry, then renders paths with `d3.geoPath()` and a Mercator projection. The implementation uses D3 v7, TopoJSON, and d3-legend, with color mapping from `d3.scaleSequential` and `d3.interpolateBlues`.
AI-generated descriptionChoropleth visualization of world happiness ratings by county made with D3. Reference: D3.js Choropleth Map Code Walkthrough and D3 Graph Gallery
Hover over a country to see its name and happiness score. Please fullscreen to see in detail.
MIT Licensed