@cdc/dashboard 4.23.11 → 4.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdcdashboard.js +109007 -98738
- package/examples/DEV-6574.json +2224 -0
- package/examples/filters/Alabama.json +72 -0
- package/examples/filters/Alaska.json +1737 -0
- package/examples/filters/Arkansas.json +4713 -0
- package/examples/filters/California.json +212 -0
- package/examples/filters/Colorado.json +1500 -0
- package/examples/filters/Connecticut.json +559 -0
- package/examples/filters/Delaware.json +63 -0
- package/examples/filters/DistrictofColumbia.json +63 -0
- package/examples/filters/Florida.json +4217 -0
- package/examples/filters/States.json +146 -0
- package/examples/test.json +752 -0
- package/examples/zika.json +2274 -0
- package/index.html +5 -3
- package/package.json +9 -9
- package/src/CdcDashboard.tsx +124 -963
- package/src/CdcDashboardComponent.tsx +903 -0
- package/src/_stories/Dashboard.stories.tsx +2 -2
- package/src/components/Column.tsx +15 -12
- package/src/components/Header/Header.tsx +694 -0
- package/src/components/Header/index.tsx +1 -676
- package/src/components/MultiConfigTabs/MultiConfigTabs.tsx +106 -0
- package/src/components/MultiConfigTabs/MultiTabs.tsx +30 -0
- package/src/components/MultiConfigTabs/index.tsx +8 -0
- package/src/components/MultiConfigTabs/multiconfigtabs.styles.css +32 -0
- package/src/components/Widget.tsx +25 -9
- package/src/helpers/filterData.ts +73 -73
- package/src/helpers/generateValuesForFilter.ts +25 -29
- package/src/helpers/getUpdateConfig.ts +6 -2
- package/src/helpers/processData.ts +13 -0
- package/src/helpers/processDataLegacy.ts +14 -0
- package/src/{index.jsx → index.tsx} +2 -2
- package/src/scss/editor-panel.scss +14 -11
- package/src/scss/grid.scss +4 -6
- package/src/scss/main.scss +2 -8
- package/src/store/dashboard.actions.ts +10 -4
- package/src/store/dashboard.reducer.ts +74 -3
- package/src/types/ConfigRow.ts +6 -0
- package/src/types/Dashboard.ts +11 -0
- package/src/types/DashboardConfig.ts +23 -0
- package/src/types/InitialState.ts +10 -0
- package/src/types/MultiDashboard.ts +11 -0
- package/src/types/SharedFilter.ts +31 -20
- package/src/types/Config.ts +0 -27
|
@@ -0,0 +1,752 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dashboard": {
|
|
3
|
+
"theme": "theme-blue",
|
|
4
|
+
"sharedFilters": [
|
|
5
|
+
{
|
|
6
|
+
"key": "State",
|
|
7
|
+
"type": "urlfilter",
|
|
8
|
+
"columnName": "geography",
|
|
9
|
+
"showDropdown": true,
|
|
10
|
+
"usedBy": [
|
|
11
|
+
"chart1701791122773",
|
|
12
|
+
"filtered-text1701791173259",
|
|
13
|
+
"filtered-text1701791674571",
|
|
14
|
+
"filtered-text1701791683990"
|
|
15
|
+
],
|
|
16
|
+
"values": [
|
|
17
|
+
"United States",
|
|
18
|
+
"Alabama",
|
|
19
|
+
"Alaska",
|
|
20
|
+
"Arizona",
|
|
21
|
+
"Arkansas",
|
|
22
|
+
"California",
|
|
23
|
+
"Colorado",
|
|
24
|
+
"Commonwealth of the Northern Mariana Islands",
|
|
25
|
+
"Connecticut",
|
|
26
|
+
"Delaware",
|
|
27
|
+
"District of Columbia",
|
|
28
|
+
"Florida",
|
|
29
|
+
"Georgia",
|
|
30
|
+
"Hawaii",
|
|
31
|
+
"Idaho",
|
|
32
|
+
"Illinois",
|
|
33
|
+
"Indiana",
|
|
34
|
+
"Iowa",
|
|
35
|
+
"Kansas",
|
|
36
|
+
"Kentucky",
|
|
37
|
+
"Louisiana",
|
|
38
|
+
"Maine",
|
|
39
|
+
"Maryland",
|
|
40
|
+
"Massachusetts",
|
|
41
|
+
"Michigan",
|
|
42
|
+
"Minnesota",
|
|
43
|
+
"Mississippi",
|
|
44
|
+
"Missouri",
|
|
45
|
+
"Montana",
|
|
46
|
+
"Nebraska",
|
|
47
|
+
"Nevada",
|
|
48
|
+
"New Hampshire",
|
|
49
|
+
"New Jersey",
|
|
50
|
+
"New Mexico",
|
|
51
|
+
"New York",
|
|
52
|
+
"New York City",
|
|
53
|
+
"North Carolina",
|
|
54
|
+
"North Dakota",
|
|
55
|
+
"Ohio",
|
|
56
|
+
"Oklahoma",
|
|
57
|
+
"Oregon",
|
|
58
|
+
"Pennsylvania",
|
|
59
|
+
"Puerto Rico",
|
|
60
|
+
"Rhode Island",
|
|
61
|
+
"South Carolina",
|
|
62
|
+
"South Dakota",
|
|
63
|
+
"Tennessee",
|
|
64
|
+
"Texas",
|
|
65
|
+
"Utah",
|
|
66
|
+
"Vermont",
|
|
67
|
+
"Virgin Islands",
|
|
68
|
+
"Virginia",
|
|
69
|
+
"Washington",
|
|
70
|
+
"West Virginia",
|
|
71
|
+
"Wisconsin",
|
|
72
|
+
"Wyoming"
|
|
73
|
+
],
|
|
74
|
+
"active": "United States",
|
|
75
|
+
"tier": 1,
|
|
76
|
+
"datasetKey": "resp-data.json",
|
|
77
|
+
"queryParameter": "geography",
|
|
78
|
+
"apiFilter": {
|
|
79
|
+
"apiEndpoint": "https://data.cdc.gov/resource/tajw-whir.json?$select=distinct%20geography&$order=geography%20ASC",
|
|
80
|
+
"valueSelector": "geography",
|
|
81
|
+
"textSelector": "geography",
|
|
82
|
+
"defaultValue": "United States",
|
|
83
|
+
"autoLoad": true
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"key": "County",
|
|
88
|
+
"type": "datafilter",
|
|
89
|
+
"columnName": "county",
|
|
90
|
+
"showDropdown": true,
|
|
91
|
+
"usedBy": [
|
|
92
|
+
"chart1701791122773",
|
|
93
|
+
"filtered-text1701791173259",
|
|
94
|
+
"filtered-text1701791674571",
|
|
95
|
+
"filtered-text1701791683990",
|
|
96
|
+
"filter-dropdowns1701792379133",
|
|
97
|
+
"filtered-text1701888972205",
|
|
98
|
+
"filtered-text1701888980655"
|
|
99
|
+
],
|
|
100
|
+
"values": [
|
|
101
|
+
"All",
|
|
102
|
+
"Autauga County",
|
|
103
|
+
"Baldwin County",
|
|
104
|
+
"Barbour County",
|
|
105
|
+
"Bibb County",
|
|
106
|
+
"Blount County",
|
|
107
|
+
"Bullock County",
|
|
108
|
+
"Butler County",
|
|
109
|
+
"Calhoun County",
|
|
110
|
+
"Chambers County",
|
|
111
|
+
"Cherokee County",
|
|
112
|
+
"Chilton County",
|
|
113
|
+
"Choctaw County",
|
|
114
|
+
"Clarke County",
|
|
115
|
+
"Clay County",
|
|
116
|
+
"Cleburne County",
|
|
117
|
+
"Coffee County",
|
|
118
|
+
"Colbert County",
|
|
119
|
+
"Conecuh County",
|
|
120
|
+
"Coosa County",
|
|
121
|
+
"Covington County",
|
|
122
|
+
"Crenshaw County",
|
|
123
|
+
"Cullman County",
|
|
124
|
+
"Dale County",
|
|
125
|
+
"Dallas County",
|
|
126
|
+
"DeKalb County",
|
|
127
|
+
"Elmore County",
|
|
128
|
+
"Escambia County",
|
|
129
|
+
"Etowah County",
|
|
130
|
+
"Fayette County",
|
|
131
|
+
"Franklin County",
|
|
132
|
+
"Geneva County",
|
|
133
|
+
"Greene County",
|
|
134
|
+
"Hale County",
|
|
135
|
+
"Henry County",
|
|
136
|
+
"Houston County",
|
|
137
|
+
"Jackson County",
|
|
138
|
+
"Jefferson County",
|
|
139
|
+
"Lamar County",
|
|
140
|
+
"Lauderdale County",
|
|
141
|
+
"Lawrence County",
|
|
142
|
+
"Lee County",
|
|
143
|
+
"Limestone County",
|
|
144
|
+
"Lowndes County",
|
|
145
|
+
"Macon County",
|
|
146
|
+
"Madison County",
|
|
147
|
+
"Marengo County",
|
|
148
|
+
"Marion County",
|
|
149
|
+
"Marshall County",
|
|
150
|
+
"Mobile County",
|
|
151
|
+
"Monroe County",
|
|
152
|
+
"Montgomery County",
|
|
153
|
+
"Morgan County",
|
|
154
|
+
"Perry County",
|
|
155
|
+
"Pickens County",
|
|
156
|
+
"Pike County",
|
|
157
|
+
"Randolph County",
|
|
158
|
+
"Russell County",
|
|
159
|
+
"Shelby County",
|
|
160
|
+
"St. Clair County",
|
|
161
|
+
"Sumter County",
|
|
162
|
+
"Talladega County",
|
|
163
|
+
"Tallapoosa County",
|
|
164
|
+
"Tuscaloosa County",
|
|
165
|
+
"Walker County",
|
|
166
|
+
"Washington County",
|
|
167
|
+
"Wilcox County",
|
|
168
|
+
"Winston County"
|
|
169
|
+
],
|
|
170
|
+
"active": "All",
|
|
171
|
+
"tier": 1,
|
|
172
|
+
"parents": [
|
|
173
|
+
"Dashboard Filter 3"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"key": "Dashboard Filter 3",
|
|
178
|
+
"type": "datafilter",
|
|
179
|
+
"columnName": "geography",
|
|
180
|
+
"showDropdown": true,
|
|
181
|
+
"usedBy": [
|
|
182
|
+
"chart1701791122773",
|
|
183
|
+
"filtered-text1701791173259",
|
|
184
|
+
"filtered-text1701791674571",
|
|
185
|
+
"filtered-text1701791683990",
|
|
186
|
+
"filtered-text1701888972205",
|
|
187
|
+
"filtered-text1701888980655"
|
|
188
|
+
],
|
|
189
|
+
"values": [
|
|
190
|
+
"Alabama",
|
|
191
|
+
"Alaska",
|
|
192
|
+
"Arizona",
|
|
193
|
+
"Arkansas",
|
|
194
|
+
"California",
|
|
195
|
+
"Colorado",
|
|
196
|
+
"Connecticut",
|
|
197
|
+
"Delaware",
|
|
198
|
+
"District of Columbia",
|
|
199
|
+
"Florida",
|
|
200
|
+
"Georgia",
|
|
201
|
+
"Hawaii",
|
|
202
|
+
"Idaho",
|
|
203
|
+
"Illinois",
|
|
204
|
+
"Indiana",
|
|
205
|
+
"Iowa",
|
|
206
|
+
"Kansas",
|
|
207
|
+
"Kentucky",
|
|
208
|
+
"Louisiana",
|
|
209
|
+
"Maine",
|
|
210
|
+
"Maryland",
|
|
211
|
+
"Massachusetts",
|
|
212
|
+
"Michigan",
|
|
213
|
+
"Minnesota",
|
|
214
|
+
"Mississippi",
|
|
215
|
+
"Montana",
|
|
216
|
+
"Nebraska",
|
|
217
|
+
"Nevada",
|
|
218
|
+
"New Jersey",
|
|
219
|
+
"New Mexico",
|
|
220
|
+
"New York",
|
|
221
|
+
"North Carolina",
|
|
222
|
+
"North Dakota",
|
|
223
|
+
"Ohio",
|
|
224
|
+
"Oklahoma",
|
|
225
|
+
"Oregon",
|
|
226
|
+
"Pennsylvania",
|
|
227
|
+
"Rhode Island",
|
|
228
|
+
"South Carolina",
|
|
229
|
+
"Tennessee",
|
|
230
|
+
"Texas",
|
|
231
|
+
"United States",
|
|
232
|
+
"Utah",
|
|
233
|
+
"Vermont",
|
|
234
|
+
"Virginia",
|
|
235
|
+
"West Virginia",
|
|
236
|
+
"Wisconsin",
|
|
237
|
+
"Wyoming"
|
|
238
|
+
],
|
|
239
|
+
"active": "United States",
|
|
240
|
+
"tier": 1
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"rows": [
|
|
245
|
+
[
|
|
246
|
+
{
|
|
247
|
+
"width": 12,
|
|
248
|
+
"widget": "filter-dropdowns1701792379133"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"equalHeight": false
|
|
252
|
+
},
|
|
253
|
+
{},
|
|
254
|
+
{}
|
|
255
|
+
],
|
|
256
|
+
[
|
|
257
|
+
{
|
|
258
|
+
"width": 6,
|
|
259
|
+
"widget": "filtered-text1701888972205"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"equalHeight": false,
|
|
263
|
+
"width": 6,
|
|
264
|
+
"widget": "filtered-text1701888980655"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"width": null
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"width": null
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
[
|
|
274
|
+
{
|
|
275
|
+
"width": 12,
|
|
276
|
+
"widget": "chart1701791122773"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"equalHeight": false
|
|
280
|
+
},
|
|
281
|
+
{},
|
|
282
|
+
{}
|
|
283
|
+
],
|
|
284
|
+
[
|
|
285
|
+
{
|
|
286
|
+
"width": 4,
|
|
287
|
+
"widget": "filtered-text1701791173259"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"equalHeight": false,
|
|
291
|
+
"width": 4,
|
|
292
|
+
"widget": "filtered-text1701791674571"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"width": 4,
|
|
296
|
+
"widget": "filtered-text1701791683990"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"width": null
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
],
|
|
303
|
+
"visualizations": {
|
|
304
|
+
"chart1701791122773": {
|
|
305
|
+
"type": "chart",
|
|
306
|
+
"debugSvg": false,
|
|
307
|
+
"chartMessage": {
|
|
308
|
+
"noData": "No Data Available"
|
|
309
|
+
},
|
|
310
|
+
"title": "",
|
|
311
|
+
"showTitle": false,
|
|
312
|
+
"showDownloadMediaButton": false,
|
|
313
|
+
"showChartBrush": false,
|
|
314
|
+
"theme": "theme-blue",
|
|
315
|
+
"animate": false,
|
|
316
|
+
"fontSize": "small",
|
|
317
|
+
"lineDatapointStyle": "hover",
|
|
318
|
+
"barHasBorder": "false",
|
|
319
|
+
"isLollipopChart": false,
|
|
320
|
+
"lollipopShape": "circle",
|
|
321
|
+
"lollipopColorStyle": "two-tone",
|
|
322
|
+
"visualizationSubType": "regular",
|
|
323
|
+
"barStyle": "",
|
|
324
|
+
"roundingStyle": "standard",
|
|
325
|
+
"tipRounding": "top",
|
|
326
|
+
"isResponsiveTicks": true,
|
|
327
|
+
"general": {
|
|
328
|
+
"showDownloadButton": false
|
|
329
|
+
},
|
|
330
|
+
"padding": {
|
|
331
|
+
"left": 5,
|
|
332
|
+
"right": 5
|
|
333
|
+
},
|
|
334
|
+
"yAxis": {
|
|
335
|
+
"hideAxis": false,
|
|
336
|
+
"displayNumbersOnBar": false,
|
|
337
|
+
"hideLabel": false,
|
|
338
|
+
"hideTicks": false,
|
|
339
|
+
"size": "75",
|
|
340
|
+
"gridLines": true,
|
|
341
|
+
"enablePadding": true,
|
|
342
|
+
"min": "",
|
|
343
|
+
"max": "",
|
|
344
|
+
"labelColor": "#333",
|
|
345
|
+
"tickLabelColor": "#333",
|
|
346
|
+
"tickColor": "#333",
|
|
347
|
+
"rightHideAxis": true,
|
|
348
|
+
"rightAxisSize": 0,
|
|
349
|
+
"rightLabel": "",
|
|
350
|
+
"rightLabelOffsetSize": 0,
|
|
351
|
+
"rightAxisLabelColor": "#333",
|
|
352
|
+
"rightAxisTickLabelColor": "#333",
|
|
353
|
+
"rightAxisTickColor": "#333",
|
|
354
|
+
"numTicks": "10",
|
|
355
|
+
"axisPadding": 0,
|
|
356
|
+
"tickRotation": 0,
|
|
357
|
+
"anchors": [],
|
|
358
|
+
"label": "Percent of Emergency Department Visits"
|
|
359
|
+
},
|
|
360
|
+
"boxplot": {
|
|
361
|
+
"plots": [],
|
|
362
|
+
"borders": "true",
|
|
363
|
+
"firstQuartilePercentage": 25,
|
|
364
|
+
"thirdQuartilePercentage": 75,
|
|
365
|
+
"boxWidthPercentage": 40,
|
|
366
|
+
"plotOutlierValues": false,
|
|
367
|
+
"plotNonOutlierValues": true,
|
|
368
|
+
"legend": {
|
|
369
|
+
"showHowToReadText": false,
|
|
370
|
+
"howToReadText": ""
|
|
371
|
+
},
|
|
372
|
+
"labels": {
|
|
373
|
+
"q1": "Lower Quartile",
|
|
374
|
+
"q2": "q2",
|
|
375
|
+
"q3": "Upper Quartile",
|
|
376
|
+
"q4": "q4",
|
|
377
|
+
"minimum": "Minimum",
|
|
378
|
+
"maximum": "Maximum",
|
|
379
|
+
"mean": "Mean",
|
|
380
|
+
"median": "Median",
|
|
381
|
+
"sd": "Standard Deviation",
|
|
382
|
+
"iqr": "Interquartile Range",
|
|
383
|
+
"total": "Total",
|
|
384
|
+
"outliers": "Outliers",
|
|
385
|
+
"values": "Values",
|
|
386
|
+
"lowerBounds": "Lower Bounds",
|
|
387
|
+
"upperBounds": "Upper Bounds"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"topAxis": {
|
|
391
|
+
"hasLine": false
|
|
392
|
+
},
|
|
393
|
+
"isLegendValue": false,
|
|
394
|
+
"barThickness": 0.35,
|
|
395
|
+
"barHeight": 25,
|
|
396
|
+
"barSpace": 15,
|
|
397
|
+
"heights": {
|
|
398
|
+
"vertical": "400",
|
|
399
|
+
"horizontal": 750
|
|
400
|
+
},
|
|
401
|
+
"xAxis": {
|
|
402
|
+
"sortDates": false,
|
|
403
|
+
"anchors": [],
|
|
404
|
+
"type": "date",
|
|
405
|
+
"showTargetLabel": true,
|
|
406
|
+
"targetLabel": "Target",
|
|
407
|
+
"hideAxis": false,
|
|
408
|
+
"hideLabel": false,
|
|
409
|
+
"hideTicks": false,
|
|
410
|
+
"size": "95",
|
|
411
|
+
"tickRotation": 0,
|
|
412
|
+
"min": "",
|
|
413
|
+
"max": "",
|
|
414
|
+
"labelColor": "#333",
|
|
415
|
+
"tickLabelColor": "#333",
|
|
416
|
+
"tickColor": "#333",
|
|
417
|
+
"numTicks": "15",
|
|
418
|
+
"labelOffset": 65,
|
|
419
|
+
"axisPadding": 0,
|
|
420
|
+
"target": 0,
|
|
421
|
+
"maxTickRotation": "45",
|
|
422
|
+
"dataKey": "week_end_display",
|
|
423
|
+
"dateParseFormat": "%Y/%_m/%_d",
|
|
424
|
+
"dateDisplayFormat": "%m/%d/%Y",
|
|
425
|
+
"label": "Week Ending"
|
|
426
|
+
},
|
|
427
|
+
"table": {
|
|
428
|
+
"label": "Data Table",
|
|
429
|
+
"expanded": false,
|
|
430
|
+
"limitHeight": false,
|
|
431
|
+
"height": "",
|
|
432
|
+
"caption": "",
|
|
433
|
+
"showDownloadUrl": false,
|
|
434
|
+
"showDataTableLink": true,
|
|
435
|
+
"indexLabel": "Week Ending",
|
|
436
|
+
"download": false,
|
|
437
|
+
"showVertical": true,
|
|
438
|
+
"show": true
|
|
439
|
+
},
|
|
440
|
+
"orientation": "vertical",
|
|
441
|
+
"color": "pinkpurple",
|
|
442
|
+
"columns": {},
|
|
443
|
+
"legend": {
|
|
444
|
+
"behavior": "isolate",
|
|
445
|
+
"singleRow": true,
|
|
446
|
+
"colorCode": "",
|
|
447
|
+
"reverseLabelOrder": false,
|
|
448
|
+
"description": "",
|
|
449
|
+
"dynamicLegend": false,
|
|
450
|
+
"dynamicLegendDefaultText": "Show All",
|
|
451
|
+
"dynamicLegendItemLimit": 5,
|
|
452
|
+
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
453
|
+
"dynamicLegendChartMessage": "Select Options from the Legend",
|
|
454
|
+
"lineMode": false,
|
|
455
|
+
"verticalSorted": false,
|
|
456
|
+
"hide": false,
|
|
457
|
+
"position": "bottom"
|
|
458
|
+
},
|
|
459
|
+
"exclusions": {
|
|
460
|
+
"active": false,
|
|
461
|
+
"keys": []
|
|
462
|
+
},
|
|
463
|
+
"palette": "qualitative-bold",
|
|
464
|
+
"isPaletteReversed": false,
|
|
465
|
+
"twoColor": {
|
|
466
|
+
"palette": "monochrome-1",
|
|
467
|
+
"isPaletteReversed": false
|
|
468
|
+
},
|
|
469
|
+
"labels": false,
|
|
470
|
+
"dataFormat": {
|
|
471
|
+
"commas": false,
|
|
472
|
+
"prefix": "",
|
|
473
|
+
"suffix": "%",
|
|
474
|
+
"abbreviated": false,
|
|
475
|
+
"bottomSuffix": "",
|
|
476
|
+
"bottomPrefix": "",
|
|
477
|
+
"bottomAbbreviated": false,
|
|
478
|
+
"roundTo": "1"
|
|
479
|
+
},
|
|
480
|
+
"confidenceKeys": {},
|
|
481
|
+
"visual": {
|
|
482
|
+
"border": true,
|
|
483
|
+
"accent": true,
|
|
484
|
+
"background": true,
|
|
485
|
+
"verticalHoverLine": true,
|
|
486
|
+
"horizontalHoverLine": false
|
|
487
|
+
},
|
|
488
|
+
"useLogScale": false,
|
|
489
|
+
"filterBehavior": "Filter Change",
|
|
490
|
+
"highlightedBarValues": [],
|
|
491
|
+
"series": [
|
|
492
|
+
{
|
|
493
|
+
"dataKey": "percent_visits_combined",
|
|
494
|
+
"name": "Combined",
|
|
495
|
+
"type": "Line",
|
|
496
|
+
"axis": "Left",
|
|
497
|
+
"tooltip": true
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"dataKey": "percent_visits_covid",
|
|
501
|
+
"name": "COVID",
|
|
502
|
+
"type": "Line",
|
|
503
|
+
"axis": "Left",
|
|
504
|
+
"tooltip": true
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"dataKey": "percent_visits_influenza",
|
|
508
|
+
"name": "Influenza",
|
|
509
|
+
"type": "Line",
|
|
510
|
+
"axis": "Left",
|
|
511
|
+
"tooltip": true
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"dataKey": "percent_visits_rsv",
|
|
515
|
+
"name": "RSV",
|
|
516
|
+
"type": "Line",
|
|
517
|
+
"axis": "Left",
|
|
518
|
+
"tooltip": true
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
"tooltips": {
|
|
522
|
+
"opacity": 90
|
|
523
|
+
},
|
|
524
|
+
"forestPlot": {
|
|
525
|
+
"startAt": 0,
|
|
526
|
+
"width": "auto",
|
|
527
|
+
"colors": {
|
|
528
|
+
"line": "",
|
|
529
|
+
"shape": ""
|
|
530
|
+
},
|
|
531
|
+
"estimateField": "",
|
|
532
|
+
"estimateRadius": "",
|
|
533
|
+
"lowerCiField": "",
|
|
534
|
+
"upperCiField": "",
|
|
535
|
+
"shape": "",
|
|
536
|
+
"rowHeight": 20,
|
|
537
|
+
"showZeroLine": false,
|
|
538
|
+
"description": {
|
|
539
|
+
"show": true,
|
|
540
|
+
"text": "description",
|
|
541
|
+
"location": 0
|
|
542
|
+
},
|
|
543
|
+
"result": {
|
|
544
|
+
"show": true,
|
|
545
|
+
"text": "result",
|
|
546
|
+
"location": 100
|
|
547
|
+
},
|
|
548
|
+
"radius": {
|
|
549
|
+
"min": 1,
|
|
550
|
+
"max": 8,
|
|
551
|
+
"scalingColumn": ""
|
|
552
|
+
},
|
|
553
|
+
"regression": {
|
|
554
|
+
"lower": 0,
|
|
555
|
+
"upper": 0,
|
|
556
|
+
"estimateField": 0
|
|
557
|
+
},
|
|
558
|
+
"leftWidthOffset": 0,
|
|
559
|
+
"rightWidthOffset": 0
|
|
560
|
+
},
|
|
561
|
+
"brush": {
|
|
562
|
+
"pattern_id": "brush_pattern",
|
|
563
|
+
"accent_color": "#ddd"
|
|
564
|
+
},
|
|
565
|
+
"area": {
|
|
566
|
+
"isStacked": false
|
|
567
|
+
},
|
|
568
|
+
"datasets": {},
|
|
569
|
+
"visualizationType": "Line",
|
|
570
|
+
"dataKey": "resp-data.json",
|
|
571
|
+
"customColors": [
|
|
572
|
+
"#000000",
|
|
573
|
+
"#f06f19",
|
|
574
|
+
"#0a58d6",
|
|
575
|
+
"#890664",
|
|
576
|
+
"#89bf13",
|
|
577
|
+
"#94036f",
|
|
578
|
+
"#87b6f9",
|
|
579
|
+
"#867a77",
|
|
580
|
+
"#000000"
|
|
581
|
+
],
|
|
582
|
+
"dataFileName": "/wcms/vizdata/Respitory_Viruses/EmergencyDepartmentVisitCombined.json",
|
|
583
|
+
"dataFileSourceType": "url",
|
|
584
|
+
"validated": 4.23,
|
|
585
|
+
"dynamicMarginTop": 109,
|
|
586
|
+
"description": "<div class=\"text-left\">Data presented through: <span class=\"date_max_1\"></span>; Data as of: <span class=\"date_min_1\"></span></div><a href=\"https://data.cdc.gov/Public-Health-Surveillance/2023-Respiratory-Virus-Response-NSSP-Emergency-Dep/rdmq-nq56\">Dataset on data.cdc.gov</a> | <a href=\"https://data.cdc.gov/resource/tajw-whir.json\">Link to Dataset</a>",
|
|
587
|
+
"uid": "chart1701791122773"
|
|
588
|
+
},
|
|
589
|
+
"filtered-text1701791173259": {
|
|
590
|
+
"title": "COVID-19",
|
|
591
|
+
"type": "filtered-text",
|
|
592
|
+
"theme": "theme-blue",
|
|
593
|
+
"fontSize": "small",
|
|
594
|
+
"shadow": false,
|
|
595
|
+
"filters": [],
|
|
596
|
+
"visual": {
|
|
597
|
+
"hideBackgroundColor": false,
|
|
598
|
+
"background": false,
|
|
599
|
+
"roundedBorders": false,
|
|
600
|
+
"accent": false,
|
|
601
|
+
"border": false,
|
|
602
|
+
"borderColorTheme": false
|
|
603
|
+
},
|
|
604
|
+
"openModal": false,
|
|
605
|
+
"uid": "filtered-text1701791173259",
|
|
606
|
+
"visualizationType": "filtered-text",
|
|
607
|
+
"dataDescription": {
|
|
608
|
+
"horizontal": false,
|
|
609
|
+
"series": false
|
|
610
|
+
},
|
|
611
|
+
"dataKey": "resp-data.json",
|
|
612
|
+
"editing": false,
|
|
613
|
+
"validated": 4.23,
|
|
614
|
+
"textColumn": "ed_trends_covid"
|
|
615
|
+
},
|
|
616
|
+
"filtered-text1701791674571": {
|
|
617
|
+
"title": "Influenza Change",
|
|
618
|
+
"type": "filtered-text",
|
|
619
|
+
"theme": "theme-blue",
|
|
620
|
+
"fontSize": "small",
|
|
621
|
+
"shadow": false,
|
|
622
|
+
"filters": [],
|
|
623
|
+
"visual": {
|
|
624
|
+
"hideBackgroundColor": false,
|
|
625
|
+
"background": false,
|
|
626
|
+
"roundedBorders": false,
|
|
627
|
+
"accent": false,
|
|
628
|
+
"border": false,
|
|
629
|
+
"borderColorTheme": false
|
|
630
|
+
},
|
|
631
|
+
"openModal": false,
|
|
632
|
+
"uid": "filtered-text1701791674571",
|
|
633
|
+
"visualizationType": "filtered-text",
|
|
634
|
+
"dataKey": "resp-data.json",
|
|
635
|
+
"dataDescription": {
|
|
636
|
+
"horizontal": false,
|
|
637
|
+
"series": false
|
|
638
|
+
},
|
|
639
|
+
"editing": false,
|
|
640
|
+
"validated": 4.23,
|
|
641
|
+
"textColumn": "ed_trends_influenza"
|
|
642
|
+
},
|
|
643
|
+
"filtered-text1701791683990": {
|
|
644
|
+
"title": "RSV Change",
|
|
645
|
+
"type": "filtered-text",
|
|
646
|
+
"theme": "theme-blue",
|
|
647
|
+
"fontSize": "small",
|
|
648
|
+
"shadow": false,
|
|
649
|
+
"filters": [],
|
|
650
|
+
"visual": {
|
|
651
|
+
"hideBackgroundColor": false,
|
|
652
|
+
"background": false,
|
|
653
|
+
"roundedBorders": false,
|
|
654
|
+
"accent": false,
|
|
655
|
+
"border": false,
|
|
656
|
+
"borderColorTheme": false
|
|
657
|
+
},
|
|
658
|
+
"openModal": false,
|
|
659
|
+
"uid": "filtered-text1701791683990",
|
|
660
|
+
"visualizationType": "filtered-text",
|
|
661
|
+
"dataKey": "resp-data.json",
|
|
662
|
+
"dataDescription": {
|
|
663
|
+
"horizontal": false,
|
|
664
|
+
"series": false
|
|
665
|
+
},
|
|
666
|
+
"editing": false,
|
|
667
|
+
"validated": 4.23,
|
|
668
|
+
"textColumn": "ed_trends_rsv"
|
|
669
|
+
},
|
|
670
|
+
"filter-dropdowns1701792379133": {
|
|
671
|
+
"newViz": true,
|
|
672
|
+
"openModal": false,
|
|
673
|
+
"uid": "filter-dropdowns1701792379133",
|
|
674
|
+
"type": "filter-dropdowns",
|
|
675
|
+
"visualizationType": "filter-dropdowns"
|
|
676
|
+
},
|
|
677
|
+
"filtered-text1701888972205": {
|
|
678
|
+
"title": "Health Service Area",
|
|
679
|
+
"type": "filtered-text",
|
|
680
|
+
"theme": "theme-blue",
|
|
681
|
+
"fontSize": "small",
|
|
682
|
+
"shadow": false,
|
|
683
|
+
"filters": [],
|
|
684
|
+
"visual": {
|
|
685
|
+
"hideBackgroundColor": false,
|
|
686
|
+
"background": false,
|
|
687
|
+
"roundedBorders": false,
|
|
688
|
+
"accent": false,
|
|
689
|
+
"border": false,
|
|
690
|
+
"borderColorTheme": false
|
|
691
|
+
},
|
|
692
|
+
"openModal": false,
|
|
693
|
+
"uid": "filtered-text1701888972205",
|
|
694
|
+
"visualizationType": "filtered-text",
|
|
695
|
+
"dataKey": "resp-data.json",
|
|
696
|
+
"dataDescription": {
|
|
697
|
+
"horizontal": false,
|
|
698
|
+
"series": false
|
|
699
|
+
},
|
|
700
|
+
"editing": false,
|
|
701
|
+
"validated": 4.23,
|
|
702
|
+
"textColumn": "hsa"
|
|
703
|
+
},
|
|
704
|
+
"filtered-text1701888980655": {
|
|
705
|
+
"title": "Counties Represented",
|
|
706
|
+
"type": "filtered-text",
|
|
707
|
+
"theme": "theme-blue",
|
|
708
|
+
"fontSize": "small",
|
|
709
|
+
"shadow": false,
|
|
710
|
+
"filters": [],
|
|
711
|
+
"visual": {
|
|
712
|
+
"hideBackgroundColor": false,
|
|
713
|
+
"background": false,
|
|
714
|
+
"roundedBorders": false,
|
|
715
|
+
"accent": false,
|
|
716
|
+
"border": false,
|
|
717
|
+
"borderColorTheme": false
|
|
718
|
+
},
|
|
719
|
+
"openModal": false,
|
|
720
|
+
"uid": "filtered-text1701888980655",
|
|
721
|
+
"visualizationType": "filtered-text",
|
|
722
|
+
"dataKey": "resp-data.json",
|
|
723
|
+
"dataDescription": {
|
|
724
|
+
"horizontal": false,
|
|
725
|
+
"series": false
|
|
726
|
+
},
|
|
727
|
+
"editing": false,
|
|
728
|
+
"validated": 4.23,
|
|
729
|
+
"textColumn": "hsa_counties"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"table": {
|
|
733
|
+
"label": "Data Table",
|
|
734
|
+
"show": false,
|
|
735
|
+
"showDownloadUrl": false,
|
|
736
|
+
"showVertical": true
|
|
737
|
+
},
|
|
738
|
+
"datasets": {
|
|
739
|
+
"resp-data.json": {
|
|
740
|
+
"dataFileSize": 1159724,
|
|
741
|
+
"dataFileName": "resp-data.json",
|
|
742
|
+
"dataFileSourceType": "file",
|
|
743
|
+
"dataFileFormat": "JSON",
|
|
744
|
+
"preview": true,
|
|
745
|
+
"dataUrl": "https://data.cdc.gov/resource/tajw-whir.json?geography=United%20States&$select=date_extract_y(week_end)||%22/%22||date_extract_m(week_end)||%22/%22||date_extract_d(week_end)%20as%20week_end_display,geography,county,percent_visits_combined,percent_visits_covid,percent_visits_influenza,percent_visits_rsv,hsa,hsa_counties&$order=county,week_end%20ASC&$limit=50000",
|
|
746
|
+
"runtimeDataUrl": "https://data.cdc.gov/resource/tajw-whir.json?geography=United%20States&$select=date_extract_y(week_end)||%22/%22||date_extract_m(week_end)||%22/%22||date_extract_d(week_end)%20as%20week_end_display,geography,county,percent_visits_combined,percent_visits_covid,percent_visits_influenza,percent_visits_rsv,hsa,hsa_counties&$order=county,week_end%20ASC&$limit=50000"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
"type": "dashboard",
|
|
750
|
+
"uuid": 1701888964970,
|
|
751
|
+
"runtime": {}
|
|
752
|
+
}
|