@cdc/chart 4.25.10 → 4.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{cdcchart-1a1724a1.es.js → cdcchart-dgT_1dIT.es.js} +136 -151
- package/dist/cdcchart.js +44003 -43518
- package/examples/feature/__data__/planet-example-data.json +1 -1
- package/examples/feature/boxplot/valid-boxplot.csv +38 -17
- package/examples/feature/pie/planet-pie-example-config.json +48 -2
- package/examples/private/DEV-11825.json +573 -0
- package/examples/private/DEV-12100.json +1303 -0
- package/examples/private/cat-y.json +1235 -0
- package/examples/private/data-points.json +228 -0
- package/examples/private/height.json +3915 -0
- package/examples/private/links.json +569 -0
- package/examples/private/na.json +913 -0
- package/examples/private/quadrant.txt +30 -0
- package/examples/private/test-data.csv +28 -0
- package/examples/private/test-forecast.json +5510 -0
- package/examples/private/warming-stripe-test.json +2578 -0
- package/examples/private/warming-stripes.json +4763 -0
- package/examples/tech-adoption-with-links.json +560 -0
- package/index.html +16 -140
- package/package.json +6 -5
- package/preview.html +1616 -0
- package/src/CdcChart.tsx +8 -11
- package/src/CdcChartComponent.tsx +329 -124
- package/src/_stories/Chart.Combo.stories.tsx +18 -0
- package/src/_stories/Chart.Forecast.stories.tsx +36 -0
- package/src/_stories/Chart.HTMLInDataTable.stories.tsx +520 -0
- package/src/_stories/Chart.Patterns.stories.tsx +2 -1
- package/src/_stories/Chart.PreserveDecimals.stories.tsx +220 -0
- package/src/_stories/Chart.Regions.Categorical.stories.tsx +148 -0
- package/src/_stories/Chart.Regions.DateScale.stories.tsx +197 -0
- package/src/_stories/Chart.Regions.DateTimeScale.stories.tsx +297 -0
- package/src/_stories/Chart.SmallMultiples.stories.tsx +47 -0
- package/src/_stories/Chart.stories.tsx +8 -0
- package/src/_stories/ChartAnnotation.stories.tsx +6 -3
- package/src/_stories/ChartBar.Editor.stories.tsx +3585 -0
- package/src/_stories/ChartBrush.Editor.stories.tsx +295 -0
- package/src/_stories/ChartBrush.stories.tsx +50 -0
- package/src/_stories/ChartEditor.Editor.stories.tsx +656 -0
- package/src/_stories/ChartEditor.stories.tsx +1 -2
- package/src/_stories/TechAdoptionWithLinks.stories.tsx +27 -0
- package/src/_stories/_mock/brush_enabled.json +326 -0
- package/src/_stories/_mock/brush_mock.json +2 -69
- package/src/_stories/_mock/combo.json +451 -0
- package/src/_stories/_mock/editor-test-configs.json +376 -0
- package/src/_stories/_mock/editor-test-datasets.json +477 -0
- package/src/_stories/_mock/editor-tests/bar-chart-editor-test.json +255 -0
- package/src/_stories/_mock/editor-tests/bar-chart-general-test.json +267 -0
- package/src/_stories/_mock/editor-tests/bar-chart-test.json +237 -0
- package/src/_stories/_mock/forecast_combo_with_gaps.json +913 -0
- package/src/_stories/_mock/horizontal-bars-dynamic-y-axis.json +413 -0
- package/src/_stories/_mock/pie_config.json +257 -62
- package/src/_stories/_mock/small_multiples/small_multiples_bars.json +1944 -0
- package/src/_stories/_mock/small_multiples/small_multiples_big_data_bars.json +1114 -0
- package/src/_stories/_mock/small_multiples/small_multiples_lines.json +2646 -0
- package/src/_stories/_mock/small_multiples/small_multiples_lines_colors.json +1305 -0
- package/src/_stories/_mock/small_multiples/small_multiples_stacked_bars.json +1936 -0
- package/src/components/Annotations/components/findNearestDatum.ts +6 -41
- package/src/components/AreaChart/components/AreaChart.Stacked.jsx +10 -7
- package/src/components/AreaChart/index.tsx +1 -2
- package/src/components/Axis/Categorical.Axis.tsx +6 -7
- package/src/components/BarChart/components/BarChart.Horizontal.tsx +181 -27
- package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +3 -1
- package/src/components/BarChart/components/BarChart.StackedVertical.tsx +1 -0
- package/src/components/BarChart/components/BarChart.Vertical.tsx +8 -9
- package/src/components/BarChart/components/context.tsx +1 -0
- package/src/components/BarChart/helpers/useBarChart.ts +14 -2
- package/src/components/BoxPlot/helpers/index.ts +3 -3
- package/src/components/Brush/BrushSelector.tsx +1258 -0
- package/src/components/Brush/MiniChartPreview.tsx +283 -0
- package/src/components/DeviationBar.jsx +9 -7
- package/src/components/EditorPanel/EditorPanel.tsx +2720 -2586
- package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +96 -111
- package/src/components/EditorPanel/components/Panels/Panel.ForestPlotSettings.tsx +56 -34
- package/src/components/EditorPanel/components/Panels/Panel.General.tsx +76 -31
- package/src/components/EditorPanel/components/Panels/Panel.PatternSettings.tsx +104 -55
- package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +54 -49
- package/src/components/EditorPanel/components/Panels/Panel.SmallMultiples.tsx +427 -0
- package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +96 -48
- package/src/components/EditorPanel/components/Panels/index.tsx +3 -1
- package/src/components/EditorPanel/editor-panel.scss +0 -20
- package/src/components/EditorPanel/useEditorPermissions.ts +36 -31
- package/src/components/Forecasting/Forecasting.tsx +139 -21
- package/src/components/Legend/Legend.Component.tsx +16 -9
- package/src/components/Legend/Legend.tsx +3 -2
- package/src/components/Legend/helpers/createFormatLabels.tsx +325 -176
- package/src/components/Legend/helpers/getLegendClasses.ts +0 -1
- package/src/components/Legend/helpers/index.ts +10 -6
- package/src/components/LineChart/LineChartProps.ts +0 -3
- package/src/components/LineChart/helpers.ts +1 -1
- package/src/components/LineChart/index.tsx +36 -13
- package/src/components/LinearChart.tsx +559 -499
- package/src/components/PairedBarChart.jsx +20 -3
- package/src/components/Regions/components/Regions.tsx +366 -144
- package/src/components/Sankey/types/index.ts +1 -1
- package/src/components/ScatterPlot/ScatterPlot.jsx +2 -2
- package/src/components/SmallMultiples/SmallMultipleTile.tsx +202 -0
- package/src/components/SmallMultiples/SmallMultiples.css +32 -0
- package/src/components/SmallMultiples/SmallMultiples.tsx +271 -0
- package/src/components/SmallMultiples/index.ts +2 -0
- package/src/components/WarmingStripes/WarmingStripes.tsx +160 -0
- package/src/components/WarmingStripes/WarmingStripesGradientLegend.css +35 -0
- package/src/components/WarmingStripes/WarmingStripesGradientLegend.tsx +104 -0
- package/src/components/WarmingStripes/index.tsx +3 -0
- package/src/data/initial-state.js +16 -2
- package/src/helpers/buildForecastPaletteOptions.ts +0 -38
- package/src/helpers/calculateHorizontalBarCategoryLabelWidth.ts +57 -0
- package/src/helpers/getColorScale.ts +10 -0
- package/src/{hooks/useMinMax.ts → helpers/getMinMax.ts} +26 -14
- package/src/helpers/getYAxisAutoPadding.ts +53 -0
- package/src/helpers/sizeHelpers.ts +0 -20
- package/src/helpers/smallMultiplesHelpers.ts +529 -0
- package/src/hooks/useChartHoverAnalytics.tsx +10 -9
- package/src/hooks/useProgrammaticTooltip.ts +96 -0
- package/src/hooks/useScales.ts +98 -34
- package/src/hooks/useSmallMultipleSynchronization.ts +59 -0
- package/src/hooks/useTooltip.tsx +91 -25
- package/src/scss/DataTable.scss +0 -4
- package/src/scss/main.scss +18 -83
- package/src/store/chart.actions.ts +2 -0
- package/src/store/chart.reducer.ts +4 -0
- package/src/test/CdcChart.test.jsx +1 -1
- package/src/types/ChartConfig.ts +27 -6
- package/src/types/ChartContext.ts +3 -0
- package/src/types/Label.ts +1 -0
- package/src/utils/analyticsTracking.ts +19 -0
- package/LICENSE +0 -201
- package/src/_stories/_mock/pie_data.json +0 -218
- package/src/components/AreaChart/components/AreaChart.jsx +0 -109
- package/src/components/Brush/BrushChart.tsx +0 -128
- package/src/components/Brush/BrushController.tsx +0 -71
- package/src/components/Brush/types.tsx +0 -8
- package/src/components/BrushChart.tsx +0 -223
- package/src/helpers/sort.ts +0 -7
- package/src/hooks/useActiveElement.js +0 -19
- package/src/hooks/useChartClasses.js +0 -41
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
{
|
|
2
|
+
"universal_test_data": [
|
|
3
|
+
{
|
|
4
|
+
"Date": "2020-01-15",
|
|
5
|
+
"State": "Alabama",
|
|
6
|
+
"Category": "Category A",
|
|
7
|
+
"Value": 156,
|
|
8
|
+
"Secondary_Value": 89,
|
|
9
|
+
"Percentage": 23.5,
|
|
10
|
+
"Count": 1560,
|
|
11
|
+
"Rate": 45.2,
|
|
12
|
+
"Gender": "Male",
|
|
13
|
+
"Age_Group": "18-24",
|
|
14
|
+
"Status": "Active"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"Date": "2020-02-15",
|
|
18
|
+
"State": "Alaska",
|
|
19
|
+
"Category": "Category B",
|
|
20
|
+
"Value": 234,
|
|
21
|
+
"Secondary_Value": 156,
|
|
22
|
+
"Percentage": 34.8,
|
|
23
|
+
"Count": 2340,
|
|
24
|
+
"Rate": 67.8,
|
|
25
|
+
"Gender": "Female",
|
|
26
|
+
"Age_Group": "25-34",
|
|
27
|
+
"Status": "Inactive"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"Date": "2020-03-15",
|
|
31
|
+
"State": "Arizona",
|
|
32
|
+
"Category": "Category A",
|
|
33
|
+
"Value": 189,
|
|
34
|
+
"Secondary_Value": 123,
|
|
35
|
+
"Percentage": 28.9,
|
|
36
|
+
"Count": 1890,
|
|
37
|
+
"Rate": 52.1,
|
|
38
|
+
"Gender": "Male",
|
|
39
|
+
"Age_Group": "35-44",
|
|
40
|
+
"Status": "Active"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"Date": "2020-04-15",
|
|
44
|
+
"State": "Arkansas",
|
|
45
|
+
"Category": "Category C",
|
|
46
|
+
"Value": 298,
|
|
47
|
+
"Secondary_Value": 201,
|
|
48
|
+
"Percentage": 42.3,
|
|
49
|
+
"Count": 2980,
|
|
50
|
+
"Rate": 78.9,
|
|
51
|
+
"Gender": "Female",
|
|
52
|
+
"Age_Group": "45-54",
|
|
53
|
+
"Status": "Pending"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"Date": "2020-05-15",
|
|
57
|
+
"State": "California",
|
|
58
|
+
"Category": "Category B",
|
|
59
|
+
"Value": 167,
|
|
60
|
+
"Secondary_Value": 98,
|
|
61
|
+
"Percentage": 31.2,
|
|
62
|
+
"Count": 1670,
|
|
63
|
+
"Rate": 43.8,
|
|
64
|
+
"Gender": "Male",
|
|
65
|
+
"Age_Group": "55-64",
|
|
66
|
+
"Status": "Active"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"Date": "2020-06-15",
|
|
70
|
+
"State": "Colorado",
|
|
71
|
+
"Category": "Category A",
|
|
72
|
+
"Value": 245,
|
|
73
|
+
"Secondary_Value": 178,
|
|
74
|
+
"Percentage": 38.7,
|
|
75
|
+
"Count": 2450,
|
|
76
|
+
"Rate": 61.2,
|
|
77
|
+
"Gender": "Female",
|
|
78
|
+
"Age_Group": "65+",
|
|
79
|
+
"Status": "Inactive"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"Date": "2020-07-15",
|
|
83
|
+
"State": "Connecticut",
|
|
84
|
+
"Category": "Category C",
|
|
85
|
+
"Value": 312,
|
|
86
|
+
"Secondary_Value": 234,
|
|
87
|
+
"Percentage": 45.9,
|
|
88
|
+
"Count": 3120,
|
|
89
|
+
"Rate": 87.3,
|
|
90
|
+
"Gender": "Male",
|
|
91
|
+
"Age_Group": "18-24",
|
|
92
|
+
"Status": "Active"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"Date": "2020-08-15",
|
|
96
|
+
"State": "Delaware",
|
|
97
|
+
"Category": "Category B",
|
|
98
|
+
"Value": 198,
|
|
99
|
+
"Secondary_Value": 134,
|
|
100
|
+
"Percentage": 33.6,
|
|
101
|
+
"Count": 1980,
|
|
102
|
+
"Rate": 54.7,
|
|
103
|
+
"Gender": "Female",
|
|
104
|
+
"Age_Group": "25-34",
|
|
105
|
+
"Status": "Pending"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"Date": "2020-09-15",
|
|
109
|
+
"State": "Florida",
|
|
110
|
+
"Category": "Category A",
|
|
111
|
+
"Value": 278,
|
|
112
|
+
"Secondary_Value": 189,
|
|
113
|
+
"Percentage": 41.1,
|
|
114
|
+
"Count": 2780,
|
|
115
|
+
"Rate": 73.4,
|
|
116
|
+
"Gender": "Male",
|
|
117
|
+
"Age_Group": "35-44",
|
|
118
|
+
"Status": "Active"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"Date": "2020-10-15",
|
|
122
|
+
"State": "Georgia",
|
|
123
|
+
"Category": "Category C",
|
|
124
|
+
"Value": 134,
|
|
125
|
+
"Secondary_Value": 87,
|
|
126
|
+
"Percentage": 26.8,
|
|
127
|
+
"Count": 1340,
|
|
128
|
+
"Rate": 38.9,
|
|
129
|
+
"Gender": "Female",
|
|
130
|
+
"Age_Group": "45-54",
|
|
131
|
+
"Status": "Inactive"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"Date": "2020-11-15",
|
|
135
|
+
"State": "Hawaii",
|
|
136
|
+
"Category": "Category B",
|
|
137
|
+
"Value": 356,
|
|
138
|
+
"Secondary_Value": 267,
|
|
139
|
+
"Percentage": 48.7,
|
|
140
|
+
"Count": 3560,
|
|
141
|
+
"Rate": 94.6,
|
|
142
|
+
"Gender": "Male",
|
|
143
|
+
"Age_Group": "55-64",
|
|
144
|
+
"Status": "Active"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"Date": "2020-12-15",
|
|
148
|
+
"State": "Idaho",
|
|
149
|
+
"Category": "Category A",
|
|
150
|
+
"Value": 223,
|
|
151
|
+
"Secondary_Value": 156,
|
|
152
|
+
"Percentage": 36.4,
|
|
153
|
+
"Count": 2230,
|
|
154
|
+
"Rate": 59.8,
|
|
155
|
+
"Gender": "Female",
|
|
156
|
+
"Age_Group": "65+",
|
|
157
|
+
"Status": "Pending"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
|
|
161
|
+
"boxplot_test_data": [
|
|
162
|
+
{
|
|
163
|
+
"Group_Category": "Group A",
|
|
164
|
+
"Value": 19,
|
|
165
|
+
"Additional_Info": "Sample 1"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"Group_Category": "Group A",
|
|
169
|
+
"Value": 21,
|
|
170
|
+
"Additional_Info": "Sample 2"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"Group_Category": "Group A",
|
|
174
|
+
"Value": 23,
|
|
175
|
+
"Additional_Info": "Sample 3"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"Group_Category": "Group A",
|
|
179
|
+
"Value": 24,
|
|
180
|
+
"Additional_Info": "Sample 4"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"Group_Category": "Group B",
|
|
184
|
+
"Value": 10,
|
|
185
|
+
"Additional_Info": "Sample 5"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"Group_Category": "Group B",
|
|
189
|
+
"Value": 12,
|
|
190
|
+
"Additional_Info": "Sample 6"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"Group_Category": "Group B",
|
|
194
|
+
"Value": 18,
|
|
195
|
+
"Additional_Info": "Sample 7"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"Group_Category": "Group B",
|
|
199
|
+
"Value": 19,
|
|
200
|
+
"Additional_Info": "Sample 8"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"Group_Category": "Group C",
|
|
204
|
+
"Value": 30,
|
|
205
|
+
"Additional_Info": "Sample 9"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"Group_Category": "Group C",
|
|
209
|
+
"Value": 35,
|
|
210
|
+
"Additional_Info": "Sample 10"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"Group_Category": "Group C",
|
|
214
|
+
"Value": 36,
|
|
215
|
+
"Additional_Info": "Sample 11"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"Group_Category": "Group C",
|
|
219
|
+
"Value": 46,
|
|
220
|
+
"Additional_Info": "Sample 12"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"Group_Category": "Group D",
|
|
224
|
+
"Value": 21,
|
|
225
|
+
"Additional_Info": "Sample 13"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"Group_Category": "Group D",
|
|
229
|
+
"Value": 30,
|
|
230
|
+
"Additional_Info": "Sample 14"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"Group_Category": "Group D",
|
|
234
|
+
"Value": 40,
|
|
235
|
+
"Additional_Info": "Sample 15"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"Group_Category": "Group D",
|
|
239
|
+
"Value": 41,
|
|
240
|
+
"Additional_Info": "Sample 16"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"Group_Category": "Group D",
|
|
244
|
+
"Value": 42,
|
|
245
|
+
"Additional_Info": "Sample 17"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"Group_Category": "Group D",
|
|
249
|
+
"Value": 43,
|
|
250
|
+
"Additional_Info": "Sample 18"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"Group_Category": "Group D",
|
|
254
|
+
"Value": 50,
|
|
255
|
+
"Additional_Info": "Sample 19"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"Group_Category": "Group D",
|
|
259
|
+
"Value": 50,
|
|
260
|
+
"Additional_Info": "Sample 20"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"Group_Category": "Group D",
|
|
264
|
+
"Value": 82,
|
|
265
|
+
"Additional_Info": "Sample 21"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"Group_Category": "Group D",
|
|
269
|
+
"Value": 85,
|
|
270
|
+
"Additional_Info": "Sample 22"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
|
|
274
|
+
"scatterplot_test_data": [
|
|
275
|
+
{
|
|
276
|
+
"X_Value": 12.5,
|
|
277
|
+
"Y_Value": 23.1,
|
|
278
|
+
"Size_Value": 150,
|
|
279
|
+
"Category": "Type A",
|
|
280
|
+
"Label": "Point 1"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"X_Value": 15.2,
|
|
284
|
+
"Y_Value": 31.8,
|
|
285
|
+
"Size_Value": 200,
|
|
286
|
+
"Category": "Type B",
|
|
287
|
+
"Label": "Point 2"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"X_Value": 18.7,
|
|
291
|
+
"Y_Value": 28.4,
|
|
292
|
+
"Size_Value": 175,
|
|
293
|
+
"Category": "Type A",
|
|
294
|
+
"Label": "Point 3"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"X_Value": 22.3,
|
|
298
|
+
"Y_Value": 45.6,
|
|
299
|
+
"Size_Value": 250,
|
|
300
|
+
"Category": "Type C",
|
|
301
|
+
"Label": "Point 4"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"X_Value": 26.1,
|
|
305
|
+
"Y_Value": 38.9,
|
|
306
|
+
"Size_Value": 180,
|
|
307
|
+
"Category": "Type B",
|
|
308
|
+
"Label": "Point 5"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"X_Value": 29.8,
|
|
312
|
+
"Y_Value": 52.3,
|
|
313
|
+
"Size_Value": 300,
|
|
314
|
+
"Category": "Type A",
|
|
315
|
+
"Label": "Point 6"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"X_Value": 33.4,
|
|
319
|
+
"Y_Value": 41.7,
|
|
320
|
+
"Size_Value": 220,
|
|
321
|
+
"Category": "Type C",
|
|
322
|
+
"Label": "Point 7"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"X_Value": 37.2,
|
|
326
|
+
"Y_Value": 58.2,
|
|
327
|
+
"Size_Value": 275,
|
|
328
|
+
"Category": "Type B",
|
|
329
|
+
"Label": "Point 8"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"X_Value": 41.6,
|
|
333
|
+
"Y_Value": 47.8,
|
|
334
|
+
"Size_Value": 190,
|
|
335
|
+
"Category": "Type A",
|
|
336
|
+
"Label": "Point 9"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"X_Value": 45.3,
|
|
340
|
+
"Y_Value": 63.1,
|
|
341
|
+
"Size_Value": 320,
|
|
342
|
+
"Category": "Type C",
|
|
343
|
+
"Label": "Point 10"
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
|
|
347
|
+
"sankey_test_data": [
|
|
348
|
+
{
|
|
349
|
+
"links": [
|
|
350
|
+
{
|
|
351
|
+
"source": "Initial Population",
|
|
352
|
+
"target": "Screened",
|
|
353
|
+
"value": 10000
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"source": "Initial Population",
|
|
357
|
+
"target": "Not Screened",
|
|
358
|
+
"value": 5000
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"source": "Screened",
|
|
362
|
+
"target": "Positive Result",
|
|
363
|
+
"value": 1500
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"source": "Screened",
|
|
367
|
+
"target": "Negative Result",
|
|
368
|
+
"value": 8500
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"source": "Positive Result",
|
|
372
|
+
"target": "Treated",
|
|
373
|
+
"value": 1200
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"source": "Positive Result",
|
|
377
|
+
"target": "Not Treated",
|
|
378
|
+
"value": 300
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"source": "Treated",
|
|
382
|
+
"target": "Recovery",
|
|
383
|
+
"value": 1000
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"source": "Treated",
|
|
387
|
+
"target": "No Recovery",
|
|
388
|
+
"value": 200
|
|
389
|
+
}
|
|
390
|
+
]
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
|
|
394
|
+
"forecasting_test_data": [
|
|
395
|
+
{
|
|
396
|
+
"Date": "2020-01-01",
|
|
397
|
+
"Actual_Value": 145,
|
|
398
|
+
"Lower_CI": 135,
|
|
399
|
+
"Upper_CI": 155,
|
|
400
|
+
"Forecast_Value": null,
|
|
401
|
+
"Forecast_Lower": null,
|
|
402
|
+
"Forecast_Upper": null
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"Date": "2020-02-01",
|
|
406
|
+
"Actual_Value": 167,
|
|
407
|
+
"Lower_CI": 152,
|
|
408
|
+
"Upper_CI": 182,
|
|
409
|
+
"Forecast_Value": null,
|
|
410
|
+
"Forecast_Lower": null,
|
|
411
|
+
"Forecast_Upper": null
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"Date": "2020-03-01",
|
|
415
|
+
"Actual_Value": 189,
|
|
416
|
+
"Lower_CI": 171,
|
|
417
|
+
"Upper_CI": 207,
|
|
418
|
+
"Forecast_Value": null,
|
|
419
|
+
"Forecast_Lower": null,
|
|
420
|
+
"Forecast_Upper": null
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"Date": "2020-04-01",
|
|
424
|
+
"Actual_Value": 156,
|
|
425
|
+
"Lower_CI": 142,
|
|
426
|
+
"Upper_CI": 170,
|
|
427
|
+
"Forecast_Value": null,
|
|
428
|
+
"Forecast_Lower": null,
|
|
429
|
+
"Forecast_Upper": null
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"Date": "2020-05-01",
|
|
433
|
+
"Actual_Value": 178,
|
|
434
|
+
"Lower_CI": 163,
|
|
435
|
+
"Upper_CI": 193,
|
|
436
|
+
"Forecast_Value": null,
|
|
437
|
+
"Forecast_Lower": null,
|
|
438
|
+
"Forecast_Upper": null
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"Date": "2020-06-01",
|
|
442
|
+
"Actual_Value": 203,
|
|
443
|
+
"Lower_CI": 186,
|
|
444
|
+
"Upper_CI": 220,
|
|
445
|
+
"Forecast_Value": null,
|
|
446
|
+
"Forecast_Lower": null,
|
|
447
|
+
"Forecast_Upper": null
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"Date": "2020-07-01",
|
|
451
|
+
"Actual_Value": null,
|
|
452
|
+
"Lower_CI": null,
|
|
453
|
+
"Upper_CI": null,
|
|
454
|
+
"Forecast_Value": 215,
|
|
455
|
+
"Forecast_Lower": 195,
|
|
456
|
+
"Forecast_Upper": 235
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"Date": "2020-08-01",
|
|
460
|
+
"Actual_Value": null,
|
|
461
|
+
"Lower_CI": null,
|
|
462
|
+
"Upper_CI": null,
|
|
463
|
+
"Forecast_Value": 228,
|
|
464
|
+
"Forecast_Lower": 205,
|
|
465
|
+
"Forecast_Upper": 251
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"Date": "2020-09-01",
|
|
469
|
+
"Actual_Value": null,
|
|
470
|
+
"Lower_CI": null,
|
|
471
|
+
"Upper_CI": null,
|
|
472
|
+
"Forecast_Value": 241,
|
|
473
|
+
"Forecast_Lower": 215,
|
|
474
|
+
"Forecast_Upper": 267
|
|
475
|
+
}
|
|
476
|
+
]
|
|
477
|
+
}
|