Map of New Caledonia
New Caledonia, Nouvelle-Calédonie in French, كاليدونيا الجديدة in Arabic. The map has 3 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/nc")',
projection: 'mercator',
values: { 'NC-X01~': 8, 'NC-X03~': 45, 'NC-X02~': 82 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
NC-X01~ | Loyalty Islands | des îles Loyauté | مقاطعة جزر لويالتي |
NC-X03~ | North | Nord | المقاطعة الشمالية |
NC-X02~ | South | Sud | المقاطعة الجنوبية |
Source: Natural Earth, public domain. Shapes are simplified for the screen.