@cdc/chart 4.25.10 → 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 (135) hide show
  1. package/dist/{cdcchart-1a1724a1.es.js → cdcchart-dgT_1dIT.es.js} +136 -151
  2. package/dist/cdcchart.js +44003 -43518
  3. package/examples/feature/__data__/planet-example-data.json +1 -1
  4. package/examples/feature/boxplot/valid-boxplot.csv +38 -17
  5. package/examples/feature/pie/planet-pie-example-config.json +48 -2
  6. package/examples/private/DEV-11825.json +573 -0
  7. package/examples/private/DEV-12100.json +1303 -0
  8. package/examples/private/cat-y.json +1235 -0
  9. package/examples/private/data-points.json +228 -0
  10. package/examples/private/height.json +3915 -0
  11. package/examples/private/links.json +569 -0
  12. package/examples/private/na.json +913 -0
  13. package/examples/private/quadrant.txt +30 -0
  14. package/examples/private/test-data.csv +28 -0
  15. package/examples/private/test-forecast.json +5510 -0
  16. package/examples/private/warming-stripe-test.json +2578 -0
  17. package/examples/private/warming-stripes.json +4763 -0
  18. package/examples/tech-adoption-with-links.json +560 -0
  19. package/index.html +16 -140
  20. package/package.json +6 -5
  21. package/preview.html +1616 -0
  22. package/src/CdcChart.tsx +8 -11
  23. package/src/CdcChartComponent.tsx +329 -124
  24. package/src/_stories/Chart.Combo.stories.tsx +18 -0
  25. package/src/_stories/Chart.Forecast.stories.tsx +36 -0
  26. package/src/_stories/Chart.HTMLInDataTable.stories.tsx +520 -0
  27. package/src/_stories/Chart.Patterns.stories.tsx +2 -1
  28. package/src/_stories/Chart.PreserveDecimals.stories.tsx +220 -0
  29. package/src/_stories/Chart.Regions.Categorical.stories.tsx +148 -0
  30. package/src/_stories/Chart.Regions.DateScale.stories.tsx +197 -0
  31. package/src/_stories/Chart.Regions.DateTimeScale.stories.tsx +297 -0
  32. package/src/_stories/Chart.SmallMultiples.stories.tsx +47 -0
  33. package/src/_stories/Chart.stories.tsx +8 -0
  34. package/src/_stories/ChartAnnotation.stories.tsx +6 -3
  35. package/src/_stories/ChartBar.Editor.stories.tsx +3585 -0
  36. package/src/_stories/ChartBrush.Editor.stories.tsx +295 -0
  37. package/src/_stories/ChartBrush.stories.tsx +50 -0
  38. package/src/_stories/ChartEditor.Editor.stories.tsx +656 -0
  39. package/src/_stories/ChartEditor.stories.tsx +1 -2
  40. package/src/_stories/TechAdoptionWithLinks.stories.tsx +27 -0
  41. package/src/_stories/_mock/brush_enabled.json +326 -0
  42. package/src/_stories/_mock/brush_mock.json +2 -69
  43. package/src/_stories/_mock/combo.json +451 -0
  44. package/src/_stories/_mock/editor-test-configs.json +376 -0
  45. package/src/_stories/_mock/editor-test-datasets.json +477 -0
  46. package/src/_stories/_mock/editor-tests/bar-chart-editor-test.json +255 -0
  47. package/src/_stories/_mock/editor-tests/bar-chart-general-test.json +267 -0
  48. package/src/_stories/_mock/editor-tests/bar-chart-test.json +237 -0
  49. package/src/_stories/_mock/forecast_combo_with_gaps.json +913 -0
  50. package/src/_stories/_mock/horizontal-bars-dynamic-y-axis.json +413 -0
  51. package/src/_stories/_mock/pie_config.json +257 -62
  52. package/src/_stories/_mock/small_multiples/small_multiples_bars.json +1944 -0
  53. package/src/_stories/_mock/small_multiples/small_multiples_big_data_bars.json +1114 -0
  54. package/src/_stories/_mock/small_multiples/small_multiples_lines.json +2646 -0
  55. package/src/_stories/_mock/small_multiples/small_multiples_lines_colors.json +1305 -0
  56. package/src/_stories/_mock/small_multiples/small_multiples_stacked_bars.json +1936 -0
  57. package/src/components/Annotations/components/findNearestDatum.ts +6 -41
  58. package/src/components/AreaChart/components/AreaChart.Stacked.jsx +10 -7
  59. package/src/components/AreaChart/index.tsx +1 -2
  60. package/src/components/Axis/Categorical.Axis.tsx +6 -7
  61. package/src/components/BarChart/components/BarChart.Horizontal.tsx +181 -27
  62. package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +3 -1
  63. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +1 -0
  64. package/src/components/BarChart/components/BarChart.Vertical.tsx +8 -9
  65. package/src/components/BarChart/components/context.tsx +1 -0
  66. package/src/components/BarChart/helpers/useBarChart.ts +14 -2
  67. package/src/components/BoxPlot/helpers/index.ts +3 -3
  68. package/src/components/Brush/BrushSelector.tsx +1258 -0
  69. package/src/components/Brush/MiniChartPreview.tsx +283 -0
  70. package/src/components/DeviationBar.jsx +9 -7
  71. package/src/components/EditorPanel/EditorPanel.tsx +2720 -2586
  72. package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +96 -111
  73. package/src/components/EditorPanel/components/Panels/Panel.ForestPlotSettings.tsx +56 -34
  74. package/src/components/EditorPanel/components/Panels/Panel.General.tsx +76 -31
  75. package/src/components/EditorPanel/components/Panels/Panel.PatternSettings.tsx +104 -55
  76. package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +54 -49
  77. package/src/components/EditorPanel/components/Panels/Panel.SmallMultiples.tsx +427 -0
  78. package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +96 -48
  79. package/src/components/EditorPanel/components/Panels/index.tsx +3 -1
  80. package/src/components/EditorPanel/editor-panel.scss +0 -20
  81. package/src/components/EditorPanel/useEditorPermissions.ts +36 -31
  82. package/src/components/Forecasting/Forecasting.tsx +139 -21
  83. package/src/components/Legend/Legend.Component.tsx +16 -9
  84. package/src/components/Legend/Legend.tsx +3 -2
  85. package/src/components/Legend/helpers/createFormatLabels.tsx +325 -176
  86. package/src/components/Legend/helpers/getLegendClasses.ts +0 -1
  87. package/src/components/Legend/helpers/index.ts +10 -6
  88. package/src/components/LineChart/LineChartProps.ts +0 -3
  89. package/src/components/LineChart/helpers.ts +1 -1
  90. package/src/components/LineChart/index.tsx +36 -13
  91. package/src/components/LinearChart.tsx +559 -499
  92. package/src/components/PairedBarChart.jsx +20 -3
  93. package/src/components/Regions/components/Regions.tsx +366 -144
  94. package/src/components/Sankey/types/index.ts +1 -1
  95. package/src/components/ScatterPlot/ScatterPlot.jsx +2 -2
  96. package/src/components/SmallMultiples/SmallMultipleTile.tsx +202 -0
  97. package/src/components/SmallMultiples/SmallMultiples.css +32 -0
  98. package/src/components/SmallMultiples/SmallMultiples.tsx +271 -0
  99. package/src/components/SmallMultiples/index.ts +2 -0
  100. package/src/components/WarmingStripes/WarmingStripes.tsx +160 -0
  101. package/src/components/WarmingStripes/WarmingStripesGradientLegend.css +35 -0
  102. package/src/components/WarmingStripes/WarmingStripesGradientLegend.tsx +104 -0
  103. package/src/components/WarmingStripes/index.tsx +3 -0
  104. package/src/data/initial-state.js +16 -2
  105. package/src/helpers/buildForecastPaletteOptions.ts +0 -38
  106. package/src/helpers/calculateHorizontalBarCategoryLabelWidth.ts +57 -0
  107. package/src/helpers/getColorScale.ts +10 -0
  108. package/src/{hooks/useMinMax.ts → helpers/getMinMax.ts} +26 -14
  109. package/src/helpers/getYAxisAutoPadding.ts +53 -0
  110. package/src/helpers/sizeHelpers.ts +0 -20
  111. package/src/helpers/smallMultiplesHelpers.ts +529 -0
  112. package/src/hooks/useChartHoverAnalytics.tsx +10 -9
  113. package/src/hooks/useProgrammaticTooltip.ts +96 -0
  114. package/src/hooks/useScales.ts +98 -34
  115. package/src/hooks/useSmallMultipleSynchronization.ts +59 -0
  116. package/src/hooks/useTooltip.tsx +91 -25
  117. package/src/scss/DataTable.scss +0 -4
  118. package/src/scss/main.scss +18 -83
  119. package/src/store/chart.actions.ts +2 -0
  120. package/src/store/chart.reducer.ts +4 -0
  121. package/src/test/CdcChart.test.jsx +1 -1
  122. package/src/types/ChartConfig.ts +27 -6
  123. package/src/types/ChartContext.ts +3 -0
  124. package/src/types/Label.ts +1 -0
  125. package/src/utils/analyticsTracking.ts +19 -0
  126. package/LICENSE +0 -201
  127. package/src/_stories/_mock/pie_data.json +0 -218
  128. package/src/components/AreaChart/components/AreaChart.jsx +0 -109
  129. package/src/components/Brush/BrushChart.tsx +0 -128
  130. package/src/components/Brush/BrushController.tsx +0 -71
  131. package/src/components/Brush/types.tsx +0 -8
  132. package/src/components/BrushChart.tsx +0 -223
  133. package/src/helpers/sort.ts +0 -7
  134. package/src/hooks/useActiveElement.js +0 -19
  135. package/src/hooks/useChartClasses.js +0 -41
@@ -0,0 +1,913 @@
1
+ {
2
+ "annotations": [],
3
+ "allowLineToBarGraph": "__​undefined__",
4
+ "type": "chart",
5
+ "debugSvg": false,
6
+ "chartMessage": {
7
+ "noData": "No Data Available"
8
+ },
9
+ "title": "Figure 1: National Ensemble Forecasts",
10
+ "showTitle": true,
11
+ "showDownloadMediaButton": false,
12
+ "theme": "theme-blue",
13
+ "animate": false,
14
+ "lineDatapointStyle": "always show",
15
+ "lineDatapointColor": "Lighter than Line",
16
+ "barHasBorder": "true",
17
+ "isLollipopChart": false,
18
+ "lollipopShape": "circle",
19
+ "lollipopColorStyle": "two-tone",
20
+ "visualizationSubType": "regular",
21
+ "barStyle": "",
22
+ "roundingStyle": "standard",
23
+ "tipRounding": "top",
24
+ "isResponsiveTicks": false,
25
+ "general": {
26
+ "annotationDropdownText": "Annotations",
27
+ "showMissingDataLabel": true,
28
+ "showSuppressedSymbol": true,
29
+ "showZeroValueData": true,
30
+ "hideNullValue": true,
31
+ "palette": {
32
+ "name": "qualitative1reverse",
33
+ "customColors": [
34
+ "#000000",
35
+ "#006166"
36
+ ],
37
+ "version": "1.0",
38
+ "backups": [
39
+ {
40
+ "name": "qualitative1reverse",
41
+ "version": "1.0",
42
+ "isReversed": "__​undefined__"
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ "padding": {
48
+ "left": 5,
49
+ "right": 5
50
+ },
51
+ "preliminaryData": [],
52
+ "yAxis": {
53
+ "hideAxis": false,
54
+ "displayNumbersOnBar": false,
55
+ "hideLabel": false,
56
+ "hideTicks": false,
57
+ "size": "85",
58
+ "gridLines": true,
59
+ "enablePadding": false,
60
+ "min": "",
61
+ "max": "70000",
62
+ "labelColor": "#1c1d1f",
63
+ "tickLabelColor": "#1c1d1f",
64
+ "tickColor": "#1c1d1f",
65
+ "rightHideAxis": false,
66
+ "rightAxisSize": 0,
67
+ "rightLabel": "",
68
+ "rightLabelOffsetSize": 0,
69
+ "rightAxisLabelColor": "#1c1d1f",
70
+ "rightAxisTickLabelColor": "#1c1d1f",
71
+ "rightAxisTickColor": "#1c1d1f",
72
+ "numTicks": "",
73
+ "axisPadding": 0,
74
+ "scalePadding": 10,
75
+ "tickRotation": 0,
76
+ "anchors": [],
77
+ "shoMissingDataLabel": true,
78
+ "showMissingDataLine": true,
79
+ "categories": [],
80
+ "label": "Weekly hospital admissions",
81
+ "labelOffset": "15"
82
+ },
83
+ "boxplot": {
84
+ "plots": [],
85
+ "borders": "true",
86
+ "plotOutlierValues": false,
87
+ "plotNonOutlierValues": true,
88
+ "labels": {
89
+ "q1": "Lower Quartile",
90
+ "q2": "q2",
91
+ "q3": "Upper Quartile",
92
+ "q4": "q4",
93
+ "minimum": "Minimum",
94
+ "maximum": "Maximum",
95
+ "mean": "Mean",
96
+ "median": "Median",
97
+ "sd": "Standard Deviation",
98
+ "iqr": "Interquartile Range",
99
+ "count": "Count",
100
+ "outliers": "Outliers",
101
+ "values": "Values",
102
+ "lowerBounds": "Lower Bounds",
103
+ "upperBounds": "Upper Bounds"
104
+ }
105
+ },
106
+ "topAxis": {
107
+ "hasLine": true
108
+ },
109
+ "isLegendValue": false,
110
+ "barThickness": 0.35,
111
+ "barHeight": 25,
112
+ "barSpace": 15,
113
+ "heights": {
114
+ "vertical": "350",
115
+ "horizontal": 750
116
+ },
117
+ "xAxis": {
118
+ "sortDates": false,
119
+ "anchors": [],
120
+ "type": "date",
121
+ "showTargetLabel": true,
122
+ "targetLabel": "Target",
123
+ "hideAxis": false,
124
+ "hideLabel": false,
125
+ "hideTicks": false,
126
+ "size": 75,
127
+ "tickRotation": "45",
128
+ "min": "",
129
+ "max": "",
130
+ "labelColor": "#1c1d1f",
131
+ "tickLabelColor": "#1c1d1f",
132
+ "tickColor": "#1c1d1f",
133
+ "numTicks": "",
134
+ "labelOffset": 0,
135
+ "axisPadding": 200,
136
+ "target": 0,
137
+ "maxTickRotation": 0,
138
+ "padding": 5,
139
+ "showYearsOnce": false,
140
+ "sortByRecentDate": false,
141
+ "brushActive": false,
142
+ "dataKey": "Target End Date",
143
+ "dateParseFormat": "%m/%d/%Y",
144
+ "dateDisplayFormat": "%m/%d/%Y",
145
+ "tickWidthMax": 86,
146
+ "axisBBox": 85.48712158203125
147
+ },
148
+ "table": {
149
+ "label": "Data Table",
150
+ "expanded": false,
151
+ "limitHeight": false,
152
+ "height": "",
153
+ "caption": "",
154
+ "showDownloadUrl": false,
155
+ "showDataTableLink": true,
156
+ "showDownloadLinkBelow": true,
157
+ "indexLabel": "",
158
+ "download": true,
159
+ "showVertical": true,
160
+ "dateDisplayFormat": "",
161
+ "showMissingDataLabel": true,
162
+ "showSuppressedSymbol": true,
163
+ "collapsible": true,
164
+ "show": true
165
+ },
166
+ "orientation": "vertical",
167
+ "columns": {
168
+ "Month": {
169
+ "name": "Month",
170
+ "dataTable": false
171
+ },
172
+ "Lower 50%": {
173
+ "label": "Lower 50%",
174
+ "dataTable": true,
175
+ "tooltips": false,
176
+ "prefix": "",
177
+ "suffix": "",
178
+ "forestPlot": false,
179
+ "startingPoint": "0",
180
+ "forestPlotAlignRight": false,
181
+ "roundToPlace": 0,
182
+ "commas": false,
183
+ "showInViz": false,
184
+ "forestPlotStartingPoint": 0,
185
+ "name": "Lower 50%"
186
+ },
187
+ "Upper 50%": {
188
+ "label": "Upper 50%",
189
+ "dataTable": true,
190
+ "tooltips": false,
191
+ "prefix": "",
192
+ "suffix": "",
193
+ "forestPlot": false,
194
+ "startingPoint": "0",
195
+ "forestPlotAlignRight": false,
196
+ "roundToPlace": 0,
197
+ "commas": false,
198
+ "showInViz": false,
199
+ "forestPlotStartingPoint": 0,
200
+ "name": "Upper 50%"
201
+ },
202
+ "Lower 95%": {
203
+ "label": "Lower 95%",
204
+ "dataTable": true,
205
+ "tooltips": false,
206
+ "prefix": "",
207
+ "suffix": "",
208
+ "forestPlot": false,
209
+ "startingPoint": "0",
210
+ "forestPlotAlignRight": false,
211
+ "roundToPlace": 0,
212
+ "commas": false,
213
+ "showInViz": false,
214
+ "forestPlotStartingPoint": 0,
215
+ "name": "Lower 95%"
216
+ },
217
+ "Upper 95%": {
218
+ "label": "Upper 95%",
219
+ "dataTable": true,
220
+ "tooltips": false,
221
+ "prefix": "",
222
+ "suffix": "",
223
+ "forestPlot": false,
224
+ "startingPoint": "0",
225
+ "forestPlotAlignRight": false,
226
+ "roundToPlace": 0,
227
+ "commas": false,
228
+ "showInViz": false,
229
+ "forestPlotStartingPoint": 0,
230
+ "name": "Upper 95%"
231
+ }
232
+ },
233
+ "legend": {
234
+ "hide": true,
235
+ "behavior": "isolate",
236
+ "axisAlign": true,
237
+ "singleRow": true,
238
+ "colorCode": "",
239
+ "reverseLabelOrder": false,
240
+ "description": "",
241
+ "dynamicLegend": false,
242
+ "dynamicLegendDefaultText": "Show All",
243
+ "dynamicLegendItemLimit": 5,
244
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
245
+ "dynamicLegendChartMessage": "Select Options from the Legend",
246
+ "label": "",
247
+ "lineMode": false,
248
+ "verticalSorted": false,
249
+ "highlightOnHover": false,
250
+ "hideSuppressedLabels": false,
251
+ "hideSuppressionLink": false,
252
+ "seriesHighlight": [],
253
+ "style": "circles",
254
+ "subStyle": "linear blocks",
255
+ "groupBy": "",
256
+ "shape": "circle",
257
+ "tickRotation": "",
258
+ "order": "dataColumn",
259
+ "hideBorder": {
260
+ "side": false,
261
+ "topBottom": true
262
+ },
263
+ "position": "right",
264
+ "orderedValues": [],
265
+ "patterns": {},
266
+ "patternField": "",
267
+ "unified": true
268
+ },
269
+ "exclusions": {
270
+ "active": false,
271
+ "keys": []
272
+ },
273
+ "twoColor": {
274
+ "palette": "monochrome-1",
275
+ "isPaletteReversed": false
276
+ },
277
+ "labels": false,
278
+ "dataFormat": {
279
+ "commas": false,
280
+ "prefix": "",
281
+ "suffix": "",
282
+ "abbreviated": true,
283
+ "bottomSuffix": "",
284
+ "bottomPrefix": "",
285
+ "bottomAbbreviated": false
286
+ },
287
+ "filters": [],
288
+ "confidenceKeys": {},
289
+ "visual": {
290
+ "border": true,
291
+ "accent": true,
292
+ "background": true,
293
+ "verticalHoverLine": true,
294
+ "horizontalHoverLine": false,
295
+ "lineDatapointSymbol": "none",
296
+ "maximumShapeAmount": 7
297
+ },
298
+ "useLogScale": false,
299
+ "filterBehavior": "Filter Change",
300
+ "highlightedBarValues": [],
301
+ "series": [
302
+ {
303
+ "dataKey": "Month",
304
+ "type": "Forecasting",
305
+ "axis": "Left",
306
+ "tooltip": false,
307
+ "stages": [
308
+ {
309
+ "key": "11",
310
+ "color": "sequential-green"
311
+ },
312
+ {
313
+ "key": "12",
314
+ "color": "sequential-green"
315
+ },
316
+ {
317
+ "key": "1",
318
+ "color": "sequential-green"
319
+ },
320
+ {
321
+ "key": "2",
322
+ "color": "sequential-green"
323
+ },
324
+ {
325
+ "key": "3",
326
+ "color": "sequential-green"
327
+ },
328
+ {
329
+ "key": "4",
330
+ "color": "sequential-green"
331
+ }
332
+ ],
333
+ "stageColumn": "Month",
334
+ "confidenceIntervals": [
335
+ {
336
+ "high": "Upper 50%",
337
+ "low": "Lower 50%",
338
+ "showInTooltip": true
339
+ },
340
+ {
341
+ "high": "Upper 95%",
342
+ "low": "Lower 95%",
343
+ "showInTooltip": true
344
+ }
345
+ ]
346
+ },
347
+ {
348
+ "dataKey": "Forecasted",
349
+ "type": "dashed-sm",
350
+ "axis": "Left",
351
+ "tooltip": true
352
+ },
353
+ {
354
+ "dataKey": "Observed",
355
+ "type": "Line",
356
+ "axis": "Left",
357
+ "tooltip": true
358
+ }
359
+ ],
360
+ "tooltips": {
361
+ "opacity": 90,
362
+ "singleSeries": false,
363
+ "dateDisplayFormat": ""
364
+ },
365
+ "forestPlot": {
366
+ "startAt": 0,
367
+ "colors": {
368
+ "line": "",
369
+ "shape": ""
370
+ },
371
+ "lineOfNoEffect": {
372
+ "show": true
373
+ },
374
+ "type": "",
375
+ "pooledResult": {
376
+ "diamondHeight": 5,
377
+ "column": ""
378
+ },
379
+ "estimateField": "",
380
+ "estimateRadius": "",
381
+ "shape": "square",
382
+ "rowHeight": 20,
383
+ "description": {
384
+ "show": true,
385
+ "text": "description",
386
+ "location": 0
387
+ },
388
+ "result": {
389
+ "show": true,
390
+ "text": "result",
391
+ "location": 100
392
+ },
393
+ "radius": {
394
+ "min": 2,
395
+ "max": 10,
396
+ "scalingColumn": ""
397
+ },
398
+ "regression": {
399
+ "lower": 0,
400
+ "upper": 0,
401
+ "estimateField": 0
402
+ },
403
+ "leftWidthOffset": 0,
404
+ "rightWidthOffset": 0,
405
+ "showZeroLine": false,
406
+ "leftLabel": "",
407
+ "rightLabel": ""
408
+ },
409
+ "area": {
410
+ "isStacked": false
411
+ },
412
+ "sankey": {
413
+ "title": {
414
+ "defaultColor": "black"
415
+ },
416
+ "iterations": 1,
417
+ "rxValue": 0.9,
418
+ "overallSize": {
419
+ "width": 900,
420
+ "height": 700
421
+ },
422
+ "margin": {
423
+ "margin_y": 25,
424
+ "margin_x": 0
425
+ },
426
+ "nodeSize": {
427
+ "nodeWidth": 26,
428
+ "nodeHeight": 40
429
+ },
430
+ "nodePadding": 55,
431
+ "nodeFontColor": "black",
432
+ "nodeColor": {
433
+ "default": "#ff8500",
434
+ "inactive": "#808080"
435
+ },
436
+ "linkColor": {
437
+ "default": "#ffc900",
438
+ "inactive": "#D3D3D3"
439
+ },
440
+ "opacity": {
441
+ "nodeOpacityDefault": 1,
442
+ "nodeOpacityInactive": 0.1,
443
+ "LinkOpacityDefault": 1,
444
+ "LinkOpacityInactive": 0.1
445
+ },
446
+ "storyNodeFontColor": "#006778",
447
+ "storyNodeText": [],
448
+ "nodeValueStyle": {
449
+ "textBefore": "(",
450
+ "textAfter": ")"
451
+ },
452
+ "data": []
453
+ },
454
+ "markupVariables": [],
455
+ "enableMarkupVariables": false,
456
+ "dataFileName": "./forecast_chart_data_ex_2.csv",
457
+ "dataFileSourceType": "file",
458
+ "dataDescription": {
459
+ "horizontal": false,
460
+ "series": false
461
+ },
462
+ "id": 3,
463
+ "category": "Charts",
464
+ "label": "Combo Chart",
465
+ "subType": "Combo",
466
+ "icon": {
467
+ "key": null,
468
+ "ref": null,
469
+ "props": {},
470
+ "_owner": null
471
+ },
472
+ "content": "Use bars to show comparisons between data categories.",
473
+ "visualizationType": "Combo",
474
+ "activeVizButtonID": 3,
475
+ "brush": {
476
+ "isActive": false,
477
+ "isBrushing": false,
478
+ "data": [],
479
+ "height": 45,
480
+ "active": false
481
+ },
482
+ "isPaletteReversed": true,
483
+ "version": "4.25.10",
484
+ "migrations": {
485
+ "addColorMigration": true
486
+ },
487
+ "dynamicMarginTop": 0,
488
+ "description": "<div class=\"psuedolegend\">\n<p><strong>Prediction Interval</strong><br/>\n<span class=\"ci50\"></span> 50%<br/>\n<span class=\"ci95\"></span> 95%<br/>\n</p>\n<p><strong>Weekly Admissions</strong><br/>\n<span class=\"forecasted\"></span> Forecasted<br/>\n<span class=\"observed\"></span> Observed<br/>\n</p>\n<div class=\"cb\"></div>\n<div>",
489
+ "introText": "National median ensemble with 50 and 95% prediction intervals alongside observed weekly hospital admissions.",
490
+ "data": [
491
+ {
492
+ "Location": "US",
493
+ "Target": "NA",
494
+ "Target End Date": "11/23/2024",
495
+ "Forecast Date": "NA",
496
+ "Model": "NA",
497
+ "Location Name": "National",
498
+ "Month": "11",
499
+ "Forecasted": "Intentionally left blank for visualization purposes",
500
+ "Lower 50%": "NA",
501
+ "Upper 50%": "NA",
502
+ "Lower 95%": "NA",
503
+ "Upper 95%": "NA",
504
+ "Observed": "3092"
505
+ },
506
+ {
507
+ "Location": "US",
508
+ "Target": "0 wk inc flu hosp",
509
+ "Target End Date": "11/30/2024",
510
+ "Forecast Date": "11/30/2024",
511
+ "Model": "FluSight-ensemble",
512
+ "Location Name": "National",
513
+ "Month": "11",
514
+ "Forecasted": "3947",
515
+ "Lower 50%": "3576",
516
+ "Upper 50%": "4579",
517
+ "Lower 95%": "2701",
518
+ "Upper 95%": "6252",
519
+ "Observed": "4277"
520
+ },
521
+ {
522
+ "Location": "US",
523
+ "Target": "1 wk inc flu hosp",
524
+ "Target End Date": "12/7/2024",
525
+ "Forecast Date": "11/30/2024",
526
+ "Model": "FluSight-ensemble",
527
+ "Location Name": "National",
528
+ "Month": "12",
529
+ "Forecasted": "4727",
530
+ "Lower 50%": "3916",
531
+ "Upper 50%": "5796",
532
+ "Lower 95%": "2042",
533
+ "Upper 95%": "8353",
534
+ "Observed": "6288"
535
+ },
536
+ {
537
+ "Location": "US",
538
+ "Target": "2 wk inc flu hosp",
539
+ "Target End Date": "12/14/2024",
540
+ "Forecast Date": "11/30/2024",
541
+ "Model": "FluSight-ensemble",
542
+ "Location Name": "National",
543
+ "Month": "12",
544
+ "Forecasted": "5415",
545
+ "Lower 50%": "4031",
546
+ "Upper 50%": "6929",
547
+ "Lower 95%": "2403",
548
+ "Upper 95%": "10724",
549
+ "Observed": "9166"
550
+ },
551
+ {
552
+ "Location": "US",
553
+ "Target": "3 wk inc flu hosp",
554
+ "Target End Date": "12/21/2024",
555
+ "Forecast Date": "11/30/2024",
556
+ "Model": "FluSight-ensemble",
557
+ "Location Name": "National",
558
+ "Month": "12",
559
+ "Forecasted": "6248",
560
+ "Lower 50%": "4224",
561
+ "Upper 50%": "8271",
562
+ "Lower 95%": "2323",
563
+ "Upper 95%": "13970",
564
+ "Observed": "15429"
565
+ },
566
+ {
567
+ "Location": "US",
568
+ "Target": "NA",
569
+ "Target End Date": "12/28/2024",
570
+ "Forecast Date": "NA",
571
+ "Model": "NA",
572
+ "Location Name": "National",
573
+ "Month": "12",
574
+ "Forecasted": "Intentionally left blank for visualization purposes",
575
+ "Lower 50%": "NA",
576
+ "Upper 50%": "NA",
577
+ "Lower 95%": "NA",
578
+ "Upper 95%": "NA",
579
+ "Observed": "27681"
580
+ },
581
+ {
582
+ "Location": "US",
583
+ "Target": "0 wk inc flu hosp",
584
+ "Target End Date": "1/4/2025",
585
+ "Forecast Date": "1/4/2025",
586
+ "Model": "FluSight-ensemble",
587
+ "Location Name": "National",
588
+ "Month": "1",
589
+ "Forecasted": "25891",
590
+ "Lower 50%": "22477",
591
+ "Upper 50%": "28513",
592
+ "Lower 95%": "17196",
593
+ "Upper 95%": "36169",
594
+ "Observed": "38690"
595
+ },
596
+ {
597
+ "Location": "US",
598
+ "Target": "1 wk inc flu hosp",
599
+ "Target End Date": "1/11/2025",
600
+ "Forecast Date": "1/4/2025",
601
+ "Model": "FluSight-ensemble",
602
+ "Location Name": "National",
603
+ "Month": "1",
604
+ "Forecasted": "26451",
605
+ "Lower 50%": "22761",
606
+ "Upper 50%": "31409",
607
+ "Lower 95%": "16729",
608
+ "Upper 95%": "40846",
609
+ "Observed": "30750"
610
+ },
611
+ {
612
+ "Location": "US",
613
+ "Target": "2 wk inc flu hosp",
614
+ "Target End Date": "1/18/2025",
615
+ "Forecast Date": "1/4/2025",
616
+ "Model": "FluSight-ensemble",
617
+ "Location Name": "National",
618
+ "Month": "1",
619
+ "Forecasted": "24083",
620
+ "Lower 50%": "19270",
621
+ "Upper 50%": "29355",
622
+ "Lower 95%": "13372",
623
+ "Upper 95%": "42595",
624
+ "Observed": "32984"
625
+ },
626
+ {
627
+ "Location": "US",
628
+ "Target": "3 wk inc flu hosp",
629
+ "Target End Date": "1/25/2025",
630
+ "Forecast Date": "1/4/2025",
631
+ "Model": "FluSight-ensemble",
632
+ "Location Name": "National",
633
+ "Month": "1",
634
+ "Forecasted": "23735",
635
+ "Lower 50%": "18711",
636
+ "Upper 50%": "29913",
637
+ "Lower 95%": "11087",
638
+ "Upper 95%": "42719",
639
+ "Observed": "40604"
640
+ },
641
+ {
642
+ "Location": "US",
643
+ "Target": "NA",
644
+ "Target End Date": "2/1/2025",
645
+ "Forecast Date": "NA",
646
+ "Model": "NA",
647
+ "Location Name": "National",
648
+ "Month": "2",
649
+ "Forecasted": "Intentionally left blank for visualization purposes",
650
+ "Lower 50%": "NA",
651
+ "Upper 50%": "NA",
652
+ "Lower 95%": "NA",
653
+ "Upper 95%": "NA",
654
+ "Observed": "51206"
655
+ },
656
+ {
657
+ "Location": "US",
658
+ "Target": "NA",
659
+ "Target End Date": "2/8/2025",
660
+ "Forecast Date": "NA",
661
+ "Model": "NA",
662
+ "Location Name": "National",
663
+ "Month": "2",
664
+ "Forecasted": "Intentionally left blank for visualization purposes",
665
+ "Lower 50%": "NA",
666
+ "Upper 50%": "NA",
667
+ "Lower 95%": "NA",
668
+ "Upper 95%": "NA",
669
+ "Observed": "54271"
670
+ },
671
+ {
672
+ "Location": "US",
673
+ "Target": "0 wk inc flu hosp",
674
+ "Target End Date": "2/15/2025",
675
+ "Forecast Date": "2/15/2025",
676
+ "Model": "FluSight-ensemble",
677
+ "Location Name": "National",
678
+ "Month": "2",
679
+ "Forecasted": "45052",
680
+ "Lower 50%": "38273",
681
+ "Upper 50%": "51097",
682
+ "Lower 95%": "30423",
683
+ "Upper 95%": "60355",
684
+ "Observed": "46327"
685
+ },
686
+ {
687
+ "Location": "US",
688
+ "Target": "1 wk inc flu hosp",
689
+ "Target End Date": "2/22/2025",
690
+ "Forecast Date": "2/15/2025",
691
+ "Model": "FluSight-ensemble",
692
+ "Location Name": "National",
693
+ "Month": "2",
694
+ "Forecasted": "40726",
695
+ "Lower 50%": "32448",
696
+ "Upper 50%": "48077",
697
+ "Lower 95%": "24458",
698
+ "Upper 95%": "63101",
699
+ "Observed": "37871"
700
+ },
701
+ {
702
+ "Location": "US",
703
+ "Target": "2 wk inc flu hosp",
704
+ "Target End Date": "3/1/2025",
705
+ "Forecast Date": "2/15/2025",
706
+ "Model": "FluSight-ensemble",
707
+ "Location Name": "National",
708
+ "Month": "3",
709
+ "Forecasted": "37235",
710
+ "Lower 50%": "27006",
711
+ "Upper 50%": "42977",
712
+ "Lower 95%": "19599",
713
+ "Upper 95%": "63413",
714
+ "Observed": "30809"
715
+ },
716
+ {
717
+ "Location": "US",
718
+ "Target": "3 wk inc flu hosp",
719
+ "Target End Date": "3/8/2025",
720
+ "Forecast Date": "2/15/2025",
721
+ "Model": "FluSight-ensemble",
722
+ "Location Name": "National",
723
+ "Month": "3",
724
+ "Forecasted": "34093",
725
+ "Lower 50%": "25110",
726
+ "Upper 50%": "39141",
727
+ "Lower 95%": "15825",
728
+ "Upper 95%": "60260",
729
+ "Observed": "23986"
730
+ },
731
+ {
732
+ "Location": "US",
733
+ "Target": "NA",
734
+ "Target End Date": "3/15/2025",
735
+ "Forecast Date": "NA",
736
+ "Model": "NA",
737
+ "Location Name": "National",
738
+ "Month": "3",
739
+ "Forecasted": "Intentionally left blank for visualization purposes",
740
+ "Lower 50%": "NA",
741
+ "Upper 50%": "NA",
742
+ "Lower 95%": "NA",
743
+ "Upper 95%": "NA",
744
+ "Observed": "18389"
745
+ },
746
+ {
747
+ "Location": "US",
748
+ "Target": "0 wk inc flu hosp",
749
+ "Target End Date": "3/22/2025",
750
+ "Forecast Date": "3/22/2025",
751
+ "Model": "FluSight-ensemble",
752
+ "Location Name": "National",
753
+ "Month": "3",
754
+ "Forecasted": "14018",
755
+ "Lower 50%": "11909",
756
+ "Upper 50%": "15787",
757
+ "Lower 95%": "7856",
758
+ "Upper 95%": "20887",
759
+ "Observed": "13640"
760
+ },
761
+ {
762
+ "Location": "US",
763
+ "Target": "1 wk inc flu hosp",
764
+ "Target End Date": "3/29/2025",
765
+ "Forecast Date": "3/22/2025",
766
+ "Model": "FluSight-ensemble",
767
+ "Location Name": "National",
768
+ "Month": "3",
769
+ "Forecasted": "11058",
770
+ "Lower 50%": "8460",
771
+ "Upper 50%": "14184",
772
+ "Lower 95%": "5182",
773
+ "Upper 95%": "20711",
774
+ "Observed": "9684"
775
+ },
776
+ {
777
+ "Location": "US",
778
+ "Target": "2 wk inc flu hosp",
779
+ "Target End Date": "4/5/2025",
780
+ "Forecast Date": "3/22/2025",
781
+ "Model": "FluSight-ensemble",
782
+ "Location Name": "National",
783
+ "Month": "4",
784
+ "Forecasted": "9409",
785
+ "Lower 50%": "7002",
786
+ "Upper 50%": "12120",
787
+ "Lower 95%": "3631",
788
+ "Upper 95%": "20207",
789
+ "Observed": "6802"
790
+ },
791
+ {
792
+ "Location": "US",
793
+ "Target": "3 wk inc flu hosp",
794
+ "Target End Date": "4/12/2025",
795
+ "Forecast Date": "3/22/2025",
796
+ "Model": "FluSight-ensemble",
797
+ "Location Name": "National",
798
+ "Month": "4",
799
+ "Forecasted": "7607",
800
+ "Lower 50%": "5511",
801
+ "Upper 50%": "9998",
802
+ "Lower 95%": "2233",
803
+ "Upper 95%": "20432",
804
+ "Observed": "4917"
805
+ },
806
+ {
807
+ "Location": "US",
808
+ "Target": "NA",
809
+ "Target End Date": "4/19/2025",
810
+ "Forecast Date": "NA",
811
+ "Model": "NA",
812
+ "Location Name": "National",
813
+ "Month": "4",
814
+ "Forecasted": "Intentionally left blank for visualization purposes",
815
+ "Lower 50%": "NA",
816
+ "Upper 50%": "NA",
817
+ "Lower 95%": "NA",
818
+ "Upper 95%": "NA",
819
+ "Observed": "3871"
820
+ },
821
+ {
822
+ "Location": "US",
823
+ "Target": "0 wk inc flu hosp",
824
+ "Target End Date": "4/26/2025",
825
+ "Forecast Date": "4/26/2025",
826
+ "Model": "FluSight-ensemble",
827
+ "Location Name": "National",
828
+ "Month": "4",
829
+ "Forecasted": "2702",
830
+ "Lower 50%": "2063",
831
+ "Upper 50%": "3542",
832
+ "Lower 95%": "1066",
833
+ "Upper 95%": "5178",
834
+ "Observed": "3242"
835
+ },
836
+ {
837
+ "Location": "US",
838
+ "Target": "1 wk inc flu hosp",
839
+ "Target End Date": "5/3/2025",
840
+ "Forecast Date": "4/26/2025",
841
+ "Model": "FluSight-ensemble",
842
+ "Location Name": "National",
843
+ "Month": "5",
844
+ "Forecasted": "2141",
845
+ "Lower 50%": "1358",
846
+ "Upper 50%": "3178",
847
+ "Lower 95%": "502",
848
+ "Upper 95%": "4879",
849
+ "Observed": "2442"
850
+ },
851
+ {
852
+ "Location": "US",
853
+ "Target": "2 wk inc flu hosp",
854
+ "Target End Date": "5/10/2025",
855
+ "Forecast Date": "4/26/2025",
856
+ "Model": "FluSight-ensemble",
857
+ "Location Name": "National",
858
+ "Month": "5",
859
+ "Forecasted": "1574",
860
+ "Lower 50%": "915",
861
+ "Upper 50%": "2828",
862
+ "Lower 95%": "277",
863
+ "Upper 95%": "5080",
864
+ "Observed": "2116"
865
+ },
866
+ {
867
+ "Location": "US",
868
+ "Target": "3 wk inc flu hosp",
869
+ "Target End Date": "5/17/2025",
870
+ "Forecast Date": "4/26/2025",
871
+ "Model": "FluSight-ensemble",
872
+ "Location Name": "National",
873
+ "Month": "5",
874
+ "Forecasted": "1294",
875
+ "Lower 50%": "675",
876
+ "Upper 50%": "2749",
877
+ "Lower 95%": "189",
878
+ "Upper 95%": "5202",
879
+ "Observed": "1837"
880
+ },
881
+ {
882
+ "Location": "US",
883
+ "Target": "NA",
884
+ "Target End Date": "5/24/2025",
885
+ "Forecast Date": "NA",
886
+ "Model": "NA",
887
+ "Location Name": "National",
888
+ "Month": "5",
889
+ "Forecasted": "Intentionally left blank for visualization purposes",
890
+ "Lower 50%": "NA",
891
+ "Upper 50%": "NA",
892
+ "Lower 95%": "NA",
893
+ "Upper 95%": "NA",
894
+ "Observed": "1686"
895
+ },
896
+ {
897
+ "Location": "US",
898
+ "Target": "0 wk inc flu hosp",
899
+ "Target End Date": "5/31/2025",
900
+ "Forecast Date": "5/31/2025",
901
+ "Model": "FluSight-ensemble",
902
+ "Location Name": "National",
903
+ "Month": "5",
904
+ "Forecasted": "1463",
905
+ "Lower 50%": "1126",
906
+ "Upper 50%": "1710",
907
+ "Lower 95%": "752",
908
+ "Upper 95%": "2540",
909
+ "Observed": "1806"
910
+ }
911
+ ],
912
+ "datasets": {}
913
+ }