Skip to content

Commit 48cc7b8

Browse files
committed
Add description for COUNTRIES_X
1 parent 0a8f7f6 commit 48cc7b8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/lib/custom_country_codes.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import type { CountryRecord } from 'country-iso-search';
22

3+
/**
4+
* Plotly-specific country records for disputed and unrecognized territories
5+
* that are not part of ISO 3166-1. Each entry uses an ISO3-like code in the
6+
* `X` range (reserved by ISO 3166-1 for user-assigned codes) so these regions
7+
* can be looked up alongside standard countries from `country-iso-search`.
8+
*/
39
export const COUNTRIES_X: ReadonlyArray<CountryRecord> = [
410
{
511
iso3: 'XAC',

0 commit comments

Comments
 (0)