@cdc/chart 4.24.1 → 4.24.3

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 (82) hide show
  1. package/dist/cdcchart.js +48948 -37923
  2. package/examples/{private/combo.json → chart-regression-1.json} +40 -31
  3. package/examples/chart-regression-2.json +2360 -0
  4. package/examples/feature/filters/url-filter.json +1076 -0
  5. package/examples/feature/line/line-chart-preliminary.json +84 -37
  6. package/examples/feature/line/line-chart.json +2 -1
  7. package/examples/feature/regions/index.json +55 -5
  8. package/examples/feature/sankey/sankey-example-data.json +1364 -0
  9. package/examples/feature/sankey/sankey_chart_data.csv +20 -0
  10. package/examples/gallery/bar-chart-vertical/vertical-bar-chart-stacked.json +306 -19
  11. package/examples/sparkline.json +868 -0
  12. package/index.html +128 -121
  13. package/package.json +4 -2
  14. package/src/CdcChart.tsx +73 -38
  15. package/src/_stories/ChartEditor.stories.tsx +15 -4
  16. package/src/_stories/_mock/pie_config.json +4 -3
  17. package/src/_stories/_mock/url_filter.json +1076 -0
  18. package/src/components/AreaChart/components/AreaChart.Stacked.jsx +2 -1
  19. package/src/components/AreaChart/components/AreaChart.jsx +2 -25
  20. package/src/components/BarChart/components/BarChart.Horizontal.tsx +39 -49
  21. package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +36 -56
  22. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +36 -41
  23. package/src/components/BarChart/components/BarChart.Vertical.tsx +48 -64
  24. package/src/components/BoxPlot/BoxPlot.jsx +11 -9
  25. package/src/components/DeviationBar.jsx +3 -3
  26. package/src/components/EditorPanel/EditorPanel.tsx +1717 -1961
  27. package/src/components/EditorPanel/EditorPanelContext.ts +40 -0
  28. package/src/components/EditorPanel/components/Panels/Panel.BoxPlot.tsx +148 -0
  29. package/src/components/EditorPanel/components/{Panel.ForestPlotSettings.tsx → Panels/Panel.ForestPlotSettings.tsx} +16 -7
  30. package/src/components/EditorPanel/components/Panels/Panel.General.tsx +160 -0
  31. package/src/components/EditorPanel/components/{Panel.Regions.tsx → Panels/Panel.Regions.tsx} +6 -6
  32. package/src/components/EditorPanel/components/Panels/Panel.Sankey.tsx +108 -0
  33. package/src/components/EditorPanel/components/{Panel.Series.tsx → Panels/Panel.Series.tsx} +50 -6
  34. package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +338 -0
  35. package/src/components/EditorPanel/components/Panels/index.tsx +19 -0
  36. package/src/components/EditorPanel/components/panels.scss +11 -0
  37. package/src/components/EditorPanel/editor-panel.scss +1 -13
  38. package/src/components/EditorPanel/useEditorPermissions.js +44 -13
  39. package/src/components/Legend/Legend.Component.tsx +207 -0
  40. package/src/components/Legend/Legend.tsx +8 -327
  41. package/src/components/Legend/helpers/createFormatLabels.tsx +140 -0
  42. package/src/components/LineChart/LineChartProps.ts +2 -1
  43. package/src/components/LineChart/components/LineChart.Circle.tsx +85 -52
  44. package/src/components/LineChart/helpers.ts +3 -3
  45. package/src/components/LineChart/index.tsx +99 -23
  46. package/src/components/LinearChart.jsx +12 -33
  47. package/src/components/PairedBarChart.jsx +10 -12
  48. package/src/components/PieChart/PieChart.tsx +80 -27
  49. package/src/components/Regions/components/Regions.tsx +120 -69
  50. package/src/components/Sankey/index.tsx +434 -0
  51. package/src/components/Sankey/sankey.scss +153 -0
  52. package/src/components/Sankey/types/index.ts +16 -0
  53. package/src/components/ScatterPlot/ScatterPlot.jsx +1 -0
  54. package/src/components/Sparkline/{SparkLine.jsx → components/SparkLine.tsx} +14 -30
  55. package/src/components/Sparkline/index.scss +3 -0
  56. package/src/components/Sparkline/index.tsx +1 -1
  57. package/src/components/ZoomBrush.tsx +2 -1
  58. package/src/data/initial-state.js +51 -4
  59. package/src/helpers/computeMarginBottom.ts +4 -3
  60. package/src/helpers/tests/computeMarginBottom.test.ts +2 -1
  61. package/src/hooks/useBarChart.js +5 -2
  62. package/src/hooks/useHighlightedBars.js +1 -1
  63. package/src/hooks/useMinMax.ts +3 -3
  64. package/src/hooks/useScales.ts +28 -18
  65. package/src/hooks/useTooltip.tsx +19 -14
  66. package/src/scss/main.scss +8 -96
  67. package/src/types/ChartConfig.ts +47 -20
  68. package/src/types/ChartContext.ts +17 -4
  69. package/src/types/Label.ts +7 -0
  70. package/examples/private/chart-t.json +0 -3740
  71. package/examples/private/epi-data.csv +0 -13
  72. package/examples/private/epi-data.json +0 -62
  73. package/examples/private/epi.json +0 -403
  74. package/examples/private/occupancy.json +0 -109283
  75. package/examples/private/prod-line-config.json +0 -401
  76. package/examples/private/region-data.json +0 -822
  77. package/examples/private/region-testing.json +0 -312
  78. package/examples/private/scaling.json +0 -45325
  79. package/examples/private/testing-data.json +0 -1739
  80. package/examples/private/testing.json +0 -816
  81. package/src/components/EditorPanel/components/Panel.DateHighlighting.tsx +0 -109
  82. package/src/components/EditorPanel/components/Panels.tsx +0 -13
@@ -1,816 +0,0 @@
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
- }