• Options
  • Data visualization
Options

Data visualization

Edit this page

Map visualization is used to analyze and display the geographically related data and present it in the form of maps.

PropertyDescriptionTypeDefault
visualizeDataData visualization for regionsObjectundefined

This option was introduced since version 1.3

const map = new jsVectorMap({
  visualizeData: {
    scale: ['#eeeeee', '#999999'],
    values: {
      EG: 29,
      US: 100,
      CA: 190,
      BR: 75,
      // ...
    }
  }
})