This demo shows how to draw a world map from TopoJSON and join it with a small CSV of values. The CSV can be replaced with your own dataset (e.g., crime rate, GDP, etc.).
Data join keys: country name. Uses
countries-110m.json and a helper TSV
with id↔name mapping.
How to use
- Open this file in VizHub or any static server.
-
Replace the inline CSV
(
populationCSV) with your own dataset. Keep a column namednamethat matches country names. - Adjust the color scale or tooltip as needed.