Destination Countries
Destination Countries visualization. Part of SSLi App. (https://zpl.io/V1BMKxE)

Pass in a few props and get the Destination Countries chart for SSLi app. The Destination Chart contains the map chart on left and BarCaption viz on the right. The BarCaption will contain only the top five countries at most. The Map chart can have as many countries as possible.
The BarCaption title will change between 'Top Country' and 'Top x Countries' depending on the amount of countries available in data passed in.
Props
Name
Type
Default Value
Required
Description
data
Highcharts Data
yes
The data to feed the visualization
colors
[string, string]
['#bfcbd0', '#f6f8fb']
no
The color gradient (start stop values) to color map and bar captions
Usage Example
Example of data structure
Last updated
Was this helpful?