Skip to content

Map of Malaysia ​

Malaysia, Malaisie in French, ماليزيا in Arabic. The map has 16 regions. The figures on it are made up: give yours with the codes below.

TopoJSON file

Put your figures on it

In your framework

import { Chart } from 'nervure/react';

const spec = {
  type: 'map',
  geo: 'await loadMap("countries/my")',
  projection: 'mercator',
  values: { 'MY-01': 8, 'MY-02': 45, 'MY-03': 82, 'MY-14': 29 },
  legend: true,
};

export default function Example() {
  return <Chart spec={spec} style={{ height: 340 }} />;
}

Regions and codes ​

CodeNameFrenchArabic
MY-01JohorJohorجوهر
MY-02KedahKedahقدح
MY-03KelantanKelantanكلنتن
MY-14Kuala LumpurKuala Lumpurكوالالمبور
MY-15LabuanLabuanلابوان
MY-04MelakaMalaccaملقا
MY-05Negeri SembilanNegeri Sembilanنكري سمبيلن
MY-06PahangPahangفهغ
MY-07PenangPenangبينانق
MY-08PerakPerakفيرق
MY-09PerlisPerlisبرليس
MY-16PutrajayaPutrajayaبوتراجاي
MY-12SabahSabahصباح
MY-13SarawakSarawakسراوق
MY-10SelangorSelangorسلاغور
MY-11TerengganuTerengganuترغكانو

Source: Natural Earth, public domain. Shapes are simplified for the screen.