Map of Germany
Germany, Allemagne in French, ألمانيا in Arabic. The map has 16 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/de")',
projection: 'mercator',
values: { 'DE-BW': 8, 'DE-BY': 45, 'DE-BE': 82, 'DE-BB': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
DE-BW | Baden-Württemberg | Bade-Wurtemberg | بادن-فورتمبيرغ |
DE-BY | Bavaria | Bavière | بافاريا |
DE-BE | Berlin | Berlin | برلين |
DE-BB | Brandenburg | Brandebourg | براندنبورغ |
DE-HB | Free Hanseatic Bremen | Brême | ولاية بريمن |
DE-HH | Hamburg | Hambourg | هامبورغ |
DE-HE | Hesse | Hesse | هسن |
DE-NI | Lower Saxony | Basse-Saxe | سكسونيا السفلى |
DE-MV | Mecklenburg-Western Pomerania | Mecklembourg-Poméranie-Occidentale | مكلنبورغ فوربومرن |
DE-NW | North Rhine-Westphalia | Rhénanie-du-Nord-Westphalie | شمال الراين-وستفاليا |
DE-RP | Rhineland-Palatinate | Rhénanie-Palatinat | راينلند بالاتينات |
DE-SL | Saarland | Sarre | سارلاند |
DE-SN | Saxony | Saxe | سكسونيا |
DE-ST | Saxony-Anhalt | Saxe-Anhalt | سكسونيا أنهالت |
DE-SH | Schleswig-Holstein | Schleswig-Holstein | شلسفيغ هولشتاين |
DE-TH | Thuringia | Thuringe | تورينغن |
Source: Natural Earth, public domain. Shapes are simplified for the screen.