Map of Slovakia
Slovakia, Slovaquie in French, سلوفاكيا in Arabic. The map has 8 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/sk")',
projection: 'mercator',
values: { 'SK-BC': 8, 'SK-BL': 45, 'SK-KI': 82, 'SK-NI': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
SK-BC | Banská Bystrica | Banská Bystrica | إقليم بانسكا بيستريتسا |
SK-BL | Bratislava | Bratislava | إقليم براتيسلافا |
SK-KI | Košice | Košice | إقليم كوشيتسه |
SK-NI | Nitra | Nitra | إقليم نيترا |
SK-PV | Prešov | Prešov | إقليم بريشوف |
SK-TC | Trenčín | Trenčín | إقليم ترنتشين |
SK-TA | Trnava | Trnava | إقليم ترنافا |
SK-ZI | Žilina | Žilina | إقليم جيلينا |
Source: Natural Earth, public domain. Shapes are simplified for the screen.