-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathsample-config.json
85 lines (85 loc) · 2.63 KB
/
sample-config.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
{
"version": "2",
"header": {
"title": "Parking Violations",
"description": "This data set reflects parking violations reported by authorized agencies in Philadelphia. The data represented below is a sample of parking violations occurring between 2012-2015 with license plate numbers anonymized for privacy.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3bxz-a5sb/rows.csv?accessType=DOWNLOAD&bom=true"
}
]
},
"cards": [
{
"x": 0,
"y": 0,
"width": 6,
"height": 4,
"vizwit": {
"title": "Issue Date & Time",
"chartType": "datetime",
"domain": "data.phila.gov",
"dataset": "2pfz-fnns",
"groupBy": "date_trunc_ym(issue_date_and_time)",
"triggerField": "issue_date_and_time"
}
},
{
"x": 6,
"y": 0,
"width": 6,
"height": 4,
"vizwit": {
"title": "Zipcodes",
"chartType": "choropleth",
"domain": "data.phila.gov",
"dataset": "2pfz-fnns",
"groupBy": ":@computed_region_8tb6_tjh9",
"boundaries": "https://data.phila.gov/resource/8tb6-tjh9.geojson",
"boundariesLabel": "code",
"boundariesId": "_feature_id"
}
},
{
"x": 0,
"y": 3,
"width": 6,
"height": 4,
"vizwit": {
"title": "Violation Description",
"chartType": "bar",
"domain": "data.phila.gov",
"dataset": "2pfz-fnns",
"groupBy": "violation_description"
}
},
{
"x": 6,
"y": 3,
"width": 6,
"height": 4,
"vizwit": {
"title": "Issuing Agency",
"description": "The agency that issued the violation",
"chartType": "pie",
"domain": "data.phila.gov",
"dataset": "2pfz-fnns",
"groupBy": "issuing_agency"
}
},
{
"x": 0,
"y": 6,
"width": 12,
"height": 5,
"vizwit": {
"title": "Parking Violations",
"chartType": "table",
"domain": "data.phila.gov",
"dataset": "2pfz-fnns",
"padded": true
}
}
]
}