Skip to main content
100%

World Map in D3

✓ Published0🌍 Public
Kkfhujosefsson@dons.usfca.edu
Last edited Apr 16, 2025
Created on Apr 16, 2025
Forked from Multiline chart

This example shows a choropleth world map displaying each country’s total GDP in current US dollars for 2015, colored from light to dark to indicate relative economic output. Countries without data appear in gray. The visualization uses D3 v7 and TopoJSON to load geographic boundaries, with d3.geoPath rendering the SVG country shapes. A hover tooltip reveals the exact GDP value per country, while a legend explains the color scale. The GDP data itself is embedded directly in the page as CSV text.

AI-generated description
MIT Licensed

Similar vizzes