-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdMP5.json
More file actions
69 lines (55 loc) · 2.07 KB
/
dMP5.json
File metadata and controls
69 lines (55 loc) · 2.07 KB
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
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "FRED/OECD data covering Narrow and Broad money, note in May 2020 FRED adjusted the M1 calculation to include components previously only accounted for in broader money measures, and so causing a jump bringing the measures mostly in line",
"title": {
"text": "Narrow and Broad Money for the United States",
"subtitle": "M1 and M3 (M3=M2) Money Supply ($), Source: FRED",
"subtitleFontStyle":"italic",
"subtitleFontSize":10,
"anchor": "start",
"color": "black"
},
"transform": [
{"filter": "datum.date > '1990-01-01'"}
],
"height": 300,
"width": 300,
"encoding": {
"x": {
"field": "date",
"type": "temporal",
"title": null,
"axis": {
"grid": false
},
"scale": {"domain": ["1960-01-01", "2021-12-01"]}
},
"y": {
"field": "value",
"type": "quantitative",
"title": null,
"axis": {
"grid": true,
"format": "$,s",
"gridOpacity": 0.4
}},
"tooltip": [
{"field": "date", "title": "Date", "type": "temporal"},
{"field": "value", "title": "Supply", "type": "quantitative", "format": "$.4s"}
]
},
"layer": [
{"data": {"url": "https://api.allorigins.win/raw?url=https%3A%2F%2Fapi.stlouisfed.org%2Ffred%2Fseries%2Fobservations%3Fseries_id%3DMANMM101USM189S%26api_key%3D838a40e4f5a37b6b4d8c9cfc4b1abaff%26file_type%3Djson", "format":{
"type": "json",
"property": "observations"
}},
"mark": {"type":"line", "color":"skyblue"}
},
{"data": {"url": "https://api.allorigins.win/raw?url=https%3A%2F%2Fapi.stlouisfed.org%2Ffred%2Fseries%2Fobservations%3Fseries_id%3DMABMM301USM189S%26api_key%3D838a40e4f5a37b6b4d8c9cfc4b1abaff%26file_type%3Djson", "format":{
"type": "json",
"property": "observations"
}},
"mark": {"type":"line", "color":"cadetblue"}
}
]
}