Map of San Marino
San Marino, Saint-Marin in French, سان مارينو in Arabic. The map has 9 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/sm")',
projection: 'mercator',
values: { 'SM-01': 8, 'SM-06': 45, 'SM-02': 82, 'SM-03': 29 },
legend: true,
};
export default function Example() {
return <Chart spec={spec} style={{ height: 340 }} />;
}Regions and codes
| Code | Name | French | Arabic |
|---|---|---|---|
SM-01 | Acquaviva | Acquaviva | أكوافيفا |
SM-06 | Borgo Maggiore | Borgo Maggiore | بورغو ماجيوري |
SM-02 | Chiesanuova | Chiesanuova | تشيسانوفا |
SM-03 | Domagnano | Domagnano | دومانيانو |
SM-04 | Faetano | Faetano | فيتانو |
SM-05 | Fiorentino | Fiorentino | فيورنتينو |
SM-08 | Montegiardino | Montegiardino | مونتيجاردينو |
SM-07 | San Marino | Saint-Marin | مدينة سان مارينو |
SM-09 | Serravalle | Serravalle | سرافاله |
Source: Natural Earth, public domain. Shapes are simplified for the screen.