Map of Singapore
Singapore, Singapour 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/sg")',
projection: 'mercator',
values: { 'SG-01': 8, 'SG-02': 45, 'SG-03': 82, 'SG-04': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
SG-01 | Central Singapore Community Development Council | Singapour central | سنغافورة الوسطى |
SG-02 | North East Community Development Council | du Nord-Est | الشمال الشرقي |
SG-03 | North West | Angleterre du Nord-Ouest | نورث ويست |
SG-04 | South East Community Development Council | du Sud-Est | الجنوب الشرقي |
SG-05 | South West Community Development Council | du Sud-Ouest | الجنوب الغربي |
Source: Natural Earth, public domain. Shapes are simplified for the screen.