@cdc/dashboard 4.24.5 → 4.24.7

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.
Files changed (70) hide show
  1. package/dist/cdcdashboard.js +122872 -112065
  2. package/examples/custom/css/respiratory.css +236 -0
  3. package/examples/custom/js/respiratory.js +242 -0
  4. package/examples/default-multi-dataset-shared-filter.json +1729 -0
  5. package/examples/ed-visits-county-file.json +618 -0
  6. package/examples/filtered-dash.json +6 -21
  7. package/index.html +10 -1
  8. package/package.json +12 -11
  9. package/src/CdcDashboard.tsx +5 -1
  10. package/src/CdcDashboardComponent.tsx +165 -306
  11. package/src/DashboardContext.tsx +9 -1
  12. package/src/_stories/Dashboard.stories.tsx +38 -34
  13. package/src/_stories/_mock/api-filter-chart.json +11 -35
  14. package/src/_stories/_mock/api-filter-map.json +17 -31
  15. package/src/_stories/_mock/multi-viz.json +2 -3
  16. package/src/_stories/_mock/pivot-filter.json +14 -12
  17. package/src/components/CollapsibleVisualizationRow.tsx +44 -0
  18. package/src/components/Column.tsx +1 -1
  19. package/src/components/DashboardFilters/DashboardFilters.tsx +80 -0
  20. package/src/components/DashboardFilters/DashboardFiltersEditor/DashboardFiltersEditor.tsx +218 -0
  21. package/src/components/DashboardFilters/DashboardFiltersEditor/components/DeleteFilterModal.tsx +48 -0
  22. package/src/components/DashboardFilters/DashboardFiltersEditor/components/FilterEditor.tsx +367 -0
  23. package/src/components/DashboardFilters/DashboardFiltersEditor/index.ts +1 -0
  24. package/src/components/DashboardFilters/DashboardFiltersWrapper.tsx +143 -0
  25. package/src/components/DashboardFilters/index.ts +3 -0
  26. package/src/components/DataDesignerModal.tsx +9 -9
  27. package/src/components/ExpandCollapseButtons.tsx +20 -0
  28. package/src/components/Header/Header.tsx +1 -97
  29. package/src/components/MultiConfigTabs/MultiConfigTabs.tsx +4 -4
  30. package/src/components/Row.tsx +52 -19
  31. package/src/components/Toggle/Toggle.tsx +2 -4
  32. package/src/components/VisualizationRow.tsx +82 -24
  33. package/src/components/VisualizationsPanel/VisualizationsPanel.tsx +116 -0
  34. package/src/components/VisualizationsPanel/index.ts +1 -0
  35. package/src/components/VisualizationsPanel/visualizations-panel-styles.css +12 -0
  36. package/src/components/Widget.tsx +26 -90
  37. package/src/helpers/apiFilterHelpers.ts +51 -0
  38. package/src/helpers/changeFilterActive.ts +30 -0
  39. package/src/helpers/filterData.ts +10 -48
  40. package/src/helpers/generateValuesForFilter.ts +1 -1
  41. package/src/helpers/getAutoLoadVisualization.ts +11 -0
  42. package/src/helpers/getFilteredData.ts +4 -2
  43. package/src/helpers/getVizConfig.ts +23 -2
  44. package/src/helpers/getVizRowColumnLocator.ts +2 -1
  45. package/src/helpers/hasDashboardApplyBehavior.ts +5 -0
  46. package/src/helpers/iconHash.tsx +3 -3
  47. package/src/helpers/mapDataToConfig.ts +29 -0
  48. package/src/helpers/processData.ts +2 -3
  49. package/src/helpers/reloadURLHelpers.ts +68 -0
  50. package/src/helpers/tests/filterData.test.ts +1 -93
  51. package/src/scss/editor-panel.scss +1 -1
  52. package/src/scss/grid.scss +34 -27
  53. package/src/scss/main.scss +41 -3
  54. package/src/scss/variables.scss +4 -0
  55. package/src/store/dashboard.actions.ts +12 -4
  56. package/src/store/dashboard.reducer.ts +30 -4
  57. package/src/types/APIFilter.ts +1 -5
  58. package/src/types/ConfigRow.ts +2 -0
  59. package/src/types/Dashboard.ts +1 -1
  60. package/src/types/DashboardConfig.ts +2 -4
  61. package/src/types/DashboardFilters.ts +7 -0
  62. package/src/types/InitialState.ts +1 -1
  63. package/src/types/MultiDashboard.ts +2 -2
  64. package/src/types/SharedFilter.ts +2 -5
  65. package/src/types/Tab.ts +1 -1
  66. package/LICENSE +0 -201
  67. package/src/components/Filters.tsx +0 -88
  68. package/src/components/Header/FilterModal.tsx +0 -510
  69. package/src/components/VisualizationsPanel.tsx +0 -95
  70. package/src/helpers/getApiFilterKey.ts +0 -5
@@ -0,0 +1,618 @@
1
+ {
2
+ "dashboard": {
3
+ "theme": "theme-blue",
4
+ "sharedFilters": [
5
+ {
6
+ "key": "State",
7
+ "type": "urlfilter",
8
+ "columnName": "geography",
9
+ "showDropdown": true,
10
+ "usedBy": ["chart1701791122773", "filtered-text1701791173259", "filtered-text1701791674571", "filtered-text1701791683990"],
11
+ "values": [
12
+ "United States",
13
+ "Alabama",
14
+ "Alaska",
15
+ "Arizona",
16
+ "Arkansas",
17
+ "California",
18
+ "Colorado",
19
+ "Commonwealth of the Northern Mariana Islands",
20
+ "Connecticut",
21
+ "Delaware",
22
+ "District of Columbia",
23
+ "Florida",
24
+ "Georgia",
25
+ "Hawaii",
26
+ "Idaho",
27
+ "Illinois",
28
+ "Indiana",
29
+ "Iowa",
30
+ "Kansas",
31
+ "Kentucky",
32
+ "Louisiana",
33
+ "Maine",
34
+ "Maryland",
35
+ "Massachusetts",
36
+ "Michigan",
37
+ "Minnesota",
38
+ "Mississippi",
39
+ "Missouri",
40
+ "Montana",
41
+ "Nebraska",
42
+ "Nevada",
43
+ "New Hampshire",
44
+ "New Jersey",
45
+ "New Mexico",
46
+ "New York",
47
+ "New York City",
48
+ "North Carolina",
49
+ "North Dakota",
50
+ "Ohio",
51
+ "Oklahoma",
52
+ "Oregon",
53
+ "Pennsylvania",
54
+ "Puerto Rico",
55
+ "Rhode Island",
56
+ "South Carolina",
57
+ "South Dakota",
58
+ "Tennessee",
59
+ "Texas",
60
+ "Utah",
61
+ "Vermont",
62
+ "Virgin Islands",
63
+ "Virginia",
64
+ "Washington",
65
+ "West Virginia",
66
+ "Wisconsin",
67
+ "Wyoming"
68
+ ],
69
+ "active": "United States",
70
+ "tier": 1,
71
+ "datasetKey": "resp-data.json",
72
+ "filterBy": "File Name",
73
+ "fileName": "NSSPSubState${query}",
74
+ "apiFilter": {
75
+ "apiEndpoint": "https://www.cdc.gov/wcms/vizdata/Respitory_Viruses/NSSP%20Subsets/NSSPGeographyReference.json",
76
+ "valueSelector": "geography",
77
+ "textSelector": "geography",
78
+ "defaultValue": "United States",
79
+ "autoLoad": true
80
+ },
81
+ "whitespaceReplacement": "Remove Spaces"
82
+ },
83
+ {
84
+ "key": "County",
85
+ "type": "datafilter",
86
+ "columnName": "county",
87
+ "showDropdown": true,
88
+ "usedBy": ["chart1701791122773", "filtered-text1701791173259", "filtered-text1701791674571", "filtered-text1701791683990", "filter-dropdowns1701792379133", "filtered-text1701888972205", "filtered-text1701888980655"],
89
+ "values": ["All"],
90
+ "active": "All",
91
+ "tier": 2,
92
+ "parents": ["State"]
93
+ }
94
+ ]
95
+ },
96
+ "rows": [
97
+ [
98
+ {
99
+ "width": 12,
100
+ "widget": "filter-dropdowns1701792379133"
101
+ },
102
+ {
103
+ "equalHeight": false
104
+ },
105
+ {},
106
+ {}
107
+ ],
108
+ [
109
+ {
110
+ "width": 6,
111
+ "widget": "filtered-text1701888972205"
112
+ },
113
+ {
114
+ "equalHeight": false,
115
+ "width": 6,
116
+ "widget": "filtered-text1701888980655"
117
+ },
118
+ {
119
+ "width": null
120
+ },
121
+ {
122
+ "width": null
123
+ }
124
+ ],
125
+ [
126
+ {
127
+ "width": 12,
128
+ "widget": "chart1701791122773"
129
+ },
130
+ {
131
+ "equalHeight": false
132
+ },
133
+ {},
134
+ {}
135
+ ],
136
+ [
137
+ {
138
+ "width": 4,
139
+ "widget": "filtered-text1701791173259"
140
+ },
141
+ {
142
+ "equalHeight": false,
143
+ "width": 4,
144
+ "widget": "filtered-text1701791674571"
145
+ },
146
+ {
147
+ "width": 4,
148
+ "widget": "filtered-text1701791683990"
149
+ },
150
+ {
151
+ "width": null
152
+ }
153
+ ]
154
+ ],
155
+ "visualizations": {
156
+ "chart1701791122773": {
157
+ "type": "chart",
158
+ "debugSvg": false,
159
+ "chartMessage": {
160
+ "noData": "No Data Available"
161
+ },
162
+ "title": "",
163
+ "showTitle": false,
164
+ "showDownloadMediaButton": false,
165
+ "theme": "theme-blue",
166
+ "animate": false,
167
+ "fontSize": "small",
168
+ "lineDatapointStyle": "hover",
169
+ "lineDatapointColor": "Same as Line",
170
+ "barHasBorder": "false",
171
+ "isLollipopChart": false,
172
+ "lollipopShape": "circle",
173
+ "lollipopColorStyle": "two-tone",
174
+ "visualizationSubType": "regular",
175
+ "barStyle": "",
176
+ "roundingStyle": "standard",
177
+ "tipRounding": "top",
178
+ "isResponsiveTicks": true,
179
+ "general": {
180
+ "showDownloadButton": false
181
+ },
182
+ "padding": {
183
+ "left": 5,
184
+ "right": 5
185
+ },
186
+ "suppressedData": [],
187
+ "yAxis": {
188
+ "hideAxis": false,
189
+ "displayNumbersOnBar": false,
190
+ "hideLabel": false,
191
+ "hideTicks": false,
192
+ "size": "55",
193
+ "gridLines": true,
194
+ "enablePadding": true,
195
+ "min": "",
196
+ "max": "",
197
+ "labelColor": "#333",
198
+ "tickLabelColor": "#333",
199
+ "tickColor": "#333",
200
+ "rightHideAxis": true,
201
+ "rightAxisSize": 0,
202
+ "rightLabel": "",
203
+ "rightLabelOffsetSize": 0,
204
+ "rightAxisLabelColor": "#333",
205
+ "rightAxisTickLabelColor": "#333",
206
+ "rightAxisTickColor": "#333",
207
+ "numTicks": "10",
208
+ "axisPadding": 0,
209
+ "tickRotation": 0,
210
+ "anchors": [],
211
+ "label": "Percent of Emergency Department Visits"
212
+ },
213
+ "boxplot": {
214
+ "plots": [],
215
+ "borders": "true",
216
+ "firstQuartilePercentage": 25,
217
+ "thirdQuartilePercentage": 75,
218
+ "boxWidthPercentage": 40,
219
+ "plotOutlierValues": false,
220
+ "plotNonOutlierValues": true,
221
+ "legend": {
222
+ "showHowToReadText": false,
223
+ "howToReadText": ""
224
+ },
225
+ "labels": {
226
+ "q1": "Lower Quartile",
227
+ "q2": "q2",
228
+ "q3": "Upper Quartile",
229
+ "q4": "q4",
230
+ "minimum": "Minimum",
231
+ "maximum": "Maximum",
232
+ "mean": "Mean",
233
+ "median": "Median",
234
+ "sd": "Standard Deviation",
235
+ "iqr": "Interquartile Range",
236
+ "total": "Total",
237
+ "outliers": "Outliers",
238
+ "values": "Values",
239
+ "lowerBounds": "Lower Bounds",
240
+ "upperBounds": "Upper Bounds"
241
+ }
242
+ },
243
+ "topAxis": {
244
+ "hasLine": false
245
+ },
246
+ "isLegendValue": false,
247
+ "barThickness": 0.35,
248
+ "barHeight": 25,
249
+ "barSpace": 15,
250
+ "heights": {
251
+ "vertical": "350",
252
+ "horizontal": 750
253
+ },
254
+ "xAxis": {
255
+ "sortDates": false,
256
+ "anchors": [],
257
+ "type": "date",
258
+ "showTargetLabel": true,
259
+ "targetLabel": "Target",
260
+ "hideAxis": false,
261
+ "hideLabel": false,
262
+ "hideTicks": false,
263
+ "size": "95",
264
+ "tickRotation": 0,
265
+ "min": "",
266
+ "max": "",
267
+ "labelColor": "#333",
268
+ "tickLabelColor": "#333",
269
+ "tickColor": "#333",
270
+ "numTicks": "15",
271
+ "labelOffset": 65,
272
+ "axisPadding": 0,
273
+ "target": 0,
274
+ "maxTickRotation": "45",
275
+ "dataKey": "week_end",
276
+ "dateParseFormat": "%Y-%m-%d",
277
+ "dateDisplayFormat": "%m/%d/%Y",
278
+ "label": "Week Ending",
279
+ "tickWidthMax": 81
280
+ },
281
+ "table": {
282
+ "label": "Data Table",
283
+ "expanded": false,
284
+ "limitHeight": false,
285
+ "height": "",
286
+ "caption": "",
287
+ "showDownloadUrl": false,
288
+ "showDataTableLink": true,
289
+ "indexLabel": "Week Ending",
290
+ "download": false,
291
+ "showVertical": true,
292
+ "show": true
293
+ },
294
+ "orientation": "vertical",
295
+ "color": "pinkpurple",
296
+ "columns": {},
297
+ "legend": {
298
+ "hide": false,
299
+ "behavior": "isolate",
300
+ "singleRow": true,
301
+ "colorCode": "",
302
+ "reverseLabelOrder": false,
303
+ "description": "Select a virus to add or remove it from the graphic",
304
+ "dynamicLegend": false,
305
+ "dynamicLegendDefaultText": "Show All",
306
+ "dynamicLegendItemLimit": 5,
307
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
308
+ "dynamicLegendChartMessage": "Select Options from the Legend",
309
+ "lineMode": false,
310
+ "verticalSorted": false,
311
+ "highlightOnHover": false,
312
+ "position": "bottom"
313
+ },
314
+ "brush": {
315
+ "height": 25,
316
+ "active": false,
317
+ "pattern_id": "brush_pattern",
318
+ "accent_color": "#ddd"
319
+ },
320
+ "exclusions": {
321
+ "active": false,
322
+ "keys": [],
323
+ "dateEnd": "2023-12-16"
324
+ },
325
+ "palette": "qualitative-bold",
326
+ "isPaletteReversed": false,
327
+ "twoColor": {
328
+ "palette": "monochrome-1",
329
+ "isPaletteReversed": false
330
+ },
331
+ "labels": false,
332
+ "dataFormat": {
333
+ "commas": false,
334
+ "prefix": "",
335
+ "suffix": "%",
336
+ "abbreviated": true,
337
+ "bottomSuffix": "",
338
+ "bottomPrefix": "",
339
+ "bottomAbbreviated": false,
340
+ "roundTo": "1"
341
+ },
342
+ "confidenceKeys": {},
343
+ "visual": {
344
+ "border": true,
345
+ "accent": true,
346
+ "background": true,
347
+ "verticalHoverLine": true,
348
+ "horizontalHoverLine": false
349
+ },
350
+ "useLogScale": false,
351
+ "filterBehavior": "Filter Change",
352
+ "highlightedBarValues": [],
353
+ "series": [
354
+ {
355
+ "dataKey": "percent_visits_combined",
356
+ "name": "Combined",
357
+ "type": "Line",
358
+ "axis": "Left",
359
+ "tooltip": true
360
+ },
361
+ {
362
+ "dataKey": "percent_visits_covid",
363
+ "name": "COVID-19",
364
+ "type": "Line",
365
+ "axis": "Left",
366
+ "tooltip": true
367
+ },
368
+ {
369
+ "dataKey": "percent_visits_influenza",
370
+ "name": "Influenza",
371
+ "type": "Line",
372
+ "axis": "Left",
373
+ "tooltip": true
374
+ },
375
+ {
376
+ "dataKey": "percent_visits_rsv",
377
+ "name": "RSV",
378
+ "type": "Line",
379
+ "axis": "Left",
380
+ "tooltip": true
381
+ }
382
+ ],
383
+ "tooltips": {
384
+ "opacity": 90,
385
+ "singleSeries": false
386
+ },
387
+ "forestPlot": {
388
+ "startAt": 0,
389
+ "colors": {
390
+ "line": "",
391
+ "shape": ""
392
+ },
393
+ "lineOfNoEffect": {
394
+ "show": true
395
+ },
396
+ "type": "",
397
+ "pooledResult": {
398
+ "diamondHeight": 5,
399
+ "column": ""
400
+ },
401
+ "estimateField": "",
402
+ "estimateRadius": "",
403
+ "shape": "",
404
+ "rowHeight": 20,
405
+ "description": {
406
+ "show": true,
407
+ "text": "description",
408
+ "location": 0
409
+ },
410
+ "result": {
411
+ "show": true,
412
+ "text": "result",
413
+ "location": 100
414
+ },
415
+ "radius": {
416
+ "min": 1,
417
+ "max": 8,
418
+ "scalingColumn": ""
419
+ },
420
+ "regression": {
421
+ "lower": 0,
422
+ "upper": 0,
423
+ "estimateField": 0
424
+ },
425
+ "leftWidthOffset": 0,
426
+ "rightWidthOffset": 0,
427
+ "showZeroLine": false,
428
+ "hideDateCategoryCol": false,
429
+ "leftLabel": "",
430
+ "rightLabel": "",
431
+ "width": "auto",
432
+ "lowerCiField": "",
433
+ "upperCiField": ""
434
+ },
435
+ "area": {
436
+ "isStacked": false
437
+ },
438
+ "showChartBrush": false,
439
+ "datasets": {},
440
+ "visualizationType": "Line",
441
+ "dataKey": "resp-data.json",
442
+ "customColors": ["#000000", "#f06f19", "#0a58d6", "#890664", "#89bf13", "#94036f", "#87b6f9", "#867a77", "#000000"],
443
+ "dataFileName": "https://www.cdc.gov/wcms/vizdata/Respitory_Viruses/EmergencyDepartmentVisitCombined.json",
444
+ "dataFileSourceType": "url",
445
+ "validated": 4.23,
446
+ "dynamicMarginTop": 0,
447
+ "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://www.cdc.gov/wcms/vizdata/Respitory_Viruses/NSSPSubState.json\">Link to Dataset</a>",
448
+ "uid": "chart1701791122773",
449
+ "dataDescription": {
450
+ "horizontal": false,
451
+ "series": false
452
+ },
453
+ "editing": false
454
+ },
455
+ "filtered-text1701791173259": {
456
+ "title": "COVID-19",
457
+ "type": "filtered-text",
458
+ "theme": "theme-blue",
459
+ "fontSize": "small",
460
+ "shadow": false,
461
+ "filters": [],
462
+ "visual": {
463
+ "hideBackgroundColor": false,
464
+ "background": false,
465
+ "roundedBorders": false,
466
+ "accent": false,
467
+ "border": false,
468
+ "borderColorTheme": false
469
+ },
470
+ "openModal": false,
471
+ "uid": "filtered-text1701791173259",
472
+ "visualizationType": "filtered-text",
473
+ "dataDescription": {
474
+ "horizontal": false,
475
+ "series": false
476
+ },
477
+ "dataKey": "resp-data.json",
478
+ "editing": false,
479
+ "validated": 4.23,
480
+ "textColumn": "ed_trends_covid"
481
+ },
482
+ "filtered-text1701791674571": {
483
+ "title": "Influenza Change",
484
+ "type": "filtered-text",
485
+ "theme": "theme-blue",
486
+ "fontSize": "small",
487
+ "shadow": false,
488
+ "filters": [],
489
+ "visual": {
490
+ "hideBackgroundColor": false,
491
+ "background": false,
492
+ "roundedBorders": false,
493
+ "accent": false,
494
+ "border": false,
495
+ "borderColorTheme": false
496
+ },
497
+ "openModal": false,
498
+ "uid": "filtered-text1701791674571",
499
+ "visualizationType": "filtered-text",
500
+ "dataKey": "resp-data.json",
501
+ "dataDescription": {
502
+ "horizontal": false,
503
+ "series": false
504
+ },
505
+ "editing": false,
506
+ "validated": 4.23,
507
+ "textColumn": "ed_trends_influenza"
508
+ },
509
+ "filtered-text1701791683990": {
510
+ "title": "RSV Change",
511
+ "type": "filtered-text",
512
+ "theme": "theme-blue",
513
+ "fontSize": "small",
514
+ "shadow": false,
515
+ "filters": [],
516
+ "visual": {
517
+ "hideBackgroundColor": false,
518
+ "background": false,
519
+ "roundedBorders": false,
520
+ "accent": false,
521
+ "border": false,
522
+ "borderColorTheme": false
523
+ },
524
+ "openModal": false,
525
+ "uid": "filtered-text1701791683990",
526
+ "visualizationType": "filtered-text",
527
+ "dataKey": "resp-data.json",
528
+ "dataDescription": {
529
+ "horizontal": false,
530
+ "series": false
531
+ },
532
+ "editing": false,
533
+ "validated": 4.23,
534
+ "textColumn": "ed_trends_rsv"
535
+ },
536
+ "filter-dropdowns1701792379133": {
537
+ "newViz": true,
538
+ "openModal": false,
539
+ "uid": "filter-dropdowns1701792379133",
540
+ "type": "filter-dropdowns",
541
+ "visualizationType": "filter-dropdowns"
542
+ },
543
+ "filtered-text1701888972205": {
544
+ "title": "",
545
+ "type": "filtered-text",
546
+ "theme": "theme-blue",
547
+ "fontSize": "medium",
548
+ "shadow": false,
549
+ "filters": [],
550
+ "visual": {
551
+ "hideBackgroundColor": false,
552
+ "background": false,
553
+ "roundedBorders": false,
554
+ "accent": false,
555
+ "border": false,
556
+ "borderColorTheme": false
557
+ },
558
+ "openModal": false,
559
+ "uid": "filtered-text1701888972205",
560
+ "visualizationType": "filtered-text",
561
+ "dataKey": "resp-data.json",
562
+ "dataDescription": {
563
+ "horizontal": false,
564
+ "series": false
565
+ },
566
+ "editing": false,
567
+ "validated": 4.23,
568
+ "textColumn": "county_state"
569
+ },
570
+ "filtered-text1701888980655": {
571
+ "title": "Counties included in this area",
572
+ "type": "filtered-text",
573
+ "theme": "theme-blue",
574
+ "fontSize": "small",
575
+ "shadow": false,
576
+ "filters": [],
577
+ "visual": {
578
+ "hideBackgroundColor": false,
579
+ "background": false,
580
+ "roundedBorders": false,
581
+ "accent": false,
582
+ "border": false,
583
+ "borderColorTheme": false
584
+ },
585
+ "openModal": false,
586
+ "uid": "filtered-text1701888980655",
587
+ "visualizationType": "filtered-text",
588
+ "dataKey": "resp-data.json",
589
+ "dataDescription": {
590
+ "horizontal": false,
591
+ "series": false
592
+ },
593
+ "editing": false,
594
+ "validated": 4.23,
595
+ "textColumn": "hsa_counties"
596
+ }
597
+ },
598
+ "table": {
599
+ "label": "Data Table",
600
+ "show": false,
601
+ "showDownloadUrl": false,
602
+ "showVertical": true
603
+ },
604
+ "datasets": {
605
+ "resp-data.json": {
606
+ "dataFileSize": 1159724,
607
+ "dataFileName": "resp-data.json",
608
+ "dataFileSourceType": "file",
609
+ "dataFileFormat": "JSON",
610
+ "preview": true,
611
+ "dataUrl": "https://www.cdc.gov/wcms/vizdata/Respitory_Viruses/NSSP%20Subsets/NSSPSubStateUnitedStates.json",
612
+ "runtimeDataUrl": "https://www.cdc.gov/wcms/vizdata/Respitory_Viruses/NSSP%20Subsets/NSSPSubStateUnitedStates.json"
613
+ }
614
+ },
615
+ "type": "dashboard",
616
+ "uuid": 1701888964970,
617
+ "runtime": {}
618
+ }
@@ -8,15 +8,9 @@
8
8
  "columnName": "Year",
9
9
  "showDropdown": true,
10
10
  "setBy": "chart1699383531543",
11
- "usedBy": [
12
- "map1699383540561"
13
- ],
11
+ "usedBy": ["map1699383540561"],
14
12
  "resetLabel": "Reset",
15
- "values": [
16
- "2019",
17
- "2020",
18
- "2021"
19
- ],
13
+ "values": ["2019", "2020", "2021"],
20
14
  "active": "2021",
21
15
  "tier": 1
22
16
  }
@@ -359,11 +353,7 @@
359
353
  "order": "asc"
360
354
  },
361
355
  {
362
- "values": [
363
- "Federal",
364
- "Local",
365
- "State"
366
- ],
356
+ "values": ["Federal", "Local", "State"],
367
357
  "active": "Federal",
368
358
  "filterStyle": "dropdown",
369
359
  "columnName": "Type",
@@ -3614,10 +3604,7 @@
3614
3604
  "showBubbleZeros": false
3615
3605
  },
3616
3606
  "mapPosition": {
3617
- "coordinates": [
3618
- 0,
3619
- 30
3620
- ],
3607
+ "coordinates": [0, 30],
3621
3608
  "zoom": 1
3622
3609
  },
3623
3610
  "map": {
@@ -9921,9 +9908,7 @@
9921
9908
  ]
9922
9909
  },
9923
9910
  "runtime": {
9924
- "editorErrorMessage": [
9925
- "No data"
9926
- ]
9911
+ "editorErrorMessage": ["No data"]
9927
9912
  }
9928
9913
  },
9929
9914
  "table": {
@@ -13078,4 +13063,4 @@
13078
13063
  "type": "dashboard",
13079
13064
  "uuid": 1699383537668,
13080
13065
  "filterBehavior": "Filter Change"
13081
- }
13066
+ }