Map of São Tomé and Príncipe
São Tomé and Príncipe, Sao Tomé-et-Principe in French, ساو تومي وبرينسيب in Arabic. The map has 2 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/st")', projection: 'mercator', values: { 'ST-P': 8, 'ST-S': 45 }, legend: true };
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
ST-P | Príncipe | Principe | برنسيب |
ST-S | São Tomé | São Tomé | ساو نيكولو |
Source: Natural Earth, public domain. Shapes are simplified for the screen.