block by Fil 9ff0ca1825369075394d0e77e149052c

borders = topojson meshes

Full Screen

This shows topojson.meshes(), a proposed extension of topojson.mesh(), that uses the filter(a,b) function (renamed tag(a,b)) to partition the mesh.

In this application the tag is the unique combination of the id of the two bordering countries, effectively listing individual borders. Exception: the tag is set to “coast” for the whole coast line.

Research by Philippe Rivière for topojson issue #17.

forked from mbostock‘s block: World Map

index.html

topojson-client.js