Map of Comoros
Comoros, Comores 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/km")',
projection: 'mercator',
values: { 'KM-G': 8, 'KM-A': 45, 'KM-M': 82 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
KM-G | Andjazîdja | Grande Comore | أندجازيديا |
KM-A | Anjouan | Anjouan | أنجوان |
KM-M | Mohéli | Mohéli | موهيلي |
Source: Natural Earth, public domain. Shapes are simplified for the screen.