◐ Shell
clean mode source ↗

feat: Build list of included ISO country codes by camdecoster · Pull Request #7622 · plotly/plotly.js

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@camdecoster

Description

Update topojson build script to generate a list of ISO country codes.

Closes #7621.

Changes

  • Update build script
  • Update info related to disputed territories

Testing

  • Be on this branch
  • In a terminal, cd into the topojson folder
  • Run npm run build (this could take a bit to download the required files)
  • Check the resulting list in the dist folder and make sure it includes the name and ISO code
  • Open the countries map (topojson/build/geojson/un_geodata_simplified_50m/countries.geojson) in Mapshaper and run the following command in the console: -filter '["XBT", "XHT", "XAC", "XAP", "XIT"].includes(iso3cd)'
  • Verify that there are 5 polygons and that they include the following disputed territories:
    • Ilemi Triangle
    • Halaib Triangle
    • Bir Tawil
    • Aksai Chin
    • Arunachal Pradesh

Notes

  • Since the maps are being updated, these will need to be included in the next plotly.js release

TODO

  • Add draftlog

@emilykl

@camdecoster What is the impact of this change? (Could you open an issue? 😉 )

@camdecoster

I created #7621 but forgot to add it to the OP. I updated it.

@emilykl

@camdecoster This has no impact on the library itself, correct?

@camdecoster

That's correct. The impact will come when we include the new maps in the next release.

emilykl

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@camdecoster camdecoster deleted the cam/7621/build-list-iso-country-codes branch

November 12, 2025 20:06

2 participants

@camdecoster @emilykl