Map of Cyprus
Cyprus, Chypre 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/cy")',
projection: 'mercator',
values: { 'CY-04': 8, 'CY-03': 45, 'CY-02': 82, 'CY-01': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
CY-04 | Famagusta | Famagouste | منطقة فاماغوستا |
CY-03 | Larnaca | Larnaca | منطقة لارنكا |
CY-02 | Limassol | Limassol | منطقة ليماسول |
CY-01 | Nicosia | Nicosie | منطقة نيقوسيا |
CY-05 | Paphos | Paphos | منطقة بافوس |
Source: Natural Earth, public domain. Shapes are simplified for the screen.