Skip to the content

Chizu地図

Draw SVG maps of the world, its 253 countries and the regions of 33 of them, frame them, place numbered callouts and build geography quizzes, with names in English and Japanese today (Spanish, German and Chinese are planned).

Chizu is the Japanese word 地図 for map. About the name

Contents

Reference · United Kingdom regions, councils of 2025

defaultconstant

United Kingdom: 233 administrative divisions, Counties and Unitary Authorities (December 2025) Boundaries UK BGC, simplified to 0.7 km, for England, Scotland and Wales (Source: Office for National Statistics licensed under the Open Government Licence v.3.0. Contains OS data © Crown copyright and database right 2025); Natural Earth 5.1.2 admin-1 states and provinces, 1:10m, for Northern Ireland, fitted to 1000x1100. The native map geometry, region identifiers, names, projection and insets; coordinates belong to this canvas.

Import it

import value from "@johnmorrisdotca/chizu/divisions/gb-2025";

Definition

const map: ChizuMap

Members

NameTypeDescription
idstring

world, country-fr (France alone, from Natural Earth's countries) or divisions-fr (its départements).

kind"world" | "country" | "divisions" | "local"

What its regions are: the whole world, a single country, the divisions of one, or the shapes of a local map of a city or a venue.

namestring

The map's name in English and Japanese.

nameJa (optional)string | undefined
regionNamestring

What a region is called here, singular and plural, in English: Country, Province.

regionNamePluralstring
viewBoxstring

The canvas: 0 0 width height.

widthnumber
heightnumber
wrapsboolean

Whether its east edge is its west edge: a map of the earth is a cylinder cut open, and pans round without stopping.

projectionChizuProjection
insetsChizuInset[]

The regions drawn in boxes of their own.

sourcestring

Where the outlines come from, in a line.

regionsChizuRegion[]

Examples

import map from "@johnmorrisdotca/chizu/divisions/gb-2025";
console.log(map.id, map.kind, map.regions.length, map.viewBox);
// divisions-gb-2025 divisions 233 0 0 1000 1100
divisions-gb-2025 divisions 233 0 0 1000 1100

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chizu 1.17.0.