All examples By author By category About

Fil

borders = topojson meshes [UNLISTED]

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