Some countries have regions sparse around the globe, which adds difficulties when drawing maps for them.

D3 already had the albersUsa projection that solved this problem by creating a composed projection, moving Alaska and Hawaii close to the main part of the USA. But the other countries didn’t have a projectino like this. That’s why I made this library.

It adds the composite projection for:

With a function that draws a border between the composition zones by returning an SVG path.

There is an example for each region, linked in the list above.

The library web page explains the usage and installation/testing

If you are going to use it, need more regions/countries or find an error, please leave a comment here.