Map of Eswatini
Eswatini, إسواتيني in Arabic. The map has 4 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/sz")',
projection: 'mercator',
values: { 'SZ-HH': 8, 'SZ-LU': 45, 'SZ-MA': 82, 'SZ-SH': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
SZ-HH | Hhohho | Hhohho | إقليم هوهو |
SZ-LU | Lubombo | Lubombo | مقاطعة لوبومبو |
SZ-MA | Manzini | Manzini | مقاطعة منزيني |
SZ-SH | Shiselweni | Shiselweni | مقاطعة شيزلويني |
Source: Natural Earth, public domain. Shapes are simplified for the screen.