Skip to content

Map of Costa Rica ​

Costa Rica, كوستاريكا in Arabic. The map has 7 regions. The figures on it are made up: give yours with the codes below.

TopoJSON file

Put your figures on it

In your framework

import { Chart } from 'nervure/react';

const spec = {
  type: 'map',
  geo: 'await loadMap("countries/cr")',
  projection: 'mercator',
  values: { 'CR-A': 8, 'CR-C': 45, 'CR-G': 82, 'CR-H': 29 },
  legend: true,
};

export default function Example() {
  return <Chart spec={spec} style={{ height: 340 }} />;
}

Regions and codes ​

CodeNameFrenchArabic
CR-AAlajuelaAlajuelaالأخويلا
CR-CCartagoCartagoكارتاغو
CR-GGuanacasteGuanacasteغواناكاسته
CR-HHerediaHerediaإيريذيا
CR-LLimónLimónليمون
CR-PPuntarenasPuntarenasبونتاريناس
CR-SJSan JoséSan Joséمحافظة سان خوسيه

Source: Natural Earth, public domain. Shapes are simplified for the screen.