themustafaomar / jsvectormap

A lightweight JavaScript library for creating interactive maps and pretty data visualization.
https://jvm-docs.vercel.app
MIT License
398 stars 80 forks source link
data-visualisation interactive-map javascript js-map jsvectormap jvectormap map maps svg-map vector-map visualization

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 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

Quick start

Installing via npm

npm i jsvectormap

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

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:

License

jsvectormap licensed under MIT.