forked from vega/vega-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
geo_sphere.vg.json
52 lines (52 loc) · 1.26 KB
/
geo_sphere.vg.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"background": "white",
"padding": 5,
"width": 200,
"height": 200,
"style": "view",
"data": [
{"name": "source_0", "values": [{"type": "Sphere"}]},
{"name": "source_1", "transform": [{"type": "graticule"}]}
],
"projections": [
{
"name": "projection",
"translate": [100, 100],
"type": "orthographic",
"scale": 100
}
],
"marks": [
{
"name": "layer_0_marks",
"type": "shape",
"clip": true,
"style": ["geoshape"],
"from": {"data": "source_0"},
"encode": {
"update": {
"fill": {"value": "aliceblue"},
"ariaRoleDescription": {"value": "geoshape"}
}
},
"transform": [{"type": "geoshape", "projection": "projection"}]
},
{
"name": "layer_1_marks",
"type": "shape",
"clip": true,
"style": ["geoshape"],
"from": {"data": "source_1"},
"encode": {
"update": {
"stroke": {"value": "black"},
"strokeWidth": {"value": 0.5},
"fill": {"value": "transparent"},
"ariaRoleDescription": {"value": "geoshape"}
}
},
"transform": [{"type": "geoshape", "projection": "projection"}]
}
]
}