Map of Samoa
Samoa, ساموا in Arabic. The map has 11 regions. The figures on it are made up: give yours with the codes below.
Put your figures on it
In your framework
import { Chart } from 'nervure/react';
const spec = {
type: 'map',
geo: 'await loadMap("countries/ws")',
projection: 'mercator',
values: { 'WS-AA': 8, 'WS-AL': 45, 'WS-AT': 82, 'WS-FA': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
WS-AA | A'ana | A'ana | آنا |
WS-AL | Aiga-i-le-Tai | Aiga-i-le-Tai | إيغايليتاي |
WS-AT | Atua | Atua | أتوا |
WS-FA | Fa'asaleleaga | Fa'asaleleaga | فاساليلياغا |
WS-GE | Gaga'emauga | Gaga'emauga | غاغايموجا |
WS-GI | Gaga'ifomauga | Gaga'ifomauga | غاغايفوماغا |
WS-PA | Palauli | Palauli | بالولي |
WS-SA | Satupa'itea | Satupa'itea | سافوبايتيا |
WS-TU | Tuamasaga | Tuamasaga | توماساجا |
WS-VF | Va'a-o-Fonoti | Va'a-o-Fonoti | فاووفونوتي |
WS-VS | Vaisigano | Vaisigano | فايسيجانو |
Source: Natural Earth, public domain. Shapes are simplified for the screen.