Skip to main content

Spike

A spike map is proportional symbol map, which is a type of thematic map that uses map symbols (spikes in this example) that vary in size to represent a quantitative variable.1
Example below contains data about Covid cases in Czech Republic.

Example

397083
40901
35885
17222
35606
27736
50488
36489
23401
34409
43011
33028
54054
51072
14387
29477
22625
12596
19840
29681
15813
26877
60167
23338
26529
16233
17716
27861
31061
29298
39414
29628
35658
23829
29263
32436
34025
31513
33227
62276
24859
61123
27272
42446
28749
44345
37479
60999
30672
45680
30811
30716
22094
27467
33865
27308
85590
53370
26665
40543
24467
26977
8815
64654
30007
38718
28262
29625
39530
38933
56891
22626
58764
66312
39201
57573
81145
Leaflet Geovisto | VUT FIT Brno, © OpenStreetMap contributors © CARTO

Installation

npm i geovisto-layer-spike

Configuration

Configuration used in example above:

{
"type": "geovisto-tool-layer-spike",
"id": "geovisto-tool-layer-spike",
"enabled": true,
"layerName": "Spike layer",
"data": {
"latitude": "lat",
"longitude": "long",
"category": "data.category",
"value": "data.value",
"aggregation": "sum"
"color": "#00FF00"
}
}

Dimensions

Dimensions used in Spike Layer:

  • latitude - latitude
  • longitude - longitude
  • category - main category to display
  • value - value of category to display
  • aggregation - value aggregation
  • color - color of spikes

1 Wikipedia: Proportional symbol map