@cdc/dashboard 4.25.11 → 4.26.1

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 (51) hide show
  1. package/Dynamic_Data.md +66 -0
  2. package/dist/cdcdashboard.js +78783 -76370
  3. package/examples/api-dashboard-data.json +272 -0
  4. package/examples/api-dashboard-years.json +11 -0
  5. package/examples/api-geographies-data.json +11 -0
  6. package/examples/private/cat-y.json +1235 -0
  7. package/examples/private/chronic-dash.json +1584 -0
  8. package/examples/private/map-issue.json +2260 -0
  9. package/examples/private/mpinc-state-reports.json +2260 -0
  10. package/examples/private/nwss/rsv.json +1240 -0
  11. package/examples/private/simple-dash.json +490 -0
  12. package/examples/private/test-dash.json +0 -0
  13. package/examples/private/test123.json +491 -0
  14. package/examples/test-dashboard-simple.json +503 -0
  15. package/index.html +24 -25
  16. package/package.json +12 -11
  17. package/src/CdcDashboardComponent.tsx +18 -2
  18. package/src/_stories/Dashboard.DataSetup.stories.tsx +203 -0
  19. package/src/_stories/Dashboard.stories.tsx +385 -1
  20. package/src/_stories/_mock/filter-cascade.json +3350 -0
  21. package/src/_stories/_mock/gallery-data-bite-dashboard.json +3500 -0
  22. package/src/_stories/_mock/nested-parent-child-filters.json +392 -0
  23. package/src/_stories/_mock/parent-child-filters.json +233 -0
  24. package/src/components/DashboardFilters/DashboardFilters.tsx +20 -11
  25. package/src/components/DashboardFilters/DashboardFiltersEditor/DashboardFiltersEditor.tsx +89 -38
  26. package/src/components/DashboardFilters/DashboardFiltersEditor/components/FilterEditor.tsx +51 -29
  27. package/src/components/DashboardFilters/DashboardFiltersEditor/components/NestedDropDownDashboard.tsx +146 -9
  28. package/src/components/DashboardFilters/DashboardFiltersWrapper.tsx +11 -7
  29. package/src/components/DataDesignerModal.tsx +6 -1
  30. package/src/components/Header/Header.tsx +51 -20
  31. package/src/components/VisualizationRow.tsx +71 -5
  32. package/src/components/VisualizationsPanel/VisualizationsPanel.tsx +2 -3
  33. package/src/components/Widget/Widget.tsx +1 -1
  34. package/src/data/initial-state.js +1 -0
  35. package/src/helpers/addValuesToDashboardFilters.ts +15 -22
  36. package/src/helpers/changeFilterActive.ts +67 -65
  37. package/src/helpers/formatConfigBeforeSave.ts +6 -5
  38. package/src/helpers/getUpdateConfig.ts +91 -91
  39. package/src/helpers/tests/updatesChildFilters.test.ts +53 -22
  40. package/src/helpers/updateChildFilters.ts +50 -27
  41. package/src/scss/main.scss +141 -1
  42. package/src/test/CdcDashboard.test.jsx +9 -4
  43. package/src/types/Dashboard.ts +1 -0
  44. package/src/types/FilterStyles.ts +8 -7
  45. package/src/types/SharedFilter.ts +13 -0
  46. package/LICENSE +0 -201
  47. package/examples/private/DEV-10538.json +0 -407
  48. package/examples/private/DEV-11072.json +0 -7591
  49. package/examples/private/DEV-11405.json +0 -39112
  50. package/examples/private/delete.json +0 -32919
  51. package/examples/private/pedro.json +0 -1
@@ -0,0 +1,1240 @@
1
+ {
2
+ "dashboard": {
3
+ "theme": "theme-blue",
4
+ "sharedFilters": [
5
+ {
6
+ "key": "State/Territory",
7
+ "showDropdown": true,
8
+ "values": [
9
+ "Alabama",
10
+ "Alaska",
11
+ "Arizona",
12
+ "Arkansas",
13
+ "California",
14
+ "Colorado",
15
+ "Connecticut",
16
+ "Delaware",
17
+ "District of Columbia",
18
+ "Florida",
19
+ "Georgia",
20
+ "Guam",
21
+ "Hawaii",
22
+ "Idaho",
23
+ "Illinois",
24
+ "Indiana",
25
+ "Iowa",
26
+ "Kansas",
27
+ "Kentucky",
28
+ "Louisiana",
29
+ "Maine",
30
+ "Maryland",
31
+ "Massachusetts",
32
+ "Michigan",
33
+ "Minnesota",
34
+ "Mississippi",
35
+ "Missouri",
36
+ "Montana",
37
+ "Nebraska",
38
+ "Nevada",
39
+ "New Hampshire",
40
+ "New Jersey",
41
+ "New Mexico",
42
+ "New York",
43
+ "North Carolina",
44
+ "Ohio",
45
+ "Oklahoma",
46
+ "Oregon",
47
+ "Pennsylvania",
48
+ "Rhode Island",
49
+ "South Carolina",
50
+ "South Dakota",
51
+ "Tennessee",
52
+ "Texas",
53
+ "Utah",
54
+ "Vermont",
55
+ "Virginia",
56
+ "Washington",
57
+ "West Virginia",
58
+ "Wisconsin",
59
+ "Wyoming"
60
+ ],
61
+ "type": "datafilter",
62
+ "columnName": "State/Territory",
63
+ "usedBy": [
64
+ "filtered-text1725990345292",
65
+ "map1725990753126",
66
+ "chart1725990756764",
67
+ "markup-include1725990642755",
68
+ "markup-include1727870166348",
69
+ "markup-include1725990525668"
70
+ ],
71
+ "tier": 1,
72
+ "setByQueryParameter": "stateval",
73
+ "orderedValues": [
74
+ "Alabama",
75
+ "Alaska",
76
+ "Arizona",
77
+ "Arkansas",
78
+ "California",
79
+ "Colorado",
80
+ "Connecticut",
81
+ "Delaware",
82
+ "District of Columbia",
83
+ "Florida",
84
+ "Georgia",
85
+ "Guam",
86
+ "Hawaii",
87
+ "Idaho",
88
+ "Illinois",
89
+ "Indiana",
90
+ "Iowa",
91
+ "Kansas",
92
+ "Kentucky",
93
+ "Louisiana",
94
+ "Maine",
95
+ "Maryland",
96
+ "Massachusetts",
97
+ "Michigan",
98
+ "Minnesota",
99
+ "Mississippi",
100
+ "Missouri",
101
+ "Montana",
102
+ "Nebraska",
103
+ "Nevada",
104
+ "New Hampshire",
105
+ "New Jersey",
106
+ "New Mexico",
107
+ "New York",
108
+ "North Carolina",
109
+ "Ohio",
110
+ "Oklahoma",
111
+ "Oregon",
112
+ "Pennsylvania",
113
+ "Rhode Island",
114
+ "South Carolina",
115
+ "South Dakota",
116
+ "Tennessee",
117
+ "Texas",
118
+ "Utah",
119
+ "Vermont",
120
+ "Virginia",
121
+ "Washington",
122
+ "West Virginia",
123
+ "Wisconsin",
124
+ "Wyoming"
125
+ ]
126
+ }
127
+ ]
128
+ },
129
+ "rows": [
130
+ {
131
+ "columns": [
132
+ {
133
+ "width": 12,
134
+ "widget": "dashboardFilters1725988768535"
135
+ },
136
+ {},
137
+ {}
138
+ ]
139
+ },
140
+ {
141
+ "columns": [
142
+ {
143
+ "width": 12,
144
+ "widget": "filtered-text1725990345292"
145
+ }
146
+ ],
147
+ "uuid": 1728564728122
148
+ },
149
+ {
150
+ "columns": [
151
+ {
152
+ "width": 12,
153
+ "widget": "markup-include1725990524011"
154
+ }
155
+ ],
156
+ "uuid": 1728564729779
157
+ },
158
+ {
159
+ "columns": [
160
+ {
161
+ "width": 12,
162
+ "widget": "markup-include1725990642755"
163
+ }
164
+ ],
165
+ "uuid": 1728564734193
166
+ },
167
+ {
168
+ "columns": [
169
+ {
170
+ "width": 4,
171
+ "widget": "markup-include1727870166348"
172
+ },
173
+ {
174
+ "width": 8,
175
+ "widget": "map1725990753126"
176
+ }
177
+ ],
178
+ "uuid": 1728564585760
179
+ },
180
+ {
181
+ "columns": [
182
+ {
183
+ "width": 12,
184
+ "widget": "markup-include1725990525668"
185
+ }
186
+ ],
187
+ "uuid": 1728564585760
188
+ },
189
+ {
190
+ "columns": [
191
+ {
192
+ "width": 12,
193
+ "widget": "chart1725990756764"
194
+ }
195
+ ]
196
+ }
197
+ ],
198
+ "visualizations": {
199
+ "dashboardFilters1725988768535": {
200
+ "filters": [],
201
+ "filterBehavior": "Filter Change",
202
+ "newViz": true,
203
+ "openModal": true,
204
+ "uid": "dashboardFilters1725988768535",
205
+ "type": "dashboardFilters",
206
+ "sharedFilterIndexes": [
207
+ 0
208
+ ],
209
+ "visualizationType": "dashboardFilters"
210
+ },
211
+ "filtered-text1725990345292": {
212
+ "title": "",
213
+ "type": "filtered-text",
214
+ "theme": "theme-blue",
215
+ "fontSize": "small",
216
+ "shadow": false,
217
+ "filters": [],
218
+ "visual": {
219
+ "hideBackgroundColor": false,
220
+ "background": false,
221
+ "roundedBorders": false,
222
+ "accent": false,
223
+ "border": false,
224
+ "borderColorTheme": false
225
+ },
226
+ "filterBehavior": "Filter Change",
227
+ "openModal": true,
228
+ "uid": "filtered-text1725990345292",
229
+ "visualizationType": "filtered-text",
230
+ "dataDescription": {
231
+ "horizontal": false,
232
+ "series": false
233
+ },
234
+ "dataKey": "All State/Territory Wastewater Viral Activity Levels",
235
+ "version": "4.24.9",
236
+ "textColumn": "Note"
237
+ },
238
+ "markup-include1725990524011": {
239
+ "filters": [],
240
+ "filterBehavior": "Filter Change",
241
+ "openModal": false,
242
+ "uid": "markup-include1725990524011",
243
+ "type": "markup-include",
244
+ "contentEditor": {
245
+ "inlineHTML": "<h3>Current Site Levels</h3>This map shows current wastewater viral activity levels of influenza A at individual wastewater treatment plants or sampling locations reporting in the last week. A site may serve multiple counties, including those in another state.",
246
+ "showHeader": true,
247
+ "srcUrl": "#example",
248
+ "title": "",
249
+ "useInlineHTML": true
250
+ },
251
+ "theme": "theme-blue",
252
+ "visual": {
253
+ "border": false,
254
+ "accent": false,
255
+ "background": false,
256
+ "hideBackgroundColor": false,
257
+ "borderColorTheme": false
258
+ },
259
+ "showEditorPanel": true,
260
+ "visualizationType": "markup-include",
261
+ "dataDescription": {
262
+ "horizontal": false,
263
+ "series": false
264
+ },
265
+ "dataKey": "All State/Territory Wastewater Viral Activity Levels",
266
+ "version": "4.24.10",
267
+ "markupVariables": []
268
+ },
269
+ "markup-include1725990525668": {
270
+ "filters": [],
271
+ "filterBehavior": "Filter Change",
272
+ "openModal": false,
273
+ "uid": "markup-include1725990525668",
274
+ "type": "markup-include",
275
+ "contentEditor": {
276
+ "inlineHTML": "<h3>Trends over Time</h3>This chart shows trends of influenza A viral activity levels in wastewater. For comparison, you can also see national and regional trends.",
277
+ "showHeader": true,
278
+ "srcUrl": "#example",
279
+ "title": "",
280
+ "useInlineHTML": true
281
+ },
282
+ "theme": "theme-blue",
283
+ "visual": {
284
+ "border": false,
285
+ "accent": false,
286
+ "background": false,
287
+ "hideBackgroundColor": false,
288
+ "borderColorTheme": false
289
+ },
290
+ "showEditorPanel": true,
291
+ "visualizationType": "markup-include",
292
+ "dataDescription": {
293
+ "horizontal": false,
294
+ "series": false
295
+ },
296
+ "dataKey": "All State/Territory Wastewater Viral Activity Levels",
297
+ "version": "4.25.7",
298
+ "migrations": {
299
+ "addColorMigration": true
300
+ },
301
+ "markupVariables": []
302
+ },
303
+ "markup-include1725990642755": {
304
+ "filters": [],
305
+ "filterBehavior": "Filter Change",
306
+ "openModal": false,
307
+ "uid": "markup-include1725990642755",
308
+ "type": "markup-include",
309
+ "contentEditor": {
310
+ "inlineHTML": "<h5 class=\"fs1\">Time Period: {{time}}</h5>",
311
+ "showHeader": true,
312
+ "srcUrl": "#example",
313
+ "title": "",
314
+ "useInlineHTML": true
315
+ },
316
+ "theme": "theme-blue",
317
+ "visual": {
318
+ "border": false,
319
+ "accent": false,
320
+ "background": false,
321
+ "hideBackgroundColor": false,
322
+ "borderColorTheme": false
323
+ },
324
+ "showEditorPanel": true,
325
+ "visualizationType": "markup-include",
326
+ "dataDescription": {
327
+ "horizontal": false,
328
+ "series": false
329
+ },
330
+ "dataKey": "Current Site Levels",
331
+ "version": "4.24.10",
332
+ "markupVariables": [
333
+ {
334
+ "columnName": "Reporting_Week",
335
+ "conditions": [],
336
+ "name": "time",
337
+ "tag": "{{time}}"
338
+ }
339
+ ],
340
+ "enableMarkupVariables": true
341
+ },
342
+ "map1725990753126": {
343
+ "annotations": [],
344
+ "general": {
345
+ "geoType": "single-state",
346
+ "annotationDropdownText": "Annotations",
347
+ "geoBorderColor": "darkGray",
348
+ "headerColor": "theme-blue",
349
+ "title": "",
350
+ "showTitle": true,
351
+ "showSidebar": true,
352
+ "showDownloadMediaButton": false,
353
+ "displayAsHex": false,
354
+ "displayStateLabels": false,
355
+ "territoriesAlwaysShow": false,
356
+ "language": "en",
357
+ "geoLabelOverride": "Sewershed",
358
+ "hasRegions": false,
359
+ "fullBorder": false,
360
+ "type": "data",
361
+ "convertFipsCodes": true,
362
+ "palette": {
363
+ "isReversed": false,
364
+ "name": "sequential_pink_purple",
365
+ "customColors": [
366
+ "#34547B",
367
+ "#34547B",
368
+ "#4B7F9B",
369
+ "#6bb0bd",
370
+ "#9fdad0",
371
+ "#c8efda",
372
+ "#B4B4B4",
373
+ "#B4B4B4",
374
+ "#B4B4B4",
375
+ "#c8efda",
376
+ "#c8efda",
377
+ "#C8EFDA",
378
+ "#C8EFDA"
379
+ ],
380
+ "version": "1.0"
381
+ },
382
+ "allowMapZoom": true,
383
+ "hideGeoColumnInTooltip": true,
384
+ "hidePrimaryColumnInTooltip": false,
385
+ "expandDataTable": false,
386
+ "subtext": "<div class=\"text-left ml-3 pb-3\"> </div>",
387
+ "navigationTarget": "_self",
388
+ "statesPicked": [
389
+ {
390
+ "fipsCode": "01",
391
+ "stateName": "Alabama"
392
+ }
393
+ ],
394
+ "filterControlsStatesPicked": "State/Territory"
395
+ },
396
+ "type": "map",
397
+ "columns": {
398
+ "geo": {
399
+ "name": "Sewershed_ID",
400
+ "label": "Location",
401
+ "tooltip": false,
402
+ "dataTable": true
403
+ },
404
+ "primary": {
405
+ "dataTable": true,
406
+ "tooltip": true,
407
+ "prefix": "",
408
+ "suffix": "",
409
+ "name": "WVAL_Category",
410
+ "label": "Viral Activity Level",
411
+ "roundToPlace": 0
412
+ },
413
+ "navigate": {
414
+ "name": ""
415
+ },
416
+ "latitude": {
417
+ "name": "latitude"
418
+ },
419
+ "longitude": {
420
+ "name": "longitude"
421
+ },
422
+ "additionalColumn1": {
423
+ "label": "Counties Served",
424
+ "dataTable": true,
425
+ "tooltips": false,
426
+ "prefix": "",
427
+ "suffix": "",
428
+ "name": "Counties_Served",
429
+ "tooltip": true
430
+ },
431
+ "additionalColumn2": {
432
+ "label": "Population Served",
433
+ "dataTable": true,
434
+ "tooltips": false,
435
+ "prefix": "",
436
+ "suffix": "",
437
+ "name": "Population_Served",
438
+ "useCommas": true,
439
+ "tooltip": true
440
+ },
441
+ "additionalColumn3": {
442
+ "label": "First Sample Collected",
443
+ "dataTable": true,
444
+ "tooltips": false,
445
+ "prefix": "",
446
+ "suffix": "",
447
+ "name": "date_included_in_wval",
448
+ "tooltip": true
449
+ }
450
+ },
451
+ "legend": {
452
+ "descriptions": {},
453
+ "specialClasses": [],
454
+ "unified": false,
455
+ "singleColumn": false,
456
+ "singleRow": true,
457
+ "verticalSorted": false,
458
+ "showSpecialClassesLast": false,
459
+ "dynamicDescription": false,
460
+ "type": "category",
461
+ "numberOfItems": 3,
462
+ "position": "bottom",
463
+ "title": "Current Site Levels",
464
+ "categoryValuesOrder": [
465
+ "Very High",
466
+ "High",
467
+ "Moderate",
468
+ "Low",
469
+ "Very Low",
470
+ "No Data",
471
+ "Minimal"
472
+ ],
473
+ "additionalCategories": [
474
+ "Very High",
475
+ "High",
476
+ "Moderate",
477
+ "Low",
478
+ "Very Low",
479
+ "No Data",
480
+ ""
481
+ ],
482
+ "style": "circles",
483
+ "subStyle": "linear blocks",
484
+ "tickRotation": "",
485
+ "singleColumnLegend": false,
486
+ "hideBorder": false,
487
+ "description": "Select a level to add or remove from map."
488
+ },
489
+ "filters": [],
490
+ "table": {
491
+ "wrapColumns": false,
492
+ "label": "Data Table",
493
+ "expanded": false,
494
+ "limitHeight": false,
495
+ "height": "",
496
+ "caption": "",
497
+ "showDownloadUrl": false,
498
+ "showDataTableLink": false,
499
+ "showFullGeoNameInCSV": false,
500
+ "forceDisplay": false,
501
+ "download": true,
502
+ "indexLabel": "",
503
+ "showDownloadLinkBelow": true
504
+ },
505
+ "tooltips": {
506
+ "appearanceType": "hover",
507
+ "linkLabel": "Learn More",
508
+ "capitalizeLabels": true,
509
+ "opacity": 90
510
+ },
511
+ "visual": {
512
+ "minBubbleSize": 1,
513
+ "maxBubbleSize": 20,
514
+ "extraBubbleBorder": false,
515
+ "cityStyle": "circle",
516
+ "cityStyleLabel": "",
517
+ "showBubbleZeros": false,
518
+ "additionalCityStyles": [],
519
+ "geoCodeCircleSize": "2"
520
+ },
521
+ "mapPosition": {
522
+ "coordinates": [
523
+ 0,
524
+ 0
525
+ ],
526
+ "zoom": 1
527
+ },
528
+ "map": {
529
+ "layers": [],
530
+ "patterns": []
531
+ },
532
+ "hexMap": {
533
+ "type": "",
534
+ "shapeGroups": [
535
+ {
536
+ "legendTitle": "",
537
+ "legendDescription": "",
538
+ "items": [
539
+ {
540
+ "key": "",
541
+ "shape": "Arrow Up",
542
+ "column": "",
543
+ "operator": "=",
544
+ "value": ""
545
+ }
546
+ ]
547
+ }
548
+ ]
549
+ },
550
+ "filterBehavior": "Filter Change",
551
+ "filterIntro": "",
552
+ "openModal": true,
553
+ "uid": "map1725990753126",
554
+ "dataDescription": {
555
+ "horizontal": false,
556
+ "series": false
557
+ },
558
+ "dataKey": "Current Site Levels",
559
+ "version": "4.25.1",
560
+ "migrations": {
561
+ "addColorMigration": true
562
+ }
563
+ },
564
+ "chart1725990756764": {
565
+ "annotations": [],
566
+ "type": "chart",
567
+ "debugSvg": false,
568
+ "chartMessage": {
569
+ "noData": "No Data Available"
570
+ },
571
+ "title": "",
572
+ "showTitle": false,
573
+ "showDownloadMediaButton": false,
574
+ "theme": "theme-blue",
575
+ "animate": false,
576
+ "lineDatapointStyle": "hover",
577
+ "lineDatapointColor": "Same as Line",
578
+ "barHasBorder": "false",
579
+ "isLollipopChart": false,
580
+ "lollipopShape": "circle",
581
+ "lollipopColorStyle": "two-tone",
582
+ "visualizationSubType": "regular",
583
+ "barStyle": "flat",
584
+ "roundingStyle": "standard",
585
+ "tipRounding": "top",
586
+ "isResponsiveTicks": false,
587
+ "general": {
588
+ "annotationDropdownText": "Annotations",
589
+ "showMissingDataLabel": true,
590
+ "showSuppressedSymbol": true,
591
+ "showZeroValueData": true,
592
+ "hideNullValue": true,
593
+ "palette": {
594
+ "name": "qualitative_bold",
595
+ "customColors": [
596
+ "#F7A866",
597
+ "#000000",
598
+ "#844774",
599
+ "#7EB0C4",
600
+ "#0A6C75",
601
+ "#C0F2FD",
602
+ "#C0F2FD",
603
+ "#C0F2FD",
604
+ "#C0F2FD"
605
+ ],
606
+ "version": "1.0"
607
+ },
608
+ "showZeroValueDataLabel": true
609
+ },
610
+ "padding": {
611
+ "left": 5,
612
+ "right": 5
613
+ },
614
+ "preliminaryData": [
615
+ {
616
+ "type": "effect",
617
+ "label": "<5% Population",
618
+ "column": "Coverage",
619
+ "value": "Limited Coverage",
620
+ "style": "Open Circles",
621
+ "displayTooltip": true,
622
+ "displayLegend": true,
623
+ "displayTable": true,
624
+ "symbol": "",
625
+ "iconCode": "",
626
+ "lineCode": "◯",
627
+ "hideBarSymbol": false,
628
+ "hideLineStyle": false,
629
+ "circleSize": "4",
630
+ "displayGray": true,
631
+ "seriesKeys": [
632
+ "State/Territory_WVAL"
633
+ ]
634
+ }
635
+ ],
636
+ "yAxis": {
637
+ "hideAxis": false,
638
+ "displayNumbersOnBar": false,
639
+ "hideLabel": false,
640
+ "hideTicks": false,
641
+ "size": "100",
642
+ "gridLines": true,
643
+ "enablePadding": false,
644
+ "min": "0",
645
+ "max": "22",
646
+ "labelColor": "#1c1d1f",
647
+ "tickLabelColor": "#1c1d1f",
648
+ "tickColor": "#1c1d1f",
649
+ "rightHideAxis": true,
650
+ "rightAxisSize": 0,
651
+ "rightLabel": "",
652
+ "rightLabelOffsetSize": 0,
653
+ "rightAxisLabelColor": "#1c1d1f",
654
+ "rightAxisTickLabelColor": "#1c1d1f",
655
+ "rightAxisTickColor": "#1c1d1f",
656
+ "numTicks": "",
657
+ "axisPadding": 0,
658
+ "scalePadding": 10,
659
+ "tickRotation": 0,
660
+ "anchors": [],
661
+ "shoMissingDataLabel": true,
662
+ "showMissingDataLine": true,
663
+ "categories": [
664
+ {
665
+ "label": "Very Low",
666
+ "height": "2.7",
667
+ "color": "#C8EFDA"
668
+ },
669
+ {
670
+ "label": "Low",
671
+ "height": "3.5",
672
+ "color": "#9FDAD0"
673
+ },
674
+ {
675
+ "label": "Moderate",
676
+ "height": "5",
677
+ "color": "#6BB0BD"
678
+ },
679
+ {
680
+ "label": "High",
681
+ "height": "6.4",
682
+ "color": "#4B7F9B"
683
+ },
684
+ {
685
+ "label": "Very High",
686
+ "height": "",
687
+ "color": "#34547B"
688
+ }
689
+ ],
690
+ "maxValue": 122.67228099246782,
691
+ "type": "categorical"
692
+ },
693
+ "boxplot": {
694
+ "plots": [],
695
+ "borders": "true",
696
+ "plotOutlierValues": false,
697
+ "plotNonOutlierValues": true,
698
+ "labels": {
699
+ "q1": "Lower Quartile",
700
+ "q2": "q2",
701
+ "q3": "Upper Quartile",
702
+ "q4": "q4",
703
+ "minimum": "Minimum",
704
+ "maximum": "Maximum",
705
+ "mean": "Mean",
706
+ "median": "Median",
707
+ "sd": "Standard Deviation",
708
+ "iqr": "Interquartile Range",
709
+ "total": "Total",
710
+ "outliers": "Outliers",
711
+ "values": "Values",
712
+ "lowerBounds": "Lower Bounds",
713
+ "upperBounds": "Upper Bounds",
714
+ "count": "Count"
715
+ },
716
+ "firstQuartilePercentage": 25,
717
+ "thirdQuartilePercentage": 75,
718
+ "boxWidthPercentage": 40,
719
+ "legend": {
720
+ "showHowToReadText": false,
721
+ "howToReadText": ""
722
+ }
723
+ },
724
+ "topAxis": {
725
+ "hasLine": false
726
+ },
727
+ "isLegendValue": false,
728
+ "barThickness": 0.35,
729
+ "barHeight": 25,
730
+ "barSpace": 15,
731
+ "heights": {
732
+ "vertical": "275",
733
+ "horizontal": 750
734
+ },
735
+ "xAxis": {
736
+ "sortDates": false,
737
+ "anchors": [],
738
+ "type": "date",
739
+ "showTargetLabel": true,
740
+ "targetLabel": "Target",
741
+ "hideAxis": false,
742
+ "hideLabel": false,
743
+ "hideTicks": false,
744
+ "size": "50",
745
+ "tickRotation": "45",
746
+ "min": "",
747
+ "max": "",
748
+ "labelColor": "#1c1d1f",
749
+ "tickLabelColor": "#1c1d1f",
750
+ "tickColor": "#1c1d1f",
751
+ "numTicks": "",
752
+ "labelOffset": 0,
753
+ "axisPadding": 200,
754
+ "target": 0,
755
+ "maxTickRotation": 0,
756
+ "padding": 6,
757
+ "showYearsOnce": false,
758
+ "sortByRecentDate": false,
759
+ "brushActive": false,
760
+ "dataKey": "Week_Ending_Date",
761
+ "dateParseFormat": "%Y-%m-%d",
762
+ "tickWidthMax": 67,
763
+ "dateDisplayFormat": "%m/%d/%y",
764
+ "axisBBox": 103.25208282470703,
765
+ "label": "Week Ending"
766
+ },
767
+ "table": {
768
+ "label": "Data Table",
769
+ "expanded": false,
770
+ "limitHeight": false,
771
+ "height": "",
772
+ "caption": "",
773
+ "showDownloadUrl": false,
774
+ "showDataTableLink": false,
775
+ "showDownloadLinkBelow": true,
776
+ "indexLabel": "",
777
+ "download": true,
778
+ "showVertical": true,
779
+ "dateDisplayFormat": "%m/%d/%y",
780
+ "showMissingDataLabel": true,
781
+ "showSuppressedSymbol": true,
782
+ "collapsible": true,
783
+ "show": false,
784
+ "sharedFilterColumns": [
785
+ "State/Territory"
786
+ ]
787
+ },
788
+ "orientation": "vertical",
789
+ "color": "qualitative-bold",
790
+ "columns": {
791
+ "WVAL_Category": {
792
+ "label": "State WVAL Category",
793
+ "dataTable": false,
794
+ "tooltips": true,
795
+ "prefix": "",
796
+ "suffix": "",
797
+ "forestPlot": false,
798
+ "startingPoint": "0",
799
+ "forestPlotAlignRight": false,
800
+ "roundToPlace": 0,
801
+ "commas": false,
802
+ "showInViz": false,
803
+ "forestPlotStartingPoint": 0,
804
+ "name": "WVAL_Category",
805
+ "series": "value"
806
+ }
807
+ },
808
+ "legend": {
809
+ "hide": false,
810
+ "behavior": "isolate",
811
+ "axisAlign": true,
812
+ "singleRow": true,
813
+ "colorCode": "",
814
+ "reverseLabelOrder": false,
815
+ "description": "",
816
+ "dynamicLegend": false,
817
+ "dynamicLegendDefaultText": "Show All",
818
+ "dynamicLegendItemLimit": 5,
819
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
820
+ "dynamicLegendChartMessage": "Select Options from the Legend",
821
+ "label": "",
822
+ "lineMode": false,
823
+ "verticalSorted": false,
824
+ "highlightOnHover": false,
825
+ "hideSuppressedLabels": false,
826
+ "hideSuppressionLink": false,
827
+ "seriesHighlight": [],
828
+ "style": "lines",
829
+ "subStyle": "linear blocks",
830
+ "groupBy": "",
831
+ "shape": "circle",
832
+ "tickRotation": "",
833
+ "order": "dataColumn",
834
+ "hideBorder": {
835
+ "side": false,
836
+ "topBottom": true
837
+ },
838
+ "position": "bottom",
839
+ "orderedValues": [],
840
+ "patterns": {},
841
+ "patternField": "",
842
+ "unified": true
843
+ },
844
+ "smallMultiples": {
845
+ "mode": "",
846
+ "tileColumn": "",
847
+ "tilesPerRowDesktop": 3,
848
+ "tilesPerRowMobile": 1,
849
+ "tileOrder": [],
850
+ "tileOrderType": "asc",
851
+ "tileTitles": {},
852
+ "independentYAxis": false,
853
+ "colorMode": "same",
854
+ "synchronizedTooltips": true,
855
+ "showAreaUnderLine": true
856
+ },
857
+ "exclusions": {
858
+ "active": false,
859
+ "keys": []
860
+ },
861
+ "twoColor": {
862
+ "palette": "monochrome-1",
863
+ "isPaletteReversed": false
864
+ },
865
+ "labels": false,
866
+ "dataFormat": {
867
+ "commas": false,
868
+ "prefix": "",
869
+ "suffix": "",
870
+ "abbreviated": false,
871
+ "bottomSuffix": "",
872
+ "bottomPrefix": "",
873
+ "bottomAbbreviated": false,
874
+ "roundTo": "2"
875
+ },
876
+ "filters": [
877
+ {
878
+ "filterStyle": "dropdown",
879
+ "columnName": "Data_Collection_Period",
880
+ "order": "asc",
881
+ "label": "Date Period"
882
+ }
883
+ ],
884
+ "confidenceKeys": {},
885
+ "visual": {
886
+ "border": true,
887
+ "accent": true,
888
+ "background": true,
889
+ "verticalHoverLine": false,
890
+ "horizontalHoverLine": false,
891
+ "lineDatapointSymbol": "none",
892
+ "maximumShapeAmount": 7
893
+ },
894
+ "useLogScale": false,
895
+ "filterBehavior": "Filter Change",
896
+ "highlightedBarValues": [],
897
+ "series": [
898
+ {
899
+ "dataKey": "State/Territory_WVAL",
900
+ "type": "Line",
901
+ "axis": "Left",
902
+ "tooltip": true,
903
+ "lineType": "curveMonotoneX",
904
+ "name": "State/Territory"
905
+ },
906
+ {
907
+ "dataKey": "National_WVAL",
908
+ "type": "Line",
909
+ "axis": "Left",
910
+ "tooltip": true,
911
+ "lineType": "curveMonotoneX",
912
+ "name": "National"
913
+ },
914
+ {
915
+ "dataKey": "Regional_WVAL",
916
+ "type": "Line",
917
+ "axis": "Left",
918
+ "tooltip": true,
919
+ "name": "Regional",
920
+ "lineType": "curveMonotoneX"
921
+ }
922
+ ],
923
+ "tooltips": {
924
+ "opacity": 90,
925
+ "singleSeries": false,
926
+ "dateDisplayFormat": ""
927
+ },
928
+ "forestPlot": {
929
+ "startAt": 0,
930
+ "colors": {
931
+ "line": "",
932
+ "shape": ""
933
+ },
934
+ "lineOfNoEffect": {
935
+ "show": true
936
+ },
937
+ "type": "",
938
+ "pooledResult": {
939
+ "diamondHeight": 5,
940
+ "column": ""
941
+ },
942
+ "estimateField": "",
943
+ "estimateRadius": "",
944
+ "shape": "square",
945
+ "rowHeight": 20,
946
+ "description": {
947
+ "show": true,
948
+ "text": "description",
949
+ "location": 0
950
+ },
951
+ "result": {
952
+ "show": true,
953
+ "text": "result",
954
+ "location": 100
955
+ },
956
+ "radius": {
957
+ "min": 2,
958
+ "max": 10,
959
+ "scalingColumn": ""
960
+ },
961
+ "regression": {
962
+ "lower": 0,
963
+ "upper": 0,
964
+ "estimateField": 0
965
+ },
966
+ "leftWidthOffset": 0,
967
+ "rightWidthOffset": 0,
968
+ "showZeroLine": false,
969
+ "leftLabel": "",
970
+ "rightLabel": ""
971
+ },
972
+ "area": {
973
+ "isStacked": false
974
+ },
975
+ "sankey": {
976
+ "title": {
977
+ "defaultColor": "black"
978
+ },
979
+ "iterations": 1,
980
+ "rxValue": 0.9,
981
+ "overallSize": {
982
+ "width": 900,
983
+ "height": 700
984
+ },
985
+ "margin": {
986
+ "margin_y": 25,
987
+ "margin_x": 0
988
+ },
989
+ "nodeSize": {
990
+ "nodeWidth": 26,
991
+ "nodeHeight": 40
992
+ },
993
+ "nodePadding": 55,
994
+ "nodeFontColor": "black",
995
+ "nodeColor": {
996
+ "default": "#ff8500",
997
+ "inactive": "#808080"
998
+ },
999
+ "linkColor": {
1000
+ "default": "#ffc900",
1001
+ "inactive": "#D3D3D3"
1002
+ },
1003
+ "opacity": {
1004
+ "nodeOpacityDefault": 1,
1005
+ "nodeOpacityInactive": 0.1,
1006
+ "LinkOpacityDefault": 1,
1007
+ "LinkOpacityInactive": 0.1
1008
+ },
1009
+ "storyNodeFontColor": "#006778",
1010
+ "storyNodeText": [],
1011
+ "nodeValueStyle": {
1012
+ "textBefore": "(",
1013
+ "textAfter": ")"
1014
+ },
1015
+ "data": []
1016
+ },
1017
+ "markupVariables": [],
1018
+ "enableMarkupVariables": false,
1019
+ "fontSize": "medium",
1020
+ "brush": {
1021
+ "height": 25,
1022
+ "active": false
1023
+ },
1024
+ "isPaletteReversed": false,
1025
+ "openModal": true,
1026
+ "uid": "chart1725990756764",
1027
+ "visualizationType": "Line",
1028
+ "dataDescription": {
1029
+ "horizontal": false,
1030
+ "series": false
1031
+ },
1032
+ "dataKey": "Trend Over Time",
1033
+ "version": "4.25.1",
1034
+ "dynamicMarginTop": 0,
1035
+ "regions": [
1036
+ {
1037
+ "background": "#777777",
1038
+ "fromType": "Previous Days",
1039
+ "from": "14",
1040
+ "toType": "Last Date"
1041
+ }
1042
+ ],
1043
+ "description": "<div class=\"text-left ml-3 pb-3\">Data from the most recent two weeks may be incomplete due to delays in data reporting. These data sets are subject to change and are indicated by the gray shading.</div>",
1044
+ "migrations": {
1045
+ "addColorMigration": true
1046
+ },
1047
+ "dashboardFilters": [
1048
+ {
1049
+ "columnName": "State/Territory",
1050
+ "active": "Alabama",
1051
+ "values": [
1052
+ "Alabama",
1053
+ "Alaska",
1054
+ "Arizona",
1055
+ "Arkansas",
1056
+ "California",
1057
+ "Colorado",
1058
+ "Connecticut",
1059
+ "Delaware",
1060
+ "District of Columbia",
1061
+ "Florida",
1062
+ "Georgia",
1063
+ "Guam",
1064
+ "Hawaii",
1065
+ "Idaho",
1066
+ "Illinois",
1067
+ "Indiana",
1068
+ "Iowa",
1069
+ "Kansas",
1070
+ "Kentucky",
1071
+ "Louisiana",
1072
+ "Maine",
1073
+ "Maryland",
1074
+ "Massachusetts",
1075
+ "Michigan",
1076
+ "Minnesota",
1077
+ "Mississippi",
1078
+ "Missouri",
1079
+ "Montana",
1080
+ "Nebraska",
1081
+ "Nevada",
1082
+ "New Hampshire",
1083
+ "New Jersey",
1084
+ "New Mexico",
1085
+ "New York",
1086
+ "North Carolina",
1087
+ "Ohio",
1088
+ "Oklahoma",
1089
+ "Oregon",
1090
+ "Pennsylvania",
1091
+ "Rhode Island",
1092
+ "South Carolina",
1093
+ "South Dakota",
1094
+ "Tennessee",
1095
+ "Texas",
1096
+ "Utah",
1097
+ "Vermont",
1098
+ "Virginia",
1099
+ "Washington",
1100
+ "West Virginia",
1101
+ "Wisconsin",
1102
+ "Wyoming"
1103
+ ]
1104
+ }
1105
+ ]
1106
+ },
1107
+ "markup-include1727870166348": {
1108
+ "filters": [],
1109
+ "filterBehavior": "Filter Change",
1110
+ "openModal": false,
1111
+ "uid": "markup-include1727870166348",
1112
+ "type": "markup-include",
1113
+ "contentEditor": {
1114
+ "inlineHTML": "<div class=\"divboxbite\">\n\n<p class=\"bite-text\">In <span class=\"level\">{{state}}</span>, the wastewater viral activity level for influenza A is currently <strong>\n<span class=\"level\">{{level}}</span>.\n</strong></p>\n<br/>\n<p class=\"bite-text\">\nSites reporting in the last week: {{week}}</br>\nSites reporting in the last 30 days: {{month}}</p>\n<br/>\n\n\n<div class=\"databite-graphic\">\n{{graphic}}\n</div>\n</div>",
1115
+ "showHeader": true,
1116
+ "srcUrl": "#example",
1117
+ "title": "",
1118
+ "useInlineHTML": true
1119
+ },
1120
+ "theme": "theme-blue",
1121
+ "visual": {
1122
+ "border": false,
1123
+ "accent": false,
1124
+ "background": false,
1125
+ "hideBackgroundColor": false,
1126
+ "borderColorTheme": false
1127
+ },
1128
+ "showEditorPanel": true,
1129
+ "visualizationType": "markup-include",
1130
+ "dataDescription": {
1131
+ "horizontal": false,
1132
+ "series": false
1133
+ },
1134
+ "dataKey": "All State/Territory Wastewater Viral Activity Levels",
1135
+ "version": "4.24.10",
1136
+ "markupVariables": [
1137
+ {
1138
+ "columnName": "graphic_url",
1139
+ "conditions": [],
1140
+ "name": "graphic",
1141
+ "tag": "{{graphic}}"
1142
+ },
1143
+ {
1144
+ "columnName": "State/Territory",
1145
+ "conditions": [],
1146
+ "name": "state",
1147
+ "tag": "{{state}}"
1148
+ },
1149
+ {
1150
+ "columnName": "WVAL_Category",
1151
+ "conditions": [],
1152
+ "name": "level",
1153
+ "tag": "{{level}}"
1154
+ },
1155
+ {
1156
+ "columnName": "Sites_Last_Week",
1157
+ "conditions": [],
1158
+ "name": "week",
1159
+ "tag": "{{week}}"
1160
+ },
1161
+ {
1162
+ "columnName": "Sites_Last_Month",
1163
+ "conditions": [],
1164
+ "name": "month",
1165
+ "tag": "{{month}}"
1166
+ }
1167
+ ],
1168
+ "enableMarkupVariables": true
1169
+ }
1170
+ },
1171
+ "table": {
1172
+ "label": "Data Table",
1173
+ "show": true,
1174
+ "showDownloadUrl": false,
1175
+ "showVertical": true,
1176
+ "download": false,
1177
+ "limitHeight": true,
1178
+ "height": "500"
1179
+ },
1180
+ "type": "dashboard",
1181
+ "version": "4.25.11",
1182
+ "uuid": 1728564607911,
1183
+ "migrations": {
1184
+ "addColorMigration": true
1185
+ },
1186
+ "general": {
1187
+ "palette": {
1188
+ "version": "1.0",
1189
+ "backups": [
1190
+ {
1191
+ "version": "1.0"
1192
+ },
1193
+ {
1194
+ "version": "1.0"
1195
+ },
1196
+ {
1197
+ "version": "1.0"
1198
+ },
1199
+ {
1200
+ "version": "1.0"
1201
+ },
1202
+ {
1203
+ "version": "1.0"
1204
+ },
1205
+ {
1206
+ "version": "1.0"
1207
+ },
1208
+ {
1209
+ "version": "1.0"
1210
+ }
1211
+ ]
1212
+ }
1213
+ },
1214
+ "datasets": {
1215
+ "Current Site Levels": {
1216
+ "dataFileSize": 85353,
1217
+ "dataFileName": "/wcms/vizdata/NCEZID_DIDRI/FluA/nwssfluasitemap.json",
1218
+ "dataFileSourceType": "url",
1219
+ "dataFileFormat": "JSON",
1220
+ "preview": true,
1221
+ "dataUrl": "https://www.cdc.gov/wcms/vizdata/NCEZID_DIDRI/FluA/nwssfluasitemap.json"
1222
+ },
1223
+ "Trend Over Time": {
1224
+ "dataFileSize": 4281555,
1225
+ "dataFileName": "/wcms/vizdata/NCEZID_DIDRI/FluA/nwssfluastateactivitylevel.json",
1226
+ "dataFileSourceType": "url",
1227
+ "dataFileFormat": "JSON",
1228
+ "preview": false,
1229
+ "dataUrl": "https://www.cdc.gov/wcms/vizdata/NCEZID_DIDRI/FluA/nwssfluastateactivitylevel.json"
1230
+ },
1231
+ "All State/Territory Wastewater Viral Activity Levels": {
1232
+ "dataFileSize": 25927,
1233
+ "dataFileName": "/wcms/vizdata/NCEZID_DIDRI/FluA/nwssfluastatedatabites.json",
1234
+ "dataFileSourceType": "url",
1235
+ "dataFileFormat": "JSON",
1236
+ "preview": false,
1237
+ "dataUrl": "https://www.cdc.gov/wcms/vizdata/NCEZID_DIDRI/FluA/nwssfluastatedatabites.json"
1238
+ }
1239
+ }
1240
+ }