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

/world-geo

import { … } from "@johnmorrisdotca/chizu/world-geo";

44.3 kB minified and gzipped, with everything it imports (measured with esbuild)

The world as longitude and latitude in degrees: every country a GeoJSON feature (Natural Earth, 1:110m), with no projection. For an orthographic globe or any spherical view, pair this with d3-geo's geoOrthographic; for a flat map, use the projected @johnmorrisdotca/chizu/world instead. Its own entry, so the outlines load only on the page that draws them.

Exports

NameKindWhat it is
defaultconstantThe world, every country a region, as longitude and latitude in degrees.
WORLD_GEOconstantThe world, every country a region, as longitude and latitude in degrees.

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