@cdc/chart 4.23.10 → 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 (125) hide show
  1. package/dist/cdcchart.js +34606 -32218
  2. package/examples/feature/bar/additional-column-tooltip.json +446 -0
  3. package/examples/feature/bar/example-bar-chart.json +1 -46
  4. package/examples/feature/bar/lollipop.json +156 -0
  5. package/examples/feature/bar/tall-data.json +98 -0
  6. package/examples/feature/combo/planet-combo-example-config.json +99 -9
  7. package/examples/feature/dev-4261.json +399 -0
  8. package/examples/feature/forest-plot/forest-plot.json +63 -19
  9. package/examples/feature/forest-plot/{broken.json → linear.json} +77 -23
  10. package/examples/feature/forest-plot/log.json +26 -0
  11. package/examples/feature/forest-plot/logarithmic.json +271 -0
  12. package/examples/feature/line/line-chart-preliminary.json +346 -0
  13. package/examples/feature/line/line-points.json +340 -0
  14. package/examples/feature/regions/index.json +462 -0
  15. package/examples/feature/scatterplot/scatterplot.json +272 -33
  16. package/examples/gallery/bar-chart-vertical/combo-line-chart.json +181 -48
  17. package/examples/private/chart-t.json +3740 -0
  18. package/examples/private/combo.json +369 -0
  19. package/examples/private/epi-data.csv +13 -0
  20. package/examples/private/epi-data.json +62 -0
  21. package/examples/private/epi.json +403 -0
  22. package/examples/private/occupancy.json +109283 -0
  23. package/examples/private/prod-line-config.json +401 -0
  24. package/examples/private/region-data.json +822 -0
  25. package/examples/private/region-testing.json +312 -0
  26. package/examples/private/scaling.json +45325 -0
  27. package/examples/private/testing-data.json +1739 -0
  28. package/examples/private/testing.json +816 -0
  29. package/examples/sparkline-multilple.json +846 -0
  30. package/index.html +12 -8
  31. package/package.json +3 -3
  32. package/src/CdcChart.tsx +42 -211
  33. package/src/ConfigContext.tsx +6 -0
  34. package/src/_stories/Chart.stories.tsx +188 -0
  35. package/src/_stories/Chart.tooltip.stories.tsx +305 -0
  36. package/src/_stories/ChartBrush.stories.tsx +19 -0
  37. package/src/_stories/ChartEditor.stories.tsx +22 -0
  38. package/src/_stories/ChartLine.preliminary.tsx +19 -0
  39. package/src/_stories/ChartSuppress.stories.tsx +19 -0
  40. package/src/_stories/_mock/brush_mock.json +393 -0
  41. package/src/_stories/_mock/pie_config.json +191 -0
  42. package/src/_stories/_mock/pie_data.json +218 -0
  43. package/src/_stories/_mock/preliminary_mock.json +346 -0
  44. package/src/_stories/_mock/suppress_mock.json +911 -0
  45. package/src/components/{AreaChart.Stacked.jsx → AreaChart/components/AreaChart.Stacked.jsx} +6 -7
  46. package/src/components/{AreaChart.jsx → AreaChart/components/AreaChart.jsx} +7 -36
  47. package/src/components/AreaChart/index.tsx +4 -0
  48. package/src/components/{BarChart.Horizontal.jsx → BarChart/components/BarChart.Horizontal.tsx} +111 -34
  49. package/src/components/{BarChart.StackedHorizontal.jsx → BarChart/components/BarChart.StackedHorizontal.tsx} +55 -20
  50. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +106 -0
  51. package/src/components/{BarChart.Vertical.jsx → BarChart/components/BarChart.Vertical.tsx} +162 -34
  52. package/src/components/BarChart/components/BarChart.jsx +39 -0
  53. package/src/components/{BarChartType.jsx → BarChart/components/BarChartType.jsx} +0 -2
  54. package/src/components/BarChart/components/context.tsx +13 -0
  55. package/src/components/BarChart/index.tsx +3 -0
  56. package/src/components/{BoxPlot.jsx → BoxPlot/BoxPlot.jsx} +1 -1
  57. package/src/components/BoxPlot/index.tsx +3 -0
  58. package/src/components/DeviationBar.jsx +4 -3
  59. package/src/components/{EditorPanel.jsx → EditorPanel/EditorPanel.tsx} +807 -865
  60. package/src/components/EditorPanel/components/Panel.DateHighlighting.tsx +109 -0
  61. package/src/components/{ForestPlotSettings.jsx → EditorPanel/components/Panel.ForestPlotSettings.tsx} +190 -220
  62. package/src/components/EditorPanel/components/Panel.Regions.tsx +168 -0
  63. package/src/components/{Series.jsx → EditorPanel/components/Panel.Series.tsx} +23 -4
  64. package/src/components/EditorPanel/components/PanelProps.ts +3 -0
  65. package/src/components/EditorPanel/components/Panels.tsx +13 -0
  66. package/src/components/EditorPanel/components/panels.scss +72 -0
  67. package/src/components/EditorPanel/editor-panel.scss +751 -0
  68. package/src/components/EditorPanel/index.tsx +3 -0
  69. package/src/{hooks → components/EditorPanel}/useEditorPermissions.js +50 -5
  70. package/src/components/{Forecasting.jsx → Forecasting/Forecasting.jsx} +1 -1
  71. package/src/components/Forecasting/index.tsx +3 -0
  72. package/src/components/ForestPlot/ForestPlot.tsx +254 -0
  73. package/src/components/ForestPlot/ForestPlotProps.ts +18 -0
  74. package/src/components/ForestPlot/index.scss +1 -0
  75. package/src/components/ForestPlot/index.tsx +3 -0
  76. package/src/components/Legend/Legend.tsx +347 -0
  77. package/src/components/Legend/index.tsx +3 -0
  78. package/src/components/LineChart/LineChartProps.ts +46 -0
  79. package/src/components/{LineChart.Circle.tsx → LineChart/components/LineChart.Circle.tsx} +36 -30
  80. package/src/components/LineChart/helpers.ts +45 -0
  81. package/src/components/LineChart/index.scss +1 -0
  82. package/src/components/{LineChart.tsx → LineChart/index.tsx} +83 -42
  83. package/src/components/LinearChart.jsx +125 -82
  84. package/src/components/PairedBarChart.jsx +2 -2
  85. package/src/components/{PieChart.jsx → PieChart/PieChart.tsx} +16 -7
  86. package/src/components/PieChart/index.tsx +3 -0
  87. package/src/components/Regions/components/Regions.tsx +135 -0
  88. package/src/components/Regions/index.tsx +3 -0
  89. package/src/components/{ScatterPlot.jsx → ScatterPlot/ScatterPlot.jsx} +3 -3
  90. package/src/components/ScatterPlot/index.tsx +3 -0
  91. package/src/components/{SparkLine.jsx → Sparkline/SparkLine.jsx} +2 -2
  92. package/src/components/Sparkline/index.tsx +3 -0
  93. package/src/components/ZoomBrush.tsx +168 -0
  94. package/src/data/initial-state.js +30 -16
  95. package/src/helpers/abbreviateNumber.ts +17 -0
  96. package/src/helpers/computeMarginBottom.ts +55 -0
  97. package/src/helpers/filterData.ts +18 -0
  98. package/src/helpers/generateColorsArray.ts +8 -0
  99. package/src/helpers/getQuartiles.ts +30 -0
  100. package/src/helpers/handleChartAriaLabels.ts +19 -0
  101. package/src/helpers/handleLineType.ts +18 -0
  102. package/src/helpers/lineOptions.ts +18 -0
  103. package/src/helpers/sort.ts +7 -0
  104. package/src/helpers/tests/computeMarginBottom.test.ts +20 -0
  105. package/src/hooks/useBarChart.js +72 -7
  106. package/src/hooks/useColorScale.ts +50 -0
  107. package/src/hooks/{useMinMax.js → useMinMax.ts} +75 -23
  108. package/src/hooks/{useRightAxis.js → useRightAxis.ts} +10 -2
  109. package/src/hooks/{useScales.js → useScales.ts} +64 -17
  110. package/src/hooks/{useTooltip.jsx → useTooltip.tsx} +84 -55
  111. package/src/scss/main.scss +70 -38
  112. package/src/types/ChartConfig.ts +178 -0
  113. package/src/types/ChartContext.ts +54 -0
  114. package/src/types/ForestPlot.ts +53 -0
  115. package/examples/feature/scatterplot/scatterplot-continuous.csv +0 -17
  116. package/src/ConfigContext.jsx +0 -5
  117. package/src/components/BarChart.StackedVertical.jsx +0 -95
  118. package/src/components/BarChart.jsx +0 -30
  119. package/src/components/ForestPlot.jsx +0 -191
  120. package/src/components/Legend.jsx +0 -277
  121. package/src/scss/LinearChart.scss +0 -0
  122. package/src/scss/editor-panel.scss +0 -745
  123. package/src/scss/legend.scss +0 -206
  124. package/src/scss/mixins.scss +0 -0
  125. package/src/scss/variables.scss +0 -1
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "type": "chart",
3
3
  "debugSvg": false,
4
+ "chartMessage": {
5
+ "noData": "No Data Available"
6
+ },
4
7
  "title": "Forest Plot Example",
5
8
  "showTitle": true,
6
9
  "showDownloadMediaButton": false,
@@ -8,6 +11,7 @@
8
11
  "animate": false,
9
12
  "fontSize": "medium",
10
13
  "lineDatapointStyle": "hover",
14
+ "lineDatapointColor": "Same as Line",
11
15
  "barHasBorder": "false",
12
16
  "isLollipopChart": false,
13
17
  "lollipopShape": "circle",
@@ -24,6 +28,7 @@
24
28
  "left": 5,
25
29
  "right": 5
26
30
  },
31
+ "suppressedData": [],
27
32
  "yAxis": {
28
33
  "hideAxis": true,
29
34
  "displayNumbersOnBar": false,
@@ -94,6 +99,7 @@
94
99
  "horizontal": 750
95
100
  },
96
101
  "xAxis": {
102
+ "sortDates": false,
97
103
  "anchors": [],
98
104
  "type": "categorical",
99
105
  "showTargetLabel": true,
@@ -115,7 +121,8 @@
115
121
  "maxTickRotation": 0,
116
122
  "dataKey": "Author(s) and Year",
117
123
  "label": "",
118
- "labelPlacement": "On Date/Category Axis"
124
+ "labelPlacement": "On Date/Category Axis",
125
+ "tickWidthMax": 37
119
126
  },
120
127
  "table": {
121
128
  "label": "Data Table",
@@ -133,18 +140,27 @@
133
140
  "orientation": "horizontal",
134
141
  "color": "pinkpurple",
135
142
  "columns": {
136
- "additionalColumn4": {
137
- "label": "Result",
143
+ "Estimate": {
144
+ "dataKey": "Estimate",
145
+ "name": "Estimate",
146
+ "dataTable": true,
147
+ "tooltips": true
148
+ },
149
+ "Lower": {
150
+ "dataKey": "Lower",
151
+ "name": "Lower",
152
+ "dataTable": true,
153
+ "tooltips": true
154
+ },
155
+ "Upper": {
156
+ "dataKey": "Upper",
157
+ "name": "Upper",
138
158
  "dataTable": true,
139
- "tooltips": false,
140
- "prefix": "",
141
- "suffix": "",
142
- "name": "Result",
143
- "forestPlotAlignRight": true,
144
- "forestPlot": true
159
+ "tooltips": true
145
160
  }
146
161
  },
147
162
  "legend": {
163
+ "hide": true,
148
164
  "behavior": "isolate",
149
165
  "singleRow": false,
150
166
  "colorCode": "",
@@ -155,7 +171,14 @@
155
171
  "dynamicLegendItemLimit": 5,
156
172
  "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
157
173
  "dynamicLegendChartMessage": "Select Options from the Legend",
158
- "hide": true
174
+ "lineMode": false,
175
+ "verticalSorted": false,
176
+ "highlightOnHover": false
177
+ },
178
+ "brush": {
179
+ "height": 25,
180
+ "data": [],
181
+ "active": false
159
182
  },
160
183
  "exclusions": {
161
184
  "active": true,
@@ -188,9 +211,17 @@
188
211
  "useLogScale": false,
189
212
  "filterBehavior": "Filter Change",
190
213
  "highlightedBarValues": [],
191
- "series": [],
214
+ "series": [
215
+ {
216
+ "dataKey": "Confidence",
217
+ "type": "Forest Plot",
218
+ "axis": "Left",
219
+ "tooltip": true
220
+ }
221
+ ],
192
222
  "tooltips": {
193
- "opacity": 90
223
+ "opacity": 90,
224
+ "singleSeries": false
194
225
  },
195
226
  "forestPlot": {
196
227
  "startAt": "0",
@@ -198,13 +229,18 @@
198
229
  "line": "",
199
230
  "shape": ""
200
231
  },
232
+ "lineOfNoEffect": {
233
+ "show": true
234
+ },
235
+ "type": "Linear",
236
+ "pooledResult": {
237
+ "diamondHeight": 5,
238
+ "column": ""
239
+ },
201
240
  "estimateField": "Estimate",
202
241
  "estimateRadius": "",
203
- "lowerCiField": "",
204
- "upperCiField": "",
205
242
  "shape": "circle",
206
243
  "rowHeight": "20",
207
- "showZeroLine": true,
208
244
  "description": {
209
245
  "show": true,
210
246
  "text": "description",
@@ -216,9 +252,9 @@
216
252
  "location": 100
217
253
  },
218
254
  "radius": {
219
- "min": 1,
255
+ "min": 3,
220
256
  "max": 5,
221
- "scalingColumn": "Estimate"
257
+ "scalingColumn": "N"
222
258
  },
223
259
  "regression": {
224
260
  "showBaseLine": true,
@@ -227,6 +263,13 @@
227
263
  "lower": "#87c4c3",
228
264
  "estimateField": "-10"
229
265
  },
266
+ "leftWidthOffset": "15",
267
+ "rightWidthOffset": "25",
268
+ "showZeroLine": true,
269
+ "leftLabel": "left",
270
+ "rightLabel": "right",
271
+ "lowerCiField": "",
272
+ "upperCiField": "",
230
273
  "hasZeroLine": true,
231
274
  "lower": "Lower",
232
275
  "upper": "Upper",
@@ -235,11 +278,12 @@
235
278
  },
236
279
  "title": "Plot Title 2",
237
280
  "padding": "200",
238
- "leftWidthOffset": "15",
239
- "rightWidthOffset": "25",
240
281
  "leftWidthOffsetMobile": "45",
241
282
  "rightWidthOffsetMobile": "45"
242
283
  },
284
+ "area": {
285
+ "isStacked": false
286
+ },
243
287
  "datasets": {},
244
288
  "visualizationType": "Forest Plot",
245
289
  "data": [
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "type": "chart",
3
3
  "debugSvg": false,
4
+ "chartMessage": {
5
+ "noData": "No Data Available"
6
+ },
4
7
  "title": "",
5
8
  "showTitle": true,
6
9
  "showDownloadMediaButton": false,
7
- "showChartBrush": false,
8
10
  "theme": "theme-blue",
9
11
  "animate": false,
10
12
  "fontSize": "medium",
11
13
  "lineDatapointStyle": "hover",
14
+ "lineDatapointColor": "Same as Line",
12
15
  "barHasBorder": "false",
13
16
  "isLollipopChart": false,
14
17
  "lollipopShape": "circle",
@@ -25,6 +28,7 @@
25
28
  "left": 5,
26
29
  "right": 5
27
30
  },
31
+ "suppressedData": [],
28
32
  "yAxis": {
29
33
  "hideAxis": false,
30
34
  "displayNumbersOnBar": false,
@@ -48,7 +52,8 @@
48
52
  "numTicks": "",
49
53
  "axisPadding": 0,
50
54
  "tickRotation": 0,
51
- "anchors": []
55
+ "anchors": [],
56
+ "type": "Linear"
52
57
  },
53
58
  "boxplot": {
54
59
  "plots": [],
@@ -92,6 +97,7 @@
92
97
  "horizontal": 750
93
98
  },
94
99
  "xAxis": {
100
+ "sortDates": false,
95
101
  "anchors": [],
96
102
  "type": "categorical",
97
103
  "showTargetLabel": true,
@@ -111,7 +117,8 @@
111
117
  "axisPadding": 0,
112
118
  "target": 0,
113
119
  "maxTickRotation": 0,
114
- "dataKey": "Author(s) and Year"
120
+ "dataKey": "Author(s) and Year",
121
+ "tickWidthMax": 37
115
122
  },
116
123
  "table": {
117
124
  "label": "Data Table",
@@ -128,8 +135,21 @@
128
135
  },
129
136
  "orientation": "horizontal",
130
137
  "color": "pinkpurple",
131
- "columns": {},
138
+ "columns": {
139
+ "additionalColumn1": {
140
+ "label": "Estimate Field",
141
+ "dataTable": true,
142
+ "tooltips": false,
143
+ "prefix": "",
144
+ "suffix": "",
145
+ "forestPlot": false,
146
+ "startingPoint": "0",
147
+ "forestPlotAlignRight": false,
148
+ "name": "Estimate"
149
+ }
150
+ },
132
151
  "legend": {
152
+ "hide": true,
133
153
  "behavior": "isolate",
134
154
  "singleRow": false,
135
155
  "colorCode": "",
@@ -140,7 +160,16 @@
140
160
  "dynamicLegendItemLimit": 5,
141
161
  "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
142
162
  "dynamicLegendChartMessage": "Select Options from the Legend",
143
- "hide": true
163
+ "lineMode": false,
164
+ "verticalSorted": false,
165
+ "highlightOnHover": false
166
+ },
167
+ "brush": {
168
+ "height": 25,
169
+ "data": [],
170
+ "active": false,
171
+ "pattern_id": "brush_pattern",
172
+ "accent_color": "#ddd"
144
173
  },
145
174
  "exclusions": {
146
175
  "active": false,
@@ -175,22 +204,26 @@
175
204
  "highlightedBarValues": [],
176
205
  "series": [],
177
206
  "tooltips": {
178
- "opacity": 90
207
+ "opacity": 90,
208
+ "singleSeries": false
179
209
  },
180
210
  "forestPlot": {
181
211
  "startAt": 0,
182
- "width": "auto",
183
212
  "colors": {
184
213
  "line": "",
185
214
  "shape": ""
186
215
  },
216
+ "lineOfNoEffect": {
217
+ "show": true
218
+ },
219
+ "type": "Linear",
220
+ "pooledResult": {
221
+ "diamondHeight": 5,
222
+ "column": "Total"
223
+ },
187
224
  "estimateField": "Estimate",
188
225
  "estimateRadius": "",
189
- "lowerCiField": "",
190
- "upperCiField": "",
191
- "shape": "circle",
192
226
  "rowHeight": 20,
193
- "showZeroLine": false,
194
227
  "description": {
195
228
  "show": true,
196
229
  "text": "description",
@@ -202,27 +235,28 @@
202
235
  "location": 100
203
236
  },
204
237
  "radius": {
205
- "min": 1,
206
- "max": 8,
207
- "scalingColumn": ""
238
+ "min": 3,
239
+ "max": 10,
240
+ "scalingColumn": "N"
208
241
  },
209
242
  "regression": {
210
243
  "lower": 0,
211
244
  "upper": 0,
212
245
  "estimateField": 0
213
246
  },
214
- "leftWidthOffset": "17",
215
- "rightWidthOffset": "30",
247
+ "leftWidthOffset": 0,
248
+ "rightWidthOffset": 0,
249
+ "showZeroLine": false,
250
+ "hideDateCategoryCol": false,
251
+ "leftLabel": "",
252
+ "rightLabel": "",
216
253
  "lower": "Lower",
217
- "upper": "Upper",
218
- "rightWidthOffsetMobile": "0",
219
- "title": "test",
220
- "leftWidthOffsetMobile": "51"
254
+ "upper": "Upper"
221
255
  },
222
- "brush": {
223
- "pattern_id": "brush_pattern",
224
- "accent_color": "#ddd"
256
+ "area": {
257
+ "isStacked": false
225
258
  },
259
+ "showChartBrush": false,
226
260
  "datasets": {},
227
261
  "visualizationType": "Forest Plot",
228
262
  "data": [
@@ -455,6 +489,16 @@
455
489
  "Lower": "-168.5",
456
490
  "Upper": "196.5",
457
491
  "Result": "14 [-168.5, 196.5]"
492
+ },
493
+ {
494
+ "Author(s) and Year": "Total",
495
+ "Confidence": "L",
496
+ "Timing": "B",
497
+ "N": "1880",
498
+ "Estimate": "-20",
499
+ "Lower": "-30",
500
+ "Upper": "-10",
501
+ "Result": "14 [-168.5, 196.5]"
458
502
  }
459
503
  ],
460
504
  "dataFileName": "valid-forest-plot-data.csv",
@@ -689,6 +733,16 @@
689
733
  "Lower": "-168.5",
690
734
  "Upper": "196.5",
691
735
  "Result": "14 [-168.5, 196.5]"
736
+ },
737
+ {
738
+ "Author(s) and Year": "Total",
739
+ "Confidence": "L",
740
+ "Timing": "B",
741
+ "N": "1880",
742
+ "Estimate": "14",
743
+ "Lower": "-10",
744
+ "Upper": "10",
745
+ "Result": "14 [-168.5, 196.5]"
692
746
  }
693
747
  ],
694
748
  "dataDescription": {
@@ -0,0 +1,26 @@
1
+ [
2
+ {
3
+ "description": "Study 1",
4
+ "low": 0.88,
5
+ "high": 0.95,
6
+ "effect": 0.92
7
+ },
8
+ {
9
+ "description": "Study 2",
10
+ "low": 0.84,
11
+ "high": 0.94,
12
+ "effect": 0.89
13
+ },
14
+ {
15
+ "description": "Study 3",
16
+ "low": 0.88,
17
+ "high": 0.98,
18
+ "effect": 0.93
19
+ },
20
+ {
21
+ "description": "Study 4",
22
+ "low": 0.91,
23
+ "high": 0.99,
24
+ "effect": 0.97
25
+ }
26
+ ]
@@ -0,0 +1,271 @@
1
+ {
2
+ "type": "chart",
3
+ "debugSvg": false,
4
+ "title": "",
5
+ "showTitle": true,
6
+ "showDownloadMediaButton": false,
7
+ "showChartBrush": false,
8
+ "theme": "theme-blue",
9
+ "animate": false,
10
+ "fontSize": "medium",
11
+ "lineDatapointStyle": "hover",
12
+ "barHasBorder": "false",
13
+ "isLollipopChart": false,
14
+ "lollipopShape": "circle",
15
+ "lollipopColorStyle": "two-tone",
16
+ "visualizationSubType": "regular",
17
+ "barStyle": "",
18
+ "roundingStyle": "standard",
19
+ "tipRounding": "top",
20
+ "isResponsiveTicks": false,
21
+ "general": {
22
+ "showDownloadButton": false
23
+ },
24
+ "padding": {
25
+ "left": 5,
26
+ "right": 5
27
+ },
28
+ "yAxis": {
29
+ "hideAxis": false,
30
+ "displayNumbersOnBar": false,
31
+ "hideLabel": false,
32
+ "hideTicks": false,
33
+ "size": 50,
34
+ "gridLines": false,
35
+ "enablePadding": false,
36
+ "min": "",
37
+ "max": "",
38
+ "labelColor": "#333",
39
+ "tickLabelColor": "#333",
40
+ "tickColor": "#333",
41
+ "rightHideAxis": true,
42
+ "rightAxisSize": 0,
43
+ "rightLabel": "",
44
+ "rightLabelOffsetSize": 0,
45
+ "rightAxisLabelColor": "#333",
46
+ "rightAxisTickLabelColor": "#333",
47
+ "rightAxisTickColor": "#333",
48
+ "numTicks": "",
49
+ "axisPadding": 0,
50
+ "tickRotation": 0,
51
+ "anchors": []
52
+ },
53
+ "boxplot": {
54
+ "plots": [],
55
+ "borders": "true",
56
+ "firstQuartilePercentage": 25,
57
+ "thirdQuartilePercentage": 75,
58
+ "boxWidthPercentage": 40,
59
+ "plotOutlierValues": false,
60
+ "plotNonOutlierValues": true,
61
+ "legend": {
62
+ "showHowToReadText": false,
63
+ "howToReadText": ""
64
+ },
65
+ "labels": {
66
+ "q1": "Lower Quartile",
67
+ "q2": "q2",
68
+ "q3": "Upper Quartile",
69
+ "q4": "q4",
70
+ "minimum": "Minimum",
71
+ "maximum": "Maximum",
72
+ "mean": "Mean",
73
+ "median": "Median",
74
+ "sd": "Standard Deviation",
75
+ "iqr": "Interquartile Range",
76
+ "total": "Total",
77
+ "outliers": "Outliers",
78
+ "values": "Values",
79
+ "lowerBounds": "Lower Bounds",
80
+ "upperBounds": "Upper Bounds"
81
+ }
82
+ },
83
+ "topAxis": {
84
+ "hasLine": false
85
+ },
86
+ "isLegendValue": false,
87
+ "barThickness": 0.35,
88
+ "barHeight": 25,
89
+ "barSpace": 15,
90
+ "heights": {
91
+ "vertical": 300,
92
+ "horizontal": 750
93
+ },
94
+ "xAxis": {
95
+ "anchors": [],
96
+ "type": "categorical",
97
+ "showTargetLabel": true,
98
+ "targetLabel": "Target",
99
+ "hideAxis": false,
100
+ "hideLabel": false,
101
+ "hideTicks": false,
102
+ "size": 0,
103
+ "tickRotation": 0,
104
+ "min": "",
105
+ "max": "",
106
+ "labelColor": "#333",
107
+ "tickLabelColor": "#333",
108
+ "tickColor": "#333",
109
+ "numTicks": "",
110
+ "labelOffset": 65,
111
+ "axisPadding": 0,
112
+ "target": 0,
113
+ "maxTickRotation": 0,
114
+ "dataKey": "description"
115
+ },
116
+ "table": {
117
+ "label": "Data Table",
118
+ "expanded": true,
119
+ "limitHeight": false,
120
+ "height": "",
121
+ "caption": "",
122
+ "showDownloadUrl": false,
123
+ "showDataTableLink": true,
124
+ "indexLabel": "",
125
+ "download": false,
126
+ "showVertical": true,
127
+ "show": true
128
+ },
129
+ "orientation": "horizontal",
130
+ "color": "pinkpurple",
131
+ "legend": {
132
+ "behavior": "isolate",
133
+ "singleRow": false,
134
+ "colorCode": "",
135
+ "reverseLabelOrder": false,
136
+ "description": "",
137
+ "dynamicLegend": false,
138
+ "dynamicLegendDefaultText": "Show All",
139
+ "dynamicLegendItemLimit": 5,
140
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
141
+ "dynamicLegendChartMessage": "Select Options from the Legend",
142
+ "hide": true
143
+ },
144
+ "exclusions": {
145
+ "active": false,
146
+ "keys": []
147
+ },
148
+ "palette": "qualitative-bold",
149
+ "isPaletteReversed": false,
150
+ "twoColor": {
151
+ "palette": "monochrome-1",
152
+ "isPaletteReversed": false
153
+ },
154
+ "labels": false,
155
+ "dataFormat": {
156
+ "commas": false,
157
+ "prefix": "",
158
+ "suffix": "",
159
+ "abbreviated": false,
160
+ "bottomSuffix": "",
161
+ "bottomPrefix": "",
162
+ "bottomAbbreviated": false
163
+ },
164
+ "confidenceKeys": {},
165
+ "visual": {
166
+ "border": true,
167
+ "accent": true,
168
+ "background": true,
169
+ "verticalHoverLine": false,
170
+ "horizontalHoverLine": false
171
+ },
172
+ "useLogScale": false,
173
+ "filterBehavior": "Filter Change",
174
+ "highlightedBarValues": [],
175
+ "series": [],
176
+ "tooltips": {
177
+ "opacity": 90
178
+ },
179
+ "forestPlot": {
180
+ "startAt": 0,
181
+ "colors": {
182
+ "line": "",
183
+ "shape": ""
184
+ },
185
+ "lineOfNoEffect": {
186
+ "show": true
187
+ },
188
+ "type": "Logarithmic",
189
+ "pooledResult": {
190
+ "diamondHeight": 5
191
+ },
192
+ "estimateField": "effect",
193
+ "estimateRadius": "",
194
+ "shape": "circle",
195
+ "rowHeight": 20,
196
+ "description": {
197
+ "show": true,
198
+ "text": "description",
199
+ "location": 0
200
+ },
201
+ "result": {
202
+ "show": true,
203
+ "text": "result",
204
+ "location": 100
205
+ },
206
+ "radius": {
207
+ "min": 1,
208
+ "max": 8,
209
+ "scalingColumn": ""
210
+ },
211
+ "regression": {
212
+ "lower": 0,
213
+ "upper": 0,
214
+ "estimateField": 0,
215
+ "showDiamond": false
216
+ },
217
+ "leftWidthOffset": "0",
218
+ "rightWidthOffset": "0",
219
+ "showZeroLine": false,
220
+ "hideDateCategoryCol": false,
221
+ "leftLabel": "left label",
222
+ "rightLabel": "right label",
223
+ "width": "auto",
224
+ "outcome": "",
225
+ "lowerCiField": "",
226
+ "upperCiField": "",
227
+ "lower": "low",
228
+ "upper": "high",
229
+ "rightWidthOffsetMobile": "0",
230
+ "title": "test",
231
+ "leftWidthOffsetMobile": "51"
232
+ },
233
+ "brush": {
234
+ "pattern_id": "brush_pattern",
235
+ "accent_color": "#ddd"
236
+ },
237
+ "datasets": {},
238
+ "visualizationType": "Forest Plot",
239
+ "data": [
240
+ {
241
+ "description": "Study 1",
242
+ "low": 0.88,
243
+ "high": 0.95,
244
+ "effect": 0.92
245
+ },
246
+ {
247
+ "description": "Study 2",
248
+ "low": 0.84,
249
+ "high": 0.94,
250
+ "effect": 0.89
251
+ },
252
+ {
253
+ "description": "Study 3",
254
+ "low": 0.88,
255
+ "high": 0.98,
256
+ "effect": 0.93
257
+ },
258
+ {
259
+ "description": "Study 4",
260
+ "low": 0.91,
261
+ "high": 0.99,
262
+ "effect": 0.97
263
+ }
264
+ ],
265
+ "dataDescription": {
266
+ "horizontal": false,
267
+ "series": false
268
+ },
269
+ "validated": 4.23,
270
+ "dynamicMarginTop": 0
271
+ }