@cdc/chart 4.23.11 → 4.24.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 (103) hide show
  1. package/dist/cdcchart.js +30220 -29764
  2. package/examples/feature/bar/additional-column-tooltip.json +446 -0
  3. package/examples/feature/bar/tall-data.json +98 -0
  4. package/examples/feature/forest-plot/forest-plot.json +63 -19
  5. package/examples/feature/forest-plot/linear.json +52 -3
  6. package/examples/feature/forest-plot/log.json +26 -0
  7. package/examples/feature/forest-plot/logarithmic.json +0 -35
  8. package/examples/feature/line/line-chart-preliminary.json +346 -0
  9. package/examples/feature/scatterplot/scatterplot.json +272 -33
  10. package/examples/private/chart-t.json +3740 -0
  11. package/examples/private/combo.json +369 -0
  12. package/examples/private/epi-data.csv +13 -0
  13. package/examples/private/epi-data.json +62 -0
  14. package/examples/private/epi.json +403 -0
  15. package/examples/private/occupancy.json +109283 -0
  16. package/examples/private/prod-line-config.json +401 -0
  17. package/examples/private/region-data.json +822 -0
  18. package/examples/private/region-testing.json +312 -0
  19. package/examples/private/scaling.json +45325 -0
  20. package/examples/private/testing-data.json +1739 -0
  21. package/examples/private/testing.json +816 -0
  22. package/index.html +7 -7
  23. package/package.json +2 -2
  24. package/src/CdcChart.tsx +29 -210
  25. package/src/ConfigContext.tsx +6 -0
  26. package/src/_stories/ChartEditor.stories.tsx +22 -0
  27. package/src/_stories/ChartLine.preliminary.tsx +19 -0
  28. package/src/_stories/_mock/pie_config.json +191 -0
  29. package/src/_stories/_mock/pie_data.json +218 -0
  30. package/src/_stories/_mock/preliminary_mock.json +346 -0
  31. package/src/components/{AreaChart.Stacked.jsx → AreaChart/components/AreaChart.Stacked.jsx} +2 -2
  32. package/src/components/{AreaChart.jsx → AreaChart/components/AreaChart.jsx} +1 -1
  33. package/src/components/AreaChart/index.tsx +4 -0
  34. package/src/components/{BarChart.Horizontal.tsx → BarChart/components/BarChart.Horizontal.tsx} +8 -8
  35. package/src/components/{BarChart.StackedHorizontal.tsx → BarChart/components/BarChart.StackedHorizontal.tsx} +37 -7
  36. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +106 -0
  37. package/src/components/{BarChart.Vertical.tsx → BarChart/components/BarChart.Vertical.tsx} +41 -57
  38. package/src/components/BarChart/components/BarChart.jsx +39 -0
  39. package/src/components/{BarChartType.jsx → BarChart/components/BarChartType.jsx} +0 -2
  40. package/src/components/BarChart/components/context.tsx +13 -0
  41. package/src/components/BarChart/index.tsx +3 -0
  42. package/src/components/{BoxPlot.jsx → BoxPlot/BoxPlot.jsx} +1 -1
  43. package/src/components/BoxPlot/index.tsx +3 -0
  44. package/src/components/{EditorPanel.jsx → EditorPanel/EditorPanel.tsx} +667 -851
  45. package/src/components/EditorPanel/components/Panel.DateHighlighting.tsx +109 -0
  46. package/src/components/{ForestPlotSettings.jsx → EditorPanel/components/Panel.ForestPlotSettings.tsx} +87 -166
  47. package/src/components/EditorPanel/components/Panel.Regions.tsx +168 -0
  48. package/src/components/{Series.jsx → EditorPanel/components/Panel.Series.tsx} +1 -1
  49. package/src/components/EditorPanel/components/PanelProps.ts +3 -0
  50. package/src/components/EditorPanel/components/Panels.tsx +13 -0
  51. package/src/components/EditorPanel/components/panels.scss +72 -0
  52. package/src/components/EditorPanel/editor-panel.scss +751 -0
  53. package/src/components/EditorPanel/index.tsx +3 -0
  54. package/src/{hooks → components/EditorPanel}/useEditorPermissions.js +29 -2
  55. package/src/components/{Forecasting.jsx → Forecasting/Forecasting.jsx} +1 -1
  56. package/src/components/Forecasting/index.tsx +3 -0
  57. package/src/components/ForestPlot/ForestPlot.tsx +254 -0
  58. package/src/components/ForestPlot/ForestPlotProps.ts +7 -0
  59. package/src/components/ForestPlot/index.tsx +1 -209
  60. package/src/components/{Legend.jsx → Legend/Legend.tsx} +150 -113
  61. package/src/components/Legend/index.tsx +3 -0
  62. package/src/components/LineChart/LineChartProps.ts +29 -0
  63. package/src/components/LineChart/{LineChart.Circle.tsx → components/LineChart.Circle.tsx} +12 -3
  64. package/src/components/LineChart/helpers.ts +45 -0
  65. package/src/components/LineChart/index.tsx +20 -8
  66. package/src/components/LinearChart.jsx +52 -69
  67. package/src/components/{PieChart.jsx → PieChart/PieChart.tsx} +16 -7
  68. package/src/components/PieChart/index.tsx +3 -0
  69. package/src/components/Regions/components/Regions.tsx +135 -0
  70. package/src/components/Regions/index.tsx +3 -0
  71. package/src/components/{ScatterPlot.jsx → ScatterPlot/ScatterPlot.jsx} +3 -3
  72. package/src/components/ScatterPlot/index.tsx +3 -0
  73. package/src/components/{SparkLine.jsx → Sparkline/SparkLine.jsx} +2 -2
  74. package/src/components/Sparkline/index.tsx +3 -0
  75. package/src/data/initial-state.js +5 -6
  76. package/src/helpers/abbreviateNumber.ts +17 -0
  77. package/src/helpers/computeMarginBottom.ts +55 -0
  78. package/src/helpers/filterData.ts +18 -0
  79. package/src/helpers/generateColorsArray.ts +8 -0
  80. package/src/helpers/getQuartiles.ts +30 -0
  81. package/src/helpers/handleChartAriaLabels.ts +19 -0
  82. package/src/helpers/handleLineType.ts +18 -0
  83. package/src/helpers/lineOptions.ts +18 -0
  84. package/src/helpers/sort.ts +7 -0
  85. package/src/helpers/tests/computeMarginBottom.test.ts +20 -0
  86. package/src/hooks/useBarChart.js +7 -6
  87. package/src/hooks/useScales.ts +1 -1
  88. package/src/hooks/{useTooltip.jsx → useTooltip.tsx} +23 -21
  89. package/src/scss/main.scss +67 -3
  90. package/src/types/ChartConfig.ts +158 -23
  91. package/src/types/ChartContext.ts +26 -10
  92. package/src/types/ForestPlot.ts +7 -14
  93. package/examples/feature/scatterplot/scatterplot-continuous.csv +0 -17
  94. package/src/ConfigContext.jsx +0 -5
  95. package/src/components/BarChart.StackedVertical.tsx +0 -91
  96. package/src/components/BarChart.jsx +0 -30
  97. package/src/components/ForestPlot/Readme.md +0 -0
  98. package/src/scss/LinearChart.scss +0 -0
  99. package/src/scss/editor-panel.scss +0 -745
  100. package/src/scss/legend.scss +0 -206
  101. package/src/scss/mixins.scss +0 -0
  102. package/src/scss/variables.scss +0 -1
  103. package/src/types/ChartProps.ts +0 -7
@@ -0,0 +1,816 @@
1
+ {
2
+ "type": "chart",
3
+ "debugSvg": false,
4
+ "chartMessage": {
5
+ "noData": "No Data Available"
6
+ },
7
+ "title": "",
8
+ "showTitle": false,
9
+ "showDownloadMediaButton": false,
10
+ "theme": "theme-blue",
11
+ "animate": false,
12
+ "fontSize": "small",
13
+ "lineDatapointStyle": "hover",
14
+ "lineDatapointColor": "Same as Line",
15
+ "barHasBorder": "false",
16
+ "isLollipopChart": false,
17
+ "lollipopShape": "circle",
18
+ "lollipopColorStyle": "two-tone",
19
+ "visualizationSubType": "regular",
20
+ "barStyle": "",
21
+ "roundingStyle": "standard",
22
+ "tipRounding": "top",
23
+ "isResponsiveTicks": false,
24
+ "general": {
25
+ "showDownloadButton": false
26
+ },
27
+ "padding": {
28
+ "left": 5,
29
+ "right": 5
30
+ },
31
+ "suppressedData": [],
32
+ "yAxis": {
33
+ "hideAxis": false,
34
+ "displayNumbersOnBar": false,
35
+ "hideLabel": false,
36
+ "hideTicks": false,
37
+ "size": "68",
38
+ "gridLines": false,
39
+ "enablePadding": true,
40
+ "min": "0",
41
+ "max": "",
42
+ "labelColor": "#333",
43
+ "tickLabelColor": "#333",
44
+ "tickColor": "#333",
45
+ "rightHideAxis": true,
46
+ "rightAxisSize": 0,
47
+ "rightLabel": "",
48
+ "rightLabelOffsetSize": 0,
49
+ "rightAxisLabelColor": "#333",
50
+ "rightAxisTickLabelColor": "#333",
51
+ "rightAxisTickColor": "#333",
52
+ "numTicks": "11",
53
+ "axisPadding": 0,
54
+ "tickRotation": 0,
55
+ "anchors": [],
56
+ "label": "Wastewater Viral Activity Level"
57
+ },
58
+ "boxplot": {
59
+ "plots": [],
60
+ "borders": "true",
61
+ "firstQuartilePercentage": 25,
62
+ "thirdQuartilePercentage": 75,
63
+ "boxWidthPercentage": 40,
64
+ "plotOutlierValues": false,
65
+ "plotNonOutlierValues": true,
66
+ "legend": {
67
+ "showHowToReadText": false,
68
+ "howToReadText": ""
69
+ },
70
+ "labels": {
71
+ "q1": "Lower Quartile",
72
+ "q2": "q2",
73
+ "q3": "Upper Quartile",
74
+ "q4": "q4",
75
+ "minimum": "Minimum",
76
+ "maximum": "Maximum",
77
+ "mean": "Mean",
78
+ "median": "Median",
79
+ "sd": "Standard Deviation",
80
+ "iqr": "Interquartile Range",
81
+ "total": "Total",
82
+ "outliers": "Outliers",
83
+ "values": "Values",
84
+ "lowerBounds": "Lower Bounds",
85
+ "upperBounds": "Upper Bounds"
86
+ }
87
+ },
88
+ "topAxis": {
89
+ "hasLine": false
90
+ },
91
+ "isLegendValue": false,
92
+ "barThickness": 0.35,
93
+ "barHeight": 25,
94
+ "barSpace": 15,
95
+ "heights": {
96
+ "vertical": "350",
97
+ "horizontal": 750
98
+ },
99
+ "xAxis": {
100
+ "sortDates": false,
101
+ "anchors": [],
102
+ "type": "date",
103
+ "showTargetLabel": true,
104
+ "targetLabel": "Target",
105
+ "hideAxis": false,
106
+ "hideLabel": false,
107
+ "hideTicks": false,
108
+ "size": "93",
109
+ "tickRotation": "45",
110
+ "min": "",
111
+ "max": "",
112
+ "labelColor": "#333",
113
+ "tickLabelColor": "#333",
114
+ "tickColor": "#333",
115
+ "numTicks": "9",
116
+ "labelOffset": 65,
117
+ "axisPadding": 0,
118
+ "target": 0,
119
+ "maxTickRotation": "45",
120
+ "dataKey": "date",
121
+ "dateParseFormat": "%Y-%m-%d",
122
+ "dateDisplayFormat": "%m/%d/%y",
123
+ "label": "Week Ending",
124
+ "tickWidthMax": 63
125
+ },
126
+ "table": {
127
+ "label": "Data Table",
128
+ "expanded": false,
129
+ "limitHeight": false,
130
+ "height": "",
131
+ "caption": "",
132
+ "showDownloadUrl": true,
133
+ "showDataTableLink": true,
134
+ "indexLabel": "",
135
+ "download": false,
136
+ "showVertical": true,
137
+ "show": true
138
+ },
139
+ "orientation": "vertical",
140
+ "color": "pinkpurple",
141
+ "columns": {},
142
+ "legend": {
143
+ "hide": false,
144
+ "behavior": "isolate",
145
+ "singleRow": true,
146
+ "colorCode": "",
147
+ "reverseLabelOrder": false,
148
+ "description": "Select a geography to add or remove it from the visualization.\n\n",
149
+ "dynamicLegend": false,
150
+ "dynamicLegendDefaultText": "Show All",
151
+ "dynamicLegendItemLimit": 5,
152
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
153
+ "dynamicLegendChartMessage": "Select Options from the Legend",
154
+ "lineMode": false,
155
+ "verticalSorted": false,
156
+ "highlightOnHover": false,
157
+ "position": "bottom"
158
+ },
159
+ "brush": {
160
+ "height": 25,
161
+ "data": [
162
+ {
163
+ "date": "2022-12-24",
164
+ "Midwest": "8.83427495587033",
165
+ "National": "8.169875122026394",
166
+ "Northeast": "7.802622378460406",
167
+ "South": "9.384158226370372",
168
+ "West": "7.6071624919621925",
169
+ "date_period": "1 Year"
170
+ },
171
+ {
172
+ "date": "2022-12-31",
173
+ "Midwest": "10.010726806139756",
174
+ "National": "10.15848001144526",
175
+ "Northeast": "9.84331838664069",
176
+ "South": "12.936586013131057",
177
+ "West": "7.858294355678006",
178
+ "date_period": "1 Year"
179
+ },
180
+ {
181
+ "date": "2023-01-07",
182
+ "Midwest": "6.602328169498711",
183
+ "National": "7.294685318518969",
184
+ "Northeast": "6.735646058036163",
185
+ "South": "9.713354141801943",
186
+ "West": "6.63046965306689",
187
+ "date_period": "1 Year"
188
+ },
189
+ {
190
+ "date": "2023-01-14",
191
+ "Midwest": "4.652797191591908",
192
+ "National": "5.271858273823706",
193
+ "Northeast": "5.165456362550997",
194
+ "South": "6.909600488116558",
195
+ "West": "4.563645594535414",
196
+ "date_period": "1 Year"
197
+ },
198
+ {
199
+ "date": "2023-01-21",
200
+ "Midwest": "4.4054826633265165",
201
+ "National": "4.878241242865512",
202
+ "Northeast": "5.93813712355373",
203
+ "South": "6.227564908084538",
204
+ "West": "4.041490344722037",
205
+ "date_period": "1 Year"
206
+ },
207
+ {
208
+ "date": "2023-01-28",
209
+ "Midwest": "4.65857543537766",
210
+ "National": "5.209319305523611",
211
+ "Northeast": "6.040204919321088",
212
+ "South": "6.510724050327154",
213
+ "West": "3.88596208919998",
214
+ "date_period": "1 Year"
215
+ },
216
+ {
217
+ "date": "2023-02-04",
218
+ "Midwest": "4.713079423953668",
219
+ "National": "5.249380311631608",
220
+ "Northeast": "5.343569597031815",
221
+ "South": "6.939710180555067",
222
+ "West": "4.974354991097491",
223
+ "date_period": "1 Year"
224
+ },
225
+ {
226
+ "date": "2023-02-11",
227
+ "Midwest": "5.3028463543048066",
228
+ "National": "5.307688478288405",
229
+ "Northeast": "4.149038760873107",
230
+ "South": "6.454272525268946",
231
+ "West": "5.212827436256197",
232
+ "date_period": "1 Year"
233
+ },
234
+ {
235
+ "date": "2023-02-18",
236
+ "Midwest": "6.028487213148766",
237
+ "National": "5.638529200903578",
238
+ "Northeast": "4.576231012688827",
239
+ "South": "5.074342223992979",
240
+ "West": "6.221843648505816",
241
+ "date_period": "1 Year"
242
+ },
243
+ {
244
+ "date": "2023-02-25",
245
+ "Midwest": "5.663024538207272",
246
+ "National": "5.150640468629865",
247
+ "Northeast": "4.74074469687121",
248
+ "South": "3.827561725568617",
249
+ "West": "5.821513400544305",
250
+ "date_period": "1 Year"
251
+ },
252
+ {
253
+ "date": "2023-03-04",
254
+ "Midwest": "5.1393744618617",
255
+ "National": "4.499513177632675",
256
+ "Northeast": "3.5661549035445455",
257
+ "South": "3.3374967055516223",
258
+ "West": "5.306265917918333",
259
+ "date_period": "1 Year"
260
+ },
261
+ {
262
+ "date": "2023-03-11",
263
+ "Midwest": "5.113011220726006",
264
+ "National": "3.9048182945265064",
265
+ "Northeast": "2.289439984865603",
266
+ "South": "2.4672665528882276",
267
+ "West": "4.570791992045881",
268
+ "date_period": "1 Year"
269
+ },
270
+ {
271
+ "date": "2023-03-18",
272
+ "Midwest": "5.059914612995129",
273
+ "National": "3.9944765126000665",
274
+ "Northeast": "3.226666154117428",
275
+ "South": "2.4838725270229642",
276
+ "West": "5.004944278889979",
277
+ "date_period": "1 Year"
278
+ },
279
+ {
280
+ "date": "2023-03-25",
281
+ "Midwest": "4.924611094884151",
282
+ "National": "4.024775673732773",
283
+ "Northeast": "2.9003656129643325",
284
+ "South": "3.3683350703873733",
285
+ "West": "4.635216708368722",
286
+ "date_period": "1 Year"
287
+ },
288
+ {
289
+ "date": "2023-04-01",
290
+ "Midwest": "3.868027556189668",
291
+ "National": "3.0549064385303244",
292
+ "Northeast": "1.7329183163097823",
293
+ "South": "2.609190621463708",
294
+ "West": "3.7191255429656547",
295
+ "date_period": "1 Year"
296
+ },
297
+ {
298
+ "date": "2023-04-08",
299
+ "Midwest": "3.719981682830566",
300
+ "National": "2.558774138742368",
301
+ "Northeast": "1.5022064721298305",
302
+ "South": "2.0840527468551837",
303
+ "West": "2.9019171750195802",
304
+ "date_period": "1 Year"
305
+ },
306
+ {
307
+ "date": "2023-04-15",
308
+ "Midwest": "3.015427425892849",
309
+ "National": "2.520827101206238",
310
+ "Northeast": "1.513553894703059",
311
+ "South": "2.0176465683784928",
312
+ "West": "2.829109631469588",
313
+ "date_period": "1 Year"
314
+ },
315
+ {
316
+ "date": "2023-04-22",
317
+ "Midwest": "2.8569176948404267",
318
+ "National": "1.967114202580617",
319
+ "Northeast": "1.122800123722251",
320
+ "South": "1.59696780139837",
321
+ "West": "2.258797332282922",
322
+ "date_period": "1 Year"
323
+ },
324
+ {
325
+ "date": "2023-04-29",
326
+ "Midwest": "2.0973366823187294",
327
+ "National": "1.7509275580989534",
328
+ "Northeast": "1.2548941322312646",
329
+ "South": "1.6364315044808753",
330
+ "West": "1.8343239396565565",
331
+ "date_period": "1 Year"
332
+ },
333
+ {
334
+ "date": "2023-05-06",
335
+ "Midwest": "2.2046805070266733",
336
+ "National": "1.8708511214628079",
337
+ "Northeast": "1.4693182594501266",
338
+ "South": "1.7508361735503453",
339
+ "West": "1.9149921290213843",
340
+ "date_period": "1 Year"
341
+ },
342
+ {
343
+ "date": "2023-05-13",
344
+ "Midwest": "2.109646050996471",
345
+ "National": "1.8817375409645012",
346
+ "Northeast": "1.321051729152707",
347
+ "South": "1.7068215135724993",
348
+ "West": "1.9300667729325844",
349
+ "date_period": "1 Year"
350
+ },
351
+ {
352
+ "date": "2023-05-20",
353
+ "Midwest": "1.6044021654233651",
354
+ "National": "1.5111924966558543",
355
+ "Northeast": "1.080524356372055",
356
+ "South": "1.4709522604100824",
357
+ "West": "1.7261056031873276",
358
+ "date_period": "1 Year"
359
+ },
360
+ {
361
+ "date": "2023-05-27",
362
+ "Midwest": "1.5294003739580877",
363
+ "National": "1.4220537122349963",
364
+ "Northeast": "1.2043124319578244",
365
+ "South": "1.3658890775666697",
366
+ "West": "1.4594768353854328",
367
+ "date_period": "1 Year"
368
+ },
369
+ {
370
+ "date": "2023-06-03",
371
+ "Midwest": "1.130314496154145",
372
+ "National": "1.177446705105523",
373
+ "Northeast": "1.0090663998910736",
374
+ "South": "1.3139051323499562",
375
+ "West": "1.3313659280651662",
376
+ "date_period": "1 Year"
377
+ },
378
+ {
379
+ "date": "2023-06-10",
380
+ "Midwest": "1.0",
381
+ "National": "1.0650036401926253",
382
+ "Northeast": "1.0",
383
+ "South": "1.3304143561505573",
384
+ "West": "1.256052220738994",
385
+ "date_period": "1 Year"
386
+ },
387
+ {
388
+ "date": "2023-06-17",
389
+ "Midwest": "1.0449649227399558",
390
+ "National": "1.1034297522157444",
391
+ "Northeast": "1.0423234530576866",
392
+ "South": "1.1983055445601185",
393
+ "West": "1.164312257136787",
394
+ "date_period": "1 Year"
395
+ },
396
+ {
397
+ "date": "2023-06-24",
398
+ "Midwest": "0.9462878327018744",
399
+ "National": "1.011942476817096",
400
+ "Northeast": "1.0077634168067036",
401
+ "South": "1.188906485269398",
402
+ "West": "1.1248765590709267",
403
+ "date_period": "1 Year"
404
+ },
405
+ {
406
+ "date": "2023-07-01",
407
+ "Midwest": "1.0434061440596738",
408
+ "National": "1.1924506414791525",
409
+ "Northeast": "1.0742800619900157",
410
+ "South": "1.801794411384878",
411
+ "West": "1.4117114909972495",
412
+ "date_period": "1 Year"
413
+ },
414
+ {
415
+ "date": "2023-07-08",
416
+ "Midwest": "1.1761993059452218",
417
+ "National": "1.420734847945499",
418
+ "Northeast": "1.2214989733991266",
419
+ "South": "2.129319813289294",
420
+ "West": "1.4864882052898696",
421
+ "date_period": "1 Year"
422
+ },
423
+ {
424
+ "date": "2023-07-15",
425
+ "Midwest": "1.2450366249966989",
426
+ "National": "1.5335522645270723",
427
+ "Northeast": "1.6157055759637255",
428
+ "South": "2.1789261368384754",
429
+ "West": "1.7035641554328738",
430
+ "date_period": "1 Year"
431
+ },
432
+ {
433
+ "date": "2023-07-22",
434
+ "Midwest": "1.4461549643591531",
435
+ "National": "1.8253265839934902",
436
+ "Northeast": "2.3641991521984442",
437
+ "South": "2.6148174585990485",
438
+ "West": "2.1025061240601723",
439
+ "date_period": "1 Year"
440
+ },
441
+ {
442
+ "date": "2023-07-29",
443
+ "Midwest": "1.7196482691322224",
444
+ "National": "2.2328157446868167",
445
+ "Northeast": "2.5863754555412424",
446
+ "South": "3.0002285183877393",
447
+ "West": "2.778876184288715",
448
+ "date_period": "1 Year"
449
+ },
450
+ {
451
+ "date": "2023-08-05",
452
+ "Midwest": "2.056523141656733",
453
+ "National": "2.8706159272930116",
454
+ "Northeast": "2.5513910932932777",
455
+ "South": "4.31249523771192",
456
+ "West": "3.8121561926799976",
457
+ "date_period": "1 Year"
458
+ },
459
+ {
460
+ "date": "2023-08-12",
461
+ "Midwest": "2.729724003917741",
462
+ "National": "3.853293337006486",
463
+ "Northeast": "3.620226115429537",
464
+ "South": "5.694401268758387",
465
+ "West": "4.702737982901351",
466
+ "date_period": "1 Year"
467
+ },
468
+ {
469
+ "date": "2023-08-19",
470
+ "Midwest": "3.5480899762089377",
471
+ "National": "4.308474330035901",
472
+ "Northeast": "3.206907850034673",
473
+ "South": "6.109956581457945",
474
+ "West": "4.579548868067977",
475
+ "date_period": "1 Year"
476
+ },
477
+ {
478
+ "date": "2023-08-26",
479
+ "Midwest": "3.80649447201598",
480
+ "National": "4.575522558074238",
481
+ "Northeast": "3.9011280797153147",
482
+ "South": "6.339778189671586",
483
+ "West": "4.875122212371383",
484
+ "date_period": "1 Year"
485
+ },
486
+ {
487
+ "date": "2023-09-02",
488
+ "Midwest": "4.790540119916323",
489
+ "National": "5.164510042418067",
490
+ "Northeast": "4.589232391237448",
491
+ "South": "7.344375381213198",
492
+ "West": "5.264607090488115",
493
+ "date_period": "1 Year"
494
+ },
495
+ {
496
+ "date": "2023-09-09",
497
+ "Midwest": "5.528704763749088",
498
+ "National": "6.0145787218817",
499
+ "Northeast": "6.268515891713004",
500
+ "South": "7.573367621373268",
501
+ "West": "5.087162752810416",
502
+ "date_period": "1 Year"
503
+ },
504
+ {
505
+ "date": "2023-09-16",
506
+ "Midwest": "4.877870916956758",
507
+ "National": "5.149336845071886",
508
+ "Northeast": "6.8054066871516445",
509
+ "South": "5.220445281127148",
510
+ "West": "4.203483224839145",
511
+ "date_period": "1 Year"
512
+ },
513
+ {
514
+ "date": "2023-09-23",
515
+ "Midwest": "4.381940043257222",
516
+ "National": "4.926933052901041",
517
+ "Northeast": "7.146515238921127",
518
+ "South": "4.979774258514944",
519
+ "West": "3.8939510137664177",
520
+ "date_period": "1 Year"
521
+ },
522
+ {
523
+ "date": "2023-09-30",
524
+ "Midwest": "4.339801918734262",
525
+ "National": "4.672862879964141",
526
+ "Northeast": "7.295487519438908",
527
+ "South": "4.5097048696820154",
528
+ "West": "4.0360163359321",
529
+ "date_period": "1 Year"
530
+ },
531
+ {
532
+ "date": "2023-10-07",
533
+ "Midwest": "3.3956807996255227",
534
+ "National": "4.00518693221387",
535
+ "Northeast": "7.2473339614291294",
536
+ "South": "3.521081210404258",
537
+ "West": "3.5525746461157808",
538
+ "date_period": "1 Year"
539
+ },
540
+ {
541
+ "date": "2023-10-14",
542
+ "Midwest": "2.849073874751461",
543
+ "National": "3.328839536044348",
544
+ "Northeast": "4.693844990550648",
545
+ "South": "3.1578392542453555",
546
+ "West": "3.3725969112803265",
547
+ "date_period": "1 Year"
548
+ },
549
+ {
550
+ "date": "2023-10-21",
551
+ "Midwest": "3.12623980471831",
552
+ "National": "3.6024329267006263",
553
+ "Northeast": "4.923041229498098",
554
+ "South": "3.154231756210538",
555
+ "West": "3.505153643192842",
556
+ "date_period": "1 Year"
557
+ },
558
+ {
559
+ "date": "2023-10-28",
560
+ "Midwest": "3.830861678840459",
561
+ "National": "3.637521444625786",
562
+ "Northeast": "4.631588500073732",
563
+ "South": "3.4172045562821274",
564
+ "West": "2.9005963615652597",
565
+ "date_period": "1 Year"
566
+ },
567
+ {
568
+ "date": "2023-11-04",
569
+ "Midwest": "3.789366869321754",
570
+ "National": "3.767099719674863",
571
+ "Northeast": "5.0805440999571525",
572
+ "South": "3.4613461242499595",
573
+ "West": "2.8982852436112942",
574
+ "date_period": "1 Year"
575
+ },
576
+ {
577
+ "date": "2023-11-11",
578
+ "Midwest": "5.1368043497803235",
579
+ "National": "4.2619831239318975",
580
+ "Northeast": "3.661185219688459",
581
+ "South": "3.8956404775909625",
582
+ "West": "4.005417294586739",
583
+ "date_period": "1 Year"
584
+ },
585
+ {
586
+ "date": "2023-11-18",
587
+ "Midwest": "5.685478518973056",
588
+ "National": "4.830465534116303",
589
+ "Northeast": "4.445767691888773",
590
+ "South": "3.8755583095577575",
591
+ "West": "4.629098089003656",
592
+ "date_period": "1 Year"
593
+ },
594
+ {
595
+ "date": "2023-11-25",
596
+ "Midwest": "7.398201710338077",
597
+ "National": "5.6195737437772895",
598
+ "Northeast": "5.705124957649349",
599
+ "South": "4.331841634942885",
600
+ "West": "4.367275585439126",
601
+ "date_period": "1 Year"
602
+ },
603
+ {
604
+ "date": "2023-12-02",
605
+ "Midwest": "10.592291861921137",
606
+ "National": "7.344762193405436",
607
+ "Northeast": "6.441179042281829",
608
+ "South": "6.812526979646203",
609
+ "West": "5.0551816936373735",
610
+ "date_period": "1 Year"
611
+ },
612
+ {
613
+ "date": "2023-12-09",
614
+ "Midwest": "10.129806106261078",
615
+ "National": "8.02311369754569",
616
+ "Northeast": "8.849830257706294",
617
+ "South": "6.5207027766030095",
618
+ "West": "5.6235316346125686",
619
+ "date_period": "1 Year"
620
+ },
621
+ {
622
+ "date": "2023-12-16",
623
+ "Midwest": "10.784602569312842",
624
+ "National": "9.274627586589782",
625
+ "Northeast": "11.36646009007693",
626
+ "South": "9.100060576452165",
627
+ "West": "6.425939165287937",
628
+ "date_period": "1 Year"
629
+ },
630
+ {
631
+ "date": "2023-12-23",
632
+ "Midwest": "12.620749724510956",
633
+ "National": "11.229236218710309",
634
+ "Northeast": "10.78633651313535",
635
+ "South": "12.491489744223255",
636
+ "West": "10.475263555813221",
637
+ "date_period": "1 Year"
638
+ }
639
+ ],
640
+ "active": false,
641
+ "pattern_id": "brush_pattern",
642
+ "accent_color": "#ddd"
643
+ },
644
+ "exclusions": {
645
+ "active": false,
646
+ "keys": []
647
+ },
648
+ "palette": "qualitative-soft",
649
+ "isPaletteReversed": false,
650
+ "twoColor": {
651
+ "palette": "monochrome-1",
652
+ "isPaletteReversed": false
653
+ },
654
+ "labels": false,
655
+ "dataFormat": {
656
+ "commas": false,
657
+ "prefix": "",
658
+ "suffix": "",
659
+ "abbreviated": true,
660
+ "bottomSuffix": "",
661
+ "bottomPrefix": "",
662
+ "bottomAbbreviated": false,
663
+ "roundTo": "2"
664
+ },
665
+ "confidenceKeys": {},
666
+ "visual": {
667
+ "border": true,
668
+ "accent": true,
669
+ "background": true,
670
+ "verticalHoverLine": true,
671
+ "horizontalHoverLine": false
672
+ },
673
+ "useLogScale": false,
674
+ "filterBehavior": "Filter Change",
675
+ "highlightedBarValues": [],
676
+ "series": [
677
+ {
678
+ "dataKey": "National",
679
+ "type": "Line",
680
+ "axis": "Left",
681
+ "tooltip": true,
682
+ "lineType": "curveNatural"
683
+ },
684
+ {
685
+ "dataKey": "Midwest",
686
+ "type": "Line",
687
+ "axis": "Left",
688
+ "tooltip": true,
689
+ "lineType": "curveNatural"
690
+ },
691
+ {
692
+ "dataKey": "South",
693
+ "type": "Line",
694
+ "axis": "Left",
695
+ "tooltip": true,
696
+ "lineType": "curveNatural"
697
+ },
698
+ {
699
+ "dataKey": "Northeast",
700
+ "type": "Line",
701
+ "axis": "Left",
702
+ "tooltip": true,
703
+ "lineType": "curveNatural"
704
+ },
705
+ {
706
+ "dataKey": "West",
707
+ "type": "Line",
708
+ "axis": "Left",
709
+ "tooltip": true,
710
+ "lineType": "curveNatural"
711
+ }
712
+ ],
713
+ "tooltips": {
714
+ "opacity": 90,
715
+ "singleSeries": false
716
+ },
717
+ "forestPlot": {
718
+ "startAt": 0,
719
+ "colors": {
720
+ "line": "",
721
+ "shape": ""
722
+ },
723
+ "lineOfNoEffect": {
724
+ "show": true
725
+ },
726
+ "type": "",
727
+ "pooledResult": {
728
+ "diamondHeight": 5,
729
+ "column": ""
730
+ },
731
+ "estimateField": "",
732
+ "estimateRadius": "",
733
+ "shape": "",
734
+ "rowHeight": 20,
735
+ "description": {
736
+ "show": true,
737
+ "text": "description",
738
+ "location": 0
739
+ },
740
+ "result": {
741
+ "show": true,
742
+ "text": "result",
743
+ "location": 100
744
+ },
745
+ "radius": {
746
+ "min": 1,
747
+ "max": 8,
748
+ "scalingColumn": ""
749
+ },
750
+ "regression": {
751
+ "lower": 0,
752
+ "upper": 0,
753
+ "estimateField": 0
754
+ },
755
+ "leftWidthOffset": 0,
756
+ "rightWidthOffset": 0,
757
+ "showZeroLine": false,
758
+ "hideDateCategoryCol": false,
759
+ "leftLabel": "",
760
+ "rightLabel": "",
761
+ "width": "auto",
762
+ "lowerCiField": "",
763
+ "upperCiField": ""
764
+ },
765
+ "area": {
766
+ "isStacked": false
767
+ },
768
+ "showChartBrush": false,
769
+ "customColors": [
770
+ "#000000",
771
+ "#F7A866",
772
+ "#844774",
773
+ "#7EB0C4",
774
+ "#0A6C75",
775
+ "#C0F2FD",
776
+ "#C0F2FD",
777
+ "#C0F2FD",
778
+ "#C0F2FD"
779
+ ],
780
+ "datasets": {},
781
+ "visualizationType": "Line",
782
+ "dataUrl": "./examples/private/testing-data.json",
783
+ "dataFileName": "./examples/private/testing-data.json",
784
+ "dataFileSourceType": "url",
785
+ "dataDescription": {
786
+ "horizontal": false,
787
+ "series": false
788
+ },
789
+ "validated": 4.23,
790
+ "dynamicMarginTop": 0,
791
+ "filters": [
792
+ {
793
+ "values": [
794
+ "1 Year",
795
+ "6 Months",
796
+ "45 Days",
797
+ "All Results"
798
+ ],
799
+ "active": "1 Year",
800
+ "filterStyle": "dropdown",
801
+ "order": "asc",
802
+ "columnName": "date_period"
803
+ }
804
+ ],
805
+ "runtimeDataUrl": "./examples/private/testing.json",
806
+ "regions": [
807
+ {
808
+ "from": "2023-12-30",
809
+ "to": "2024-01-13",
810
+ "label": ""
811
+ }
812
+ ],
813
+ "introText": "",
814
+ "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.<br/> <br/> Data last updated <span class=\"date\">FromDB</span></div>",
815
+ "footnotes": ""
816
+ }