An open API service indexing awesome lists of open source software.

https://github.com/themustafaomar/jsvectormap

A lightweight JavaScript library for creating interactive maps and pretty data visualization.
https://github.com/themustafaomar/jsvectormap

data-visualisation interactive-map javascript js-map jsvectormap jvectormap map maps svg-map vector-map visualization

Last synced: 3 days ago
JSON representation

A lightweight JavaScript library for creating interactive maps and pretty data visualization.

Awesome Lists containing this project

README

        



Jsvectormap sample

Jsvectormap


A lightweight Javascript library for creating interactive maps and pretty data visualization.




Explore docs
.
Report bug
·
View demo
·
Download

# Jsvectormap

Bringing data to life with interactive maps

This project is a deeply modified version of [jvectormap](https://github.com/bjornd/jvectormap) and was created to help developers who aren't using jQuery anymore in their projects.

Jsvectormap supports all modern browsers including IE9+

License
Downloads

Version
Minified
Minizipped

## What's an interactive map

* Interactive map is a powerful tool for presentation.
* It give the ability to create layers of information that can be shown or hidden at the click of a button on a region or maybe a marker.
* Data can be quickly updated, and these updates made transparent to users.
* Zoom functions that allow users to focus on either the details of a particular region, or to gain a quick overview of a wider area.

## Quick start

Installing via npm
```bash
npm i jsvectormap
```

import your preferred map you want to work with, after importing the `jsvectormap`

```js
import jsVectorMap from 'jsvectormap'
import 'jsvectormap/dist/maps/world.js'

const map = new jsVectorMap({
selector: '#map',
map: 'world',
})
```

## Contributions
Your contributions always **welcome** but consider the following notes:

* The build files shouldn't be updated when sending pull requests.

## License
jsvectormap licensed under MIT.