All templates

Migration flows

A year of migration between the four western provinces, from Statistics Canada. Hover or tap a province for its totals in and out.

Map + flow layer · Western Canada
Example

Real open data, credited under the map. The preview runs on unmap's demo key.

Add it with the unmap CLI

Installs the component, any sample data it ships and the shadcn components it uses. React projects only; in a Vue project it stops before changing anything.

npx @unmap/cli add map-flows-01

Add to your React app

npx shadcn@latest add https://registry.unmap.dev/r/map-flows-01.json

For React apps with shadcn and Base UI already set up. The CLI adds the required components and packages.

Render the component

import { MapFlows } from "@/components/unmap-map-flows"

<MapFlows apiKey="um_live_..." />

What it includes

  • Built on flow-layer
  • Statistics Canada data, Open Licence

Example

One registry item on a real Canadian place, ready to copy into a React app.