Map of American Samoa
American Samoa, Samoa américaines in French, ساموا الأمريكية in Arabic. The map has 5 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/as")',
projection: 'mercator',
values: { 'AS-X01~': 8, 'AS-X02~': 45, 'AS-X03~': 82, 'AS-X04~': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
AS-X01~ | Eastern District | Este | المنطقة الشرقية |
AS-X02~ | Manu'a Islands | Manus | مانوس |
AS-X03~ | Rose Atoll | Île Rose | روز أتول |
AS-X04~ | Swains Island | Île Swains | جزيرة سواين |
AS-X05~ | Western District | Ouest | الغربي |
Source: Natural Earth, public domain. Shapes are simplified for the screen.