block by Fil 35311b5ac39a3bd0c210c05b2af9e984

borders = topojson meshes [UNLISTED]

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. The tag is set to 0 for the coast line.

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

forked from mbostock‘s block: World Map

forked from Fil‘s block: borders = topojson meshes

index.html

topojson-client.js