# @highcharts/map-collection

> Highmaps Map Collection

Latest version **2.3.3** (published 2026-05-22) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @highcharts/map-collection
pnpm add @highcharts/map-collection
yarn add @highcharts/map-collection
bun add @highcharts/map-collection
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 2.3.3 |
| Published | 2026-05-22 |
| First published | 2018-11-20 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 125.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 39 |
| Author | Øystein Moseng |
| Maintainers | torsteinhonsi, karol.kolodziej, jtistel, jszuminski, bre1470, cvasseng, oysteinmoseng, khlieng, ppotaczek, askelj, goransle, skrulling |
| Keywords | highcharts, highmaps, maps, map-collection |

## Links

- npm: https://www.npmjs.com/package/@highcharts/map-collection
- Repository: https://github.com/highcharts/map-collection-dist
- Homepage: https://github.com/highcharts/map-collection-dist#readme
- Issues: https://github.com/highcharts/map-collection-dist/issues
- npm.io page: https://npm.io/package/@highcharts/map-collection

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 2.3.3 (latest) — 2026-05-22
- 2.3.2 — 2025-10-01
- 2.3.1 — 2025-06-02
- 2.3.0 — 2024-08-09
- 2.2.0 — 2024-06-05
- 2.1.0 — 2023-06-05
- 2.0.1 — 2022-05-06
- 2.0.0 — 2022-02-07
- 1.1.4 — 2021-12-09
- 1.1.3 — 2020-01-13
- 1.1.2 — 2018-11-20

## README

# Highcharts Map Collection
[Website](https://www.highcharts.com) | [API](https://api.highcharts.com/highmaps) | [Demo](https://www.highcharts.com/demo/maps/all-maps) | [Issues](https://github.com/highcharts/map-collection-dist/issues)

## License
The use of the maps in this collection requires that you follow our terms and conditions that are stated in [License.md](https://github.com/highcharts/map-collection-dist/blob/master/LICENSE.md).

## Installation
### Install from npm

The Map Collection is available on npm as [@highcharts/map-collection](https://www.npmjs.com/package/@highcharts/map-collection) and can be installed as following:
```sh
npm i @highcharts/map-collection
```

1. Load a map in Node.js and use it in Highcharts Maps. Apply it in [`chart.map`](https://api.highcharts.com/highmaps/chart.map) to make it the default map for all series.

```js
const Highcharts = require('highcharts/highmaps.js'),
    map = require('@highcharts/map-collection/custom/world.topo.json');

Highcharts.mapChart('container', {
    chart: {
        map
    },
    // ...
});
```

Alternatively, you can apply different maps for different series ([view demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/maps/series/affectsmapview/)):
```js
series: [{
    mapData: map,
    // ...
```


2. Join your data with the map. By default Highcharts Maps is set up to map your data against the `hc-key` property of the Map Collection, allowing you to define your data like this:
```js
data: [['us-ny', 0], ['us-mi', 5], ['us-tx', 3], ['us-ak', 5]]
```
For other data joining options, see the [`series.joinBy`](https://api.highcharts.com/highmaps/plotOptions.series.joinBy) and [`series.keys`](https://api.highcharts.com/highcharts/plotOptions.series.keys) options.

### Download the source code

The source code for the Map Collection is available on [GitHub](https://github.com/highcharts/map-collection-dist). Each release is tagged with the version number and linked assets: https://github.com/highcharts/map-collection-dist/releases

### Install from our CDN

By using the Highcharts CDN, you agree to abide by [this fair usage policy](https://www.highcharts.com/blog/fair-usage-policy-pdf) and the associated licensing terms.

In the [Map Collection reference](https://code.highcharts.com/mapdata/), each map name is followed by links to demos and data. Click the TopoJSON link and copy the URL.

Load the map and parse the JSON:

```js
const map = await fetch(
    'https://code.highcharts.com/mapdata/custom/world.topo.json'
).then(response => response.json());

Highcharts.mapChart('container', {
    chart: {
        map
    },
    // ...
});
```

Specific map versions are available via versioned URLs.
For example: <code>https://code.highcharts.com/mapdata/<strong>2.3</strong>/custom/world.topo.json</code>
corresponds to version **^2.3**.

---
_Source: https://npm.io/package/@highcharts/map-collection · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
