-
Notifications
You must be signed in to change notification settings - Fork 1
/
chart6_productivity.json
106 lines (106 loc) · 1.98 KB
/
chart6_productivity.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"title": {
"text": "UK productivity, 2000-2010",
"subtitle": "Labour productivity. Output per hour worked, 2018==100. Source: ONS",
"subtitleFontStyle": "italic",
"subtitleFontSize": 10,
"anchor": "start",
"color": "#FEFEFE",
"subtitleColor": "#B3B3B3"
},
"config": {
"background": "#404040",
"view": {
"stroke": "transparent"
}
},
"data": {
"values": [
{
"Date": "01/04/2000",
"Value": 84.3
},
{
"Date": "01/04/2001",
"Value": 85.5
},
{
"Date": "01/04/2002",
"Value": 88.0
},
{
"Date": "01/04/2003",
"Value": 89.9
},
{
"Date": "01/04/2004",
"Value": 92.1
},
{
"Date": "01/04/2005",
"Value": 93.5
},
{
"Date": "01/04/2006",
"Value": 95.7
},
{
"Date": "01/04/2007",
"Value": 96.4
},
{
"Date": "01/04/2008",
"Value": 97.6
},
{
"Date": "01/04/2009",
"Value": 94.7
},
{
"Date": "01/04/2010",
"Value": 96.8
}
]
},
"height": 300,
"width": 310,
"mark": {
"type": "line",
"point": false,
"interpolate": "monotone",
"color": "#FF7A00"
},
"encoding": {
"x": {
"field": "Date",
"type": "temporal",
"axis": {
"title": null,
"grid": false,
"domainColor": "#B3B3B3",
"labelColor": "#FFFFFF",
"tickColor": "#B3B3B3",
"gridColor": "black"
}
},
"y": {
"field": "Value",
"type": "quantitative",
"scale": {
"domain": [
70,
100
]
},
"axis": {
"grid": false,
"title": null,
"domainColor": "#B3B3B3",
"labelColor": "#FFFFFF",
"tickColor": "#B3B3B3",
"gridColor": "black"
}
}
}
}