Map of Tuvalu
Tuvalu, توفالو in Arabic. The map has its outline. 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/tv")', projection: 'mercator', values: { 'TV-X01~': 8 }, legend: true };
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
TV-X01~ | Tuvalu | Tuvalu | توفالو |
Source: Natural Earth, public domain. Shapes are simplified for the screen.