@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
@@ -0,0 +1,393 @@
1
+ {
2
+ "type": "chart",
3
+ "debugSvg": false,
4
+ "chartMessage": {
5
+ "noData": "No Data Available"
6
+ },
7
+ "title": "",
8
+ "showTitle": true,
9
+ "showDownloadMediaButton": false,
10
+ "theme": "theme-blue",
11
+ "animate": false,
12
+ "fontSize": "medium",
13
+ "lineDatapointStyle": "hover",
14
+ "barHasBorder": "false",
15
+ "isLollipopChart": false,
16
+ "lollipopShape": "circle",
17
+ "lollipopColorStyle": "two-tone",
18
+ "visualizationSubType": "regular",
19
+ "barStyle": "",
20
+ "roundingStyle": "standard",
21
+ "tipRounding": "top",
22
+ "isResponsiveTicks": false,
23
+ "general": {
24
+ "showDownloadButton": false
25
+ },
26
+ "padding": {
27
+ "left": 5,
28
+ "right": 5
29
+ },
30
+ "yAxis": {
31
+ "hideAxis": false,
32
+ "displayNumbersOnBar": false,
33
+ "hideLabel": false,
34
+ "hideTicks": false,
35
+ "size": 50,
36
+ "gridLines": false,
37
+ "enablePadding": false,
38
+ "min": "",
39
+ "max": "",
40
+ "labelColor": "#333",
41
+ "tickLabelColor": "#333",
42
+ "tickColor": "#333",
43
+ "rightHideAxis": true,
44
+ "rightAxisSize": 50,
45
+ "rightLabel": "",
46
+ "rightLabelOffsetSize": 0,
47
+ "rightAxisLabelColor": "#333",
48
+ "rightAxisTickLabelColor": "#333",
49
+ "rightAxisTickColor": "#333",
50
+ "numTicks": "",
51
+ "axisPadding": 0,
52
+ "tickRotation": 0,
53
+ "anchors": []
54
+ },
55
+ "boxplot": {
56
+ "plots": [],
57
+ "borders": "true",
58
+ "firstQuartilePercentage": 25,
59
+ "thirdQuartilePercentage": 75,
60
+ "boxWidthPercentage": 40,
61
+ "plotOutlierValues": false,
62
+ "plotNonOutlierValues": true,
63
+ "legend": {
64
+ "showHowToReadText": false,
65
+ "howToReadText": ""
66
+ },
67
+ "labels": {
68
+ "q1": "Lower Quartile",
69
+ "q2": "q2",
70
+ "q3": "Upper Quartile",
71
+ "q4": "q4",
72
+ "minimum": "Minimum",
73
+ "maximum": "Maximum",
74
+ "mean": "Mean",
75
+ "median": "Median",
76
+ "sd": "Standard Deviation",
77
+ "iqr": "Interquartile Range",
78
+ "total": "Total",
79
+ "outliers": "Outliers",
80
+ "values": "Values",
81
+ "lowerBounds": "Lower Bounds",
82
+ "upperBounds": "Upper Bounds"
83
+ }
84
+ },
85
+ "topAxis": {
86
+ "hasLine": false
87
+ },
88
+ "isLegendValue": false,
89
+ "barThickness": 0.35,
90
+ "barHeight": 25,
91
+ "barSpace": 15,
92
+ "heights": {
93
+ "vertical": 300,
94
+ "horizontal": 750
95
+ },
96
+ "xAxis": {
97
+ "sortDates": false,
98
+ "anchors": [],
99
+ "type": "date",
100
+ "showTargetLabel": true,
101
+ "targetLabel": "Target",
102
+ "hideAxis": false,
103
+ "hideLabel": false,
104
+ "hideTicks": false,
105
+ "size": 75,
106
+ "tickRotation": 0,
107
+ "min": "",
108
+ "max": "",
109
+ "labelColor": "#333",
110
+ "tickLabelColor": "#333",
111
+ "tickColor": "#333",
112
+ "numTicks": "",
113
+ "labelOffset": 65,
114
+ "axisPadding": 0,
115
+ "target": 0,
116
+ "maxTickRotation": 0,
117
+ "dataKey": "Date",
118
+ "dateParseFormat": "%m/%d/%Y",
119
+ "dateDisplayFormat": "%m/%d/%Y",
120
+ "tickWidthMax": 91
121
+ },
122
+ "table": {
123
+ "label": "Data Table",
124
+ "expanded": true,
125
+ "limitHeight": false,
126
+ "height": "",
127
+ "caption": "",
128
+ "showDownloadUrl": false,
129
+ "showDataTableLink": true,
130
+ "indexLabel": "",
131
+ "download": false,
132
+ "showVertical": true,
133
+ "show": true
134
+ },
135
+ "orientation": "vertical",
136
+ "color": "pinkpurple",
137
+ "columns": {},
138
+ "legend": {
139
+ "hide": false,
140
+ "behavior": "isolate",
141
+ "singleRow": false,
142
+ "colorCode": "",
143
+ "reverseLabelOrder": false,
144
+ "description": "",
145
+ "dynamicLegend": false,
146
+ "dynamicLegendDefaultText": "Show All",
147
+ "dynamicLegendItemLimit": 5,
148
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
149
+ "dynamicLegendChartMessage": "Select Options from the Legend",
150
+ "lineMode": false,
151
+ "verticalSorted": false
152
+ },
153
+ "brush": {
154
+ "height": 25,
155
+ "data": [
156
+ {
157
+ "Date": "1/15/2016",
158
+ "Data 1": "900",
159
+ "Data 2": "135",
160
+ "Data 3": "300",
161
+ "Data 4": "95",
162
+ "Data 5": "120",
163
+ "Data 6": "310"
164
+ },
165
+ {
166
+ "Date": "2/15/2016",
167
+ "Data 1": "4000",
168
+ "Data 2": "90",
169
+ "Data 3": "240",
170
+ "Data 4": "60",
171
+ "Data 5": "160",
172
+ "Data 6": "2000"
173
+ },
174
+ {
175
+ "Date": "3/15/2016",
176
+ "Data 1": "500",
177
+ "Data 2": "300",
178
+ "Data 3": "290",
179
+ "Data 4": "100",
180
+ "Data 5": "200",
181
+ "Data 6": "250"
182
+ },
183
+ {
184
+ "Date": "4/15/2016",
185
+ "Data 1": "1200",
186
+ "Data 2": "160",
187
+ "Data 3": "230",
188
+ "Data 4": "180",
189
+ "Data 5": "160",
190
+ "Data 6": "220"
191
+ },
192
+ {
193
+ "Date": "5/15/2016",
194
+ "Data 1": "8000",
195
+ "Data 2": "350",
196
+ "Data 3": "300",
197
+ "Data 4": "150",
198
+ "Data 5": "130",
199
+ "Data 6": "100"
200
+ },
201
+ {
202
+ "Date": "6/15/2016",
203
+ "Data 1": "9000",
204
+ "Data 2": "220",
205
+ "Data 3": "320",
206
+ "Data 4": "100",
207
+ "Data 5": "220",
208
+ "Data 6": "300"
209
+ }
210
+ ],
211
+ "active": true,
212
+ "pattern_id": "brush_pattern",
213
+ "accent_color": "#ddd"
214
+ },
215
+ "exclusions": {
216
+ "active": false,
217
+ "keys": []
218
+ },
219
+ "palette": "qualitative-bold",
220
+ "isPaletteReversed": false,
221
+ "twoColor": {
222
+ "palette": "monochrome-1",
223
+ "isPaletteReversed": false
224
+ },
225
+ "labels": false,
226
+ "dataFormat": {
227
+ "commas": false,
228
+ "prefix": "",
229
+ "suffix": "",
230
+ "abbreviated": false,
231
+ "bottomSuffix": "",
232
+ "bottomPrefix": "",
233
+ "bottomAbbreviated": false,
234
+ "useCommas": false,
235
+ "roundToPlace": ""
236
+ },
237
+ "confidenceKeys": {},
238
+ "visual": {
239
+ "border": true,
240
+ "accent": true,
241
+ "background": true,
242
+ "verticalHoverLine": false,
243
+ "horizontalHoverLine": false
244
+ },
245
+ "useLogScale": false,
246
+ "filterBehavior": "Filter Change",
247
+ "highlightedBarValues": [],
248
+ "series": [
249
+ {
250
+ "dataKey": "Data 1",
251
+ "type": "Area Chart",
252
+ "axis": "Left",
253
+ "name": "One",
254
+ "tooltip": true
255
+ },
256
+ {
257
+ "dataKey": "Data 2",
258
+ "type": "Area Chart",
259
+ "axis": "Left",
260
+ "name": "two",
261
+ "tooltip": true
262
+ },
263
+ {
264
+ "dataKey": "Data 3",
265
+ "type": "Area Chart",
266
+ "axis": "Left",
267
+ "name": "three",
268
+ "tooltip": true
269
+ },
270
+ {
271
+ "dataKey": "Data 4",
272
+ "type": "Area Chart",
273
+ "axis": "Left",
274
+ "name": "four",
275
+ "tooltip": true
276
+ }
277
+ ],
278
+ "tooltips": {
279
+ "opacity": 90
280
+ },
281
+ "forestPlot": {
282
+ "startAt": 0,
283
+ "width": "auto",
284
+ "colors": {
285
+ "line": "",
286
+ "shape": ""
287
+ },
288
+ "estimateField": "",
289
+ "estimateRadius": "",
290
+ "lowerCiField": "",
291
+ "upperCiField": "",
292
+ "shape": "",
293
+ "rowHeight": 20,
294
+ "showZeroLine": false,
295
+ "description": {
296
+ "show": true,
297
+ "text": "description",
298
+ "location": 0
299
+ },
300
+ "result": {
301
+ "show": true,
302
+ "text": "result",
303
+ "location": 100
304
+ },
305
+ "radius": {
306
+ "min": 1,
307
+ "max": 8,
308
+ "scalingColumn": ""
309
+ },
310
+ "regression": {
311
+ "lower": 0,
312
+ "upper": 0,
313
+ "estimateField": 0
314
+ },
315
+ "leftWidthOffset": 0,
316
+ "rightWidthOffset": 0
317
+ },
318
+ "area": {
319
+ "isStacked": false
320
+ },
321
+ "showChartBrush": false,
322
+ "customColors": [
323
+ "red",
324
+ "orange",
325
+ "yellow",
326
+ "teal"
327
+ ],
328
+ "visualizationType": "Area Chart",
329
+ "data": [
330
+ {
331
+ "Date": "1/15/2016",
332
+ "Data 1": "900",
333
+ "Data 2": "135",
334
+ "Data 3": "300",
335
+ "Data 4": "95",
336
+ "Data 5": "120",
337
+ "Data 6": "310"
338
+ },
339
+ {
340
+ "Date": "2/15/2016",
341
+ "Data 1": "4000",
342
+ "Data 2": "90",
343
+ "Data 3": "240",
344
+ "Data 4": "60",
345
+ "Data 5": "160",
346
+ "Data 6": "2000"
347
+ },
348
+ {
349
+ "Date": "3/15/2016",
350
+ "Data 1": "500",
351
+ "Data 2": "300",
352
+ "Data 3": "290",
353
+ "Data 4": "100",
354
+ "Data 5": "200",
355
+ "Data 6": "250"
356
+ },
357
+ {
358
+ "Date": "4/15/2016",
359
+ "Data 1": "1200",
360
+ "Data 2": "160",
361
+ "Data 3": "230",
362
+ "Data 4": "180",
363
+ "Data 5": "160",
364
+ "Data 6": "220"
365
+ },
366
+ {
367
+ "Date": "5/15/2016",
368
+ "Data 1": "8000",
369
+ "Data 2": "350",
370
+ "Data 3": "300",
371
+ "Data 4": "150",
372
+ "Data 5": "130",
373
+ "Data 6": "100"
374
+ },
375
+ {
376
+ "Date": "6/15/2016",
377
+ "Data 1": "9000",
378
+ "Data 2": "220",
379
+ "Data 3": "320",
380
+ "Data 4": "100",
381
+ "Data 5": "220",
382
+ "Data 6": "300"
383
+ }
384
+ ],
385
+ "dataFileName": "valid-area-chart.json",
386
+ "dataFileSourceType": "file",
387
+ "dataDescription": {
388
+ "horizontal": false,
389
+ "series": false
390
+ },
391
+ "validated": 4.23,
392
+ "dynamicMarginTop": 0
393
+ }
@@ -0,0 +1,191 @@
1
+ {
2
+ "type": "chart",
3
+ "debugSvg": false,
4
+ "chartMessage": {
5
+ "noData": "No Data Available"
6
+ },
7
+ "title": "ARDI",
8
+ "showTitle": true,
9
+ "showDownloadMediaButton": false,
10
+ "theme": "theme-blue",
11
+ "animate": false,
12
+ "fontSize": "medium",
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": 50,
38
+ "gridLines": false,
39
+ "enablePadding": false,
40
+ "min": "",
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": "",
53
+ "axisPadding": 0,
54
+ "tickRotation": 0,
55
+ "anchors": [],
56
+ "dataKey": "males"
57
+ },
58
+ "topAxis": {
59
+ "hasLine": false
60
+ },
61
+ "isLegendValue": false,
62
+ "barThickness": 0.35,
63
+ "barHeight": 25,
64
+ "barSpace": 15,
65
+ "heights": {
66
+ "vertical": 300,
67
+ "horizontal": 750
68
+ },
69
+ "xAxis": {
70
+ "sortDates": false,
71
+ "anchors": [],
72
+ "type": "categorical",
73
+ "showTargetLabel": true,
74
+ "targetLabel": "Target",
75
+ "hideAxis": false,
76
+ "hideLabel": false,
77
+ "hideTicks": false,
78
+ "size": 75,
79
+ "tickRotation": 0,
80
+ "min": "",
81
+ "max": "",
82
+ "labelColor": "#333",
83
+ "tickLabelColor": "#333",
84
+ "tickColor": "#333",
85
+ "numTicks": "",
86
+ "labelOffset": 65,
87
+ "axisPadding": 0,
88
+ "target": 0,
89
+ "maxTickRotation": 0,
90
+ "dataKey": "cause_type"
91
+ },
92
+ "table": {
93
+ "label": "Data Table",
94
+ "expanded": true,
95
+ "limitHeight": false,
96
+ "height": "",
97
+ "caption": "",
98
+ "showDownloadUrl": false,
99
+ "showDataTableLink": true,
100
+ "indexLabel": "",
101
+ "download": false,
102
+ "showVertical": true,
103
+ "show": true,
104
+ "customTableConfig": true
105
+ },
106
+ "orientation": "vertical",
107
+ "color": "pinkpurple",
108
+ "columns": {},
109
+ "legend": {
110
+ "hide": false,
111
+ "behavior": "isolate",
112
+ "singleRow": false,
113
+ "colorCode": "",
114
+ "reverseLabelOrder": false,
115
+ "description": "",
116
+ "dynamicLegend": false,
117
+ "dynamicLegendDefaultText": "Show All",
118
+ "dynamicLegendItemLimit": 5,
119
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
120
+ "dynamicLegendChartMessage": "Select Options from the Legend",
121
+ "lineMode": false,
122
+ "verticalSorted": false,
123
+ "highlightOnHover": false
124
+ },
125
+ "brush": {
126
+ "height": 25,
127
+ "data": [],
128
+ "active": false
129
+ },
130
+ "exclusions": {
131
+ "active": true,
132
+ "keys": ["all_causes"]
133
+ },
134
+ "palette": "qualitative-soft",
135
+ "isPaletteReversed": false,
136
+ "twoColor": {
137
+ "palette": "monochrome-1",
138
+ "isPaletteReversed": false
139
+ },
140
+ "labels": false,
141
+ "dataFormat": {
142
+ "commas": false,
143
+ "prefix": "",
144
+ "suffix": "",
145
+ "abbreviated": false,
146
+ "bottomSuffix": "",
147
+ "bottomPrefix": "",
148
+ "bottomAbbreviated": false,
149
+ "roundTo": 1
150
+ },
151
+ "confidenceKeys": {},
152
+ "visual": {
153
+ "border": true,
154
+ "accent": true,
155
+ "background": true,
156
+ "verticalHoverLine": false,
157
+ "horizontalHoverLine": false
158
+ },
159
+ "useLogScale": false,
160
+ "filterBehavior": "Filter Change",
161
+ "highlightedBarValues": [],
162
+ "series": [
163
+ {
164
+ "dataKey": "males",
165
+ "axis": "Left",
166
+ "tooltip": true
167
+ }
168
+ ],
169
+ "tooltips": {
170
+ "opacity": 90,
171
+ "singleSeries": false
172
+ },
173
+ "dashboard": {
174
+ "theme": "theme-blue",
175
+ "title": "ARDI"
176
+ },
177
+ "animateReplay": true,
178
+ "aspectRatio": 1,
179
+ "validated": 4.23,
180
+ "visualizationType": "Pie",
181
+ "pieType": "Donut",
182
+ "filters": [
183
+ {
184
+ "values": ["age", "sex"],
185
+ "active": "age",
186
+ "filterStyle": "dropdown",
187
+ "order": "asc",
188
+ "columnName": "data_group"
189
+ }
190
+ ]
191
+ }