-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDentistsPerYear.json
52 lines (51 loc) · 1.52 KB
/
DentistsPerYear.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-lite/v5.json",
"width": 350,
"height": 350,
"description": "The following chart demonstrates the general decline in the number of dentists globally.",
"background": null,
"title": {
"text": "Dentists",
"fontSize": 24,
"fontWeight": "normal",
"font": "Times New Roman",
"fontStyle": "italic",
"anchor": "middle"
},
"data": {"url": "https://raw.githubusercontent.com/afia-farzana167/Code/refs/heads/main/Data/Dentists%20Per%2010000.csv"},
"mark": {
"type": "trail",
"point": {"filled": true, "size": 100}
},
"encoding": {
"x": {
"field": "Period",
"type": "ordinal",
"title": null
},
"y": {
"aggregate":"mean",
"field": "Value",
"type": "quantitative",
"axis": {
"title": "Number of Dentists (per 10,000 people)",
"tickCount": 5,
"titleFont": "Times New Roman",
"titleFontSize": 16,
"titleFontWeight": "normal",
"titlePadding": 10
}
},
"color": {
"field": "ParentLocation",
"type": "nominal",
"legend": null,
"scale": {"range": ["#1f77b4", "#2ca02c", "#fffdd0", "#17becf", "#bcbd22"]}
},
"tooltip": [
{"field": "ParentLocation", "title": "Continent"},
{"field": "Period", "title": "Year"},
{"field": "Value", "title": "Number"}
]
}
}