Skip to main content
100%

Creating world map with the world Topojson data

✓ Published0🌍 Public
Kkarumanchimanasa
Last edited Mar 28, 2023
Created on Mar 28, 2023

This example displays a world map using an orthographic projection, rendering each country as a pink SVG path with black borders on a teal background. It loads geographic data from the world-atlas TopoJSON dataset and converts it to GeoJSON with the `feature` function from topojson. The map is drawn using d3.geoPath with the d3.geoOrthographic projection, and all countries are appended as SVG paths using D3’s data join. The visualization uses D3 v5 and topojson v3.

AI-generated description

Fork of creating a world map with the world Topojson data

MIT Licensed

Similar vizzes