Map of Lebanon
Lebanon, Liban in French, لبنان in Arabic. The map has 6 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/lb")',
projection: 'mercator',
values: { 'LB-BA': 8, 'LB-BI': 45, 'LB-JL': 82, 'LB-NA': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
LB-BA | Beirut | de Beyrouth | محافظة بيروت |
LB-BI | Beqaa | Bekaa | محافظة البقاع |
LB-JL | Mount Lebanon | Mont-Liban | محافظة جبل لبنان |
LB-NA | Nabatieh | Nabatieh | محافظة النبطية |
LB-AS | North | Nord | محافظة الشمال |
LB-JA | South | du Liban-Sud | محافظة الجنوب |
Source: Natural Earth, public domain. Shapes are simplified for the screen.