Map coverage and small states

Default world coverage, explicit data gaps and the optional eight-state Natural Earth boundary supplement, with source provenance.

View .md Agent setup

maps/world-small-states.js / .json retain the existing world map's 177 regions and add real polygon boundaries for AND, BHR, LIE, MCO, MLT, SGP, SMR and VAT. The default world map and its download size are unchanged. This supplement is not a complete ISO 3166 country/territory dataset; missing joins are reported by the map renderer and available through api(chart).unmatched().

js
import smallStates from 'west-coast-charts/maps/world-small-states.js'
WestCoastCharts.registerMap('world-small-states', smallStates)
// plotOptions: { map: { map: 'world-small-states' } }

The UMD script registers this name automatically if the library is already loaded. Tiny regions keep their true geographic outlines; they are never enlarged into invented territory polygons. Zoom or a caller-provided marker can improve their visibility at world scale.

Provenance and reproduction

The eight outlines and attributes are extracted from Natural Earth's ne_10m_admin_0_countries.geojson, pinned to official repository commit ca96624a56bd078437bca8184e78163e5039ad19:

https://github.com/nvkelso/natural-earth-vector/blob/ca96624a56bd078437bca8184e78163e5039ad19/geojson/ne_10m_admin_0_countries.geojson

Natural Earth is public domain: https://www.naturalearthdata.com/about/terms-of-use/. The full source download's SHA-256 and pinned URL are preserved in source/natural-earth-small-states.geojson; only the eight selected source features are vendored. Their coordinates are quantized to 0.000001 degree. All other regions retain the existing 1:110m world-atlas / Natural Earth geometry and notices in NOTICE (world-atlas 2.0.2, ISC, Michael Bostock).

Run node maps/source/build-small-states.cjs to regenerate the two optional modules from the checked-in world.json and selected source features. This does not regenerate or alter the default world module.

WestCoast Charts 1.1.5 · generated from the library guide at commit 95f093ba. Code examples in the guide are executed by the library's docs check.