Map of Andorra
Andorra, Andorre in French, أندورا in Arabic. The map has 7 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/ad")',
projection: 'mercator',
values: { 'AD-07': 8, 'AD-02': 45, 'AD-03': 82, 'AD-08': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
AD-07 | Andorra la Vella | Andorre-la-Vieille | أندورا لا فيلا |
AD-02 | Canillo | Canillo | كانيلو |
AD-03 | Encamp | Encamp | انكامب |
AD-08 | Escaldes-Engordany | Escaldes-Engordany | إسكالديس أنجوردني |
AD-04 | La Massana | La Massana | لامسانا |
AD-05 | Ordino | Ordino | أوردينو |
AD-06 | Sant Julià de Lòria | Sant Julià de Lòria | سانت جوليا دي لوريا |
Source: Natural Earth, public domain. Shapes are simplified for the screen.