Memory Usage

32.3%
8,6,5,9,8,4,9,3,5,9

CPU Usage

140.05
4,3,5,7,12,10,4,5,11,7

Disk Usage

82.02%
1,2,1,3,2,10,4,12,7

Daily Traffic

62,201
3,12,7,9,2,3,4,5,2

No attachments yet.

No events scheduled today.

Vector Maps

jsvectormap, a lightweight, dependency-free JavaScript library for interactive vector maps.

Below is an example of displaying the world map, with regions colored on a 5-tier scale from sample GDP data.

Below is an example of displaying the usa map.

Below is an example of displaying the canada map.

Below are the available options for the vector map.

new jsVectorMap({
  selector: '#vmap',
  map: 'world',
  backgroundColor: '#a5bfdd',
  regionStyle: {
    initial: { fill: '#f4f3f0', stroke: '#818181', strokeWidth: 0.25 },
    hover: { fill: '#c9dfaf' },
    selected: { fill: '#c9dfaf' }
  },
  zoomButtons: true,
  showTooltip: true,
  series: {
    regions: [{
      attribute: 'fill',
      scale: { tier0: '#b6d6ff', tier1: '#005ace' },
      values: { US: 'tier1', FR: 'tier0' }
    }]
  },
  onRegionClick(event, code) {}
});

jsvectormap's npm package only bundles the world map; region/country maps (USA, Canada, and others) are sourced from the same project's GitHub repository as standalone data files.

<script src="https://cdn.jsdelivr.net/npm/jsvectormap@1.7.0/dist/jsvectormap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jsvectormap@1.7.0/dist/maps/world.js"></script>
Map Name Source
world Bundled with the npm package (dist/maps/world.js)
us_merc_en, canada, and others Sourced from the jsvectormap GitHub repository (packages/maps/src/), pinned to the same release tag as the core library