@cdc/core 4.25.11 → 4.26.2
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/.claude/agents/qa-test-developer.md +126 -0
- package/CLAUDE.local.md +67 -0
- package/_stories/Gallery.Charts.stories.tsx +300 -0
- package/_stories/Gallery.DataBite.stories.tsx +79 -0
- package/_stories/Gallery.Maps.stories.tsx +239 -0
- package/_stories/Gallery.WaffleChart.stories.tsx +187 -0
- package/_stories/PageART.stories.tsx +193 -0
- package/_stories/PageBRFSS.stories.tsx +294 -0
- package/_stories/PageCancerRegistries.stories.tsx +199 -0
- package/_stories/PageEasternEquineEncephalitis.stories.tsx +216 -0
- package/_stories/PageExcessiveAlcoholUse.stories.tsx +201 -0
- package/_stories/PageMaternalMortality.stories.tsx +193 -0
- package/_stories/PageOralHealth.stories.tsx +201 -0
- package/_stories/PageRespiratory.stories.tsx +332 -0
- package/_stories/PageSmokingTobacco.stories.tsx +200 -0
- package/_stories/PageStateDiabetesProfiles.stories.tsx +201 -0
- package/_stories/PageWastewater.stories.tsx +477 -0
- package/_stories/VegaImport.stories.tsx +401 -0
- package/_stories/vega-fixtures/bars-with-line.json +444 -0
- package/_stories/vega-fixtures/bars.json +58 -0
- package/_stories/vega-fixtures/combo-bar-rolling-mean.json +88 -0
- package/_stories/vega-fixtures/combo.json +68 -0
- package/_stories/vega-fixtures/grouped-horizontal-bars.json +83 -0
- package/_stories/vega-fixtures/grouped-horizontal-bars2.json +231 -0
- package/_stories/vega-fixtures/horizontal-bar.json +427 -0
- package/_stories/vega-fixtures/horizontal-bars-with-bad-colors.json +197 -0
- package/_stories/vega-fixtures/horizontal-bars2.json +58 -0
- package/_stories/vega-fixtures/lines.json +227 -0
- package/_stories/vega-fixtures/measles-bars.json +348 -0
- package/_stories/vega-fixtures/measles-map.json +11101 -0
- package/_stories/vega-fixtures/measles-stacked-bars.json +2147 -0
- package/_stories/vega-fixtures/multi-dataset.json +255 -0
- package/_stories/vega-fixtures/no-data.json +14 -0
- package/_stories/vega-fixtures/pie-chart.json +94 -0
- package/_stories/vega-fixtures/repeat-spec.json +47 -0
- package/_stories/vega-fixtures/stacked-area.json +222 -0
- package/_stories/vega-fixtures/stacked-bar-with-rect.json +3412 -0
- package/_stories/vega-fixtures/stacked-bars-with-line.json +364 -0
- package/_stories/vega-fixtures/stacked-bars.json +212 -0
- package/_stories/vega-fixtures/stacked-horizontal-bars.json +140 -0
- package/_stories/vega-fixtures/warning-combo.json +59 -0
- package/_stories/vega-fixtures/warning-scatter-and-line.json +1182 -0
- package/assets/icon-chart-area.svg +1 -0
- package/assets/icon-chart-radar.svg +23 -0
- package/assets/icon-magnifying-glass.svg +5 -0
- package/assets/icon-warming-stripes.svg +13 -0
- package/assets/logo2.svg +31 -0
- package/components/AdvancedEditor/AdvancedEditor.tsx +4 -0
- package/components/AdvancedEditor/EmbedEditor.tsx +513 -0
- package/components/ComboBox/ComboBox.tsx +345 -0
- package/components/ComboBox/combobox.styles.css +185 -0
- package/components/ComboBox/index.ts +1 -0
- package/components/CustomColorsEditor/CustomColorsEditor.tsx +3 -10
- package/components/DataTable/DataTable.tsx +132 -58
- package/components/DataTable/data-table.css +216 -215
- package/components/DataTable/helpers/getSeriesName.ts +6 -0
- package/components/DataTable/helpers/mapCellMatrix.tsx +14 -6
- package/components/EditorPanel/ColumnsEditor.tsx +37 -19
- package/components/EditorPanel/DataTableEditor.tsx +51 -25
- package/components/EditorPanel/EditorPanel.styles.css +16 -0
- package/components/EditorPanel/EditorPanel.tsx +144 -0
- package/components/EditorPanel/EditorPanelDispatch.tsx +75 -0
- package/components/EditorPanel/FieldSetWrapper.tsx +66 -23
- package/components/EditorPanel/Inputs.tsx +33 -7
- package/components/EditorPanel/VizFilterEditor/NestedDropdownEditor.tsx +14 -6
- package/components/EditorPanel/VizFilterEditor/VizFilterEditor.tsx +240 -175
- package/components/EditorPanel/VizFilterEditor/components/FilterOrder.tsx +33 -29
- package/components/EditorPanel/sections/VisualSection.tsx +169 -0
- package/components/Filters/Filters.tsx +31 -5
- package/components/Filters/helpers/getNestedOptions.ts +2 -1
- package/components/Filters/helpers/handleSorting.ts +1 -1
- package/components/Layout/components/Sidebar/components/sidebar.styles.scss +84 -2
- package/components/Layout/components/Visualization/index.tsx +27 -1
- package/components/Layout/components/Visualization/visualizations.scss +7 -0
- package/components/Legend/Legend.Gradient.tsx +1 -1
- package/components/MediaControls.tsx +53 -28
- package/components/_stories/CustomColorsEditor.stories.tsx +37 -0
- package/components/_stories/DataTable.stories.tsx +1 -0
- package/components/ui/Icon.tsx +3 -1
- package/components/ui/Title/index.tsx +30 -2
- package/components/ui/Title/title.styles.css +42 -0
- package/data/colorPalettes.ts +18 -5
- package/data/mapColorPalettes.ts +10 -0
- package/devTemplate/dev.js +235 -0
- package/devTemplate/index.html +30 -0
- package/devTemplate/preview.html +1503 -0
- package/devTemplate/sidebar.css +151 -0
- package/dist/cove-main.css +2803 -4448
- package/dist/cove-main.css.map +1 -1
- package/generateViteConfig.js +118 -2
- package/helpers/DataTransform.ts +1 -5
- package/helpers/addValuesToFilters.ts +6 -1
- package/helpers/cove/date.ts +33 -1
- package/helpers/cove/string.ts +29 -0
- package/helpers/coveUpdateWorker.ts +21 -12
- package/helpers/embed/embedCodeGenerator.ts +80 -0
- package/helpers/embed/embedHelper.js +158 -0
- package/helpers/embed/filterUtils.ts +121 -0
- package/helpers/embed/index.ts +21 -0
- package/helpers/embed/urlValidation.ts +119 -0
- package/helpers/filterVizData.ts +6 -1
- package/helpers/getFileExtension.ts +0 -6
- package/helpers/getUniqueValues.ts +19 -0
- package/helpers/hashObj.ts +25 -0
- package/helpers/isRightAlignedTableValue.js +5 -0
- package/helpers/metrics/helpers.ts +1 -0
- package/helpers/metrics/types.ts +3 -0
- package/helpers/palettes/colorDistributions.ts +1 -1
- package/helpers/palettes/utils.ts +12 -12
- package/helpers/parseCsvWithQuotes.ts +15 -14
- package/helpers/pivotData.ts +2 -2
- package/helpers/prepareScreenshot.ts +288 -0
- package/helpers/queryStringUtils.ts +29 -0
- package/helpers/testing.ts +44 -0
- package/helpers/tests/DataTransform.test.ts +125 -0
- package/helpers/tests/date.test.ts +64 -0
- package/helpers/tests/prepareScreenshot.test.ts +414 -0
- package/helpers/tests/queryStringUtils.test.ts +381 -0
- package/helpers/tests/testStandaloneBuild.ts +23 -5
- package/helpers/useDataVizClasses.ts +0 -1
- package/helpers/vegaConfig.ts +1 -1
- package/helpers/vegaConfigImport.ts +160 -0
- package/helpers/ver/4.26.1.ts +80 -0
- package/helpers/ver/4.26.2.ts +84 -0
- package/helpers/ver/tests/4.26.1.test.ts +105 -0
- package/helpers/ver/tests/4.26.2.test.ts +298 -0
- package/helpers/viewports.ts +2 -0
- package/hooks/useDataColumns.ts +63 -0
- package/hooks/useFilterManagement.ts +94 -0
- package/hooks/useLegendSeparators.ts +26 -0
- package/hooks/useListManagement.ts +192 -0
- package/package.json +29 -33
- package/styles/_button-section.scss +0 -3
- package/styles/v2/components/editor.scss +9 -9
- package/styles/v2/utils/_grid.scss +8 -3
- package/types/Annotation.ts +10 -11
- package/types/Axis.ts +1 -0
- package/types/ForecastingSeriesKey.ts +1 -0
- package/types/General.ts +2 -0
- package/types/MarkupInclude.ts +1 -0
- package/types/Palette.ts +21 -0
- package/types/Series.ts +3 -0
- package/types/Table.ts +1 -0
- package/types/Visualization.ts +7 -0
- package/types/VizFilter.ts +1 -0
- package/LICENSE +0 -201
- package/_stories/StoryRenderingTests.stories.tsx +0 -164
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://vega.github.io/schema/vega/v5.json",
|
|
3
|
+
"description": "A basic line chart example.",
|
|
4
|
+
"width": 500,
|
|
5
|
+
"height": 200,
|
|
6
|
+
"padding": 5,
|
|
7
|
+
"signals": [
|
|
8
|
+
{
|
|
9
|
+
"name": "interpolate",
|
|
10
|
+
"value": "linear",
|
|
11
|
+
"bind": {
|
|
12
|
+
"input": "select",
|
|
13
|
+
"options": [
|
|
14
|
+
"basis",
|
|
15
|
+
"cardinal",
|
|
16
|
+
"catmull-rom",
|
|
17
|
+
"linear",
|
|
18
|
+
"monotone",
|
|
19
|
+
"natural",
|
|
20
|
+
"step",
|
|
21
|
+
"step-after",
|
|
22
|
+
"step-before"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"data": [
|
|
28
|
+
{
|
|
29
|
+
"name": "table",
|
|
30
|
+
"values": [
|
|
31
|
+
{
|
|
32
|
+
"x": 0,
|
|
33
|
+
"y": 28,
|
|
34
|
+
"c": 0
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"x": 0,
|
|
38
|
+
"y": 20,
|
|
39
|
+
"c": 1
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"x": 1,
|
|
43
|
+
"y": 43,
|
|
44
|
+
"c": 0
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"x": 1,
|
|
48
|
+
"y": 35,
|
|
49
|
+
"c": 1
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"x": 2,
|
|
53
|
+
"y": 81,
|
|
54
|
+
"c": 0
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"x": 2,
|
|
58
|
+
"y": 10,
|
|
59
|
+
"c": 1
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"x": 3,
|
|
63
|
+
"y": 19,
|
|
64
|
+
"c": 0
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"x": 3,
|
|
68
|
+
"y": 15,
|
|
69
|
+
"c": 1
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"x": 4,
|
|
73
|
+
"y": 52,
|
|
74
|
+
"c": 0
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"x": 4,
|
|
78
|
+
"y": 48,
|
|
79
|
+
"c": 1
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"x": 5,
|
|
83
|
+
"y": 24,
|
|
84
|
+
"c": 0
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"x": 5,
|
|
88
|
+
"y": 28,
|
|
89
|
+
"c": 1
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"x": 6,
|
|
93
|
+
"y": 87,
|
|
94
|
+
"c": 0
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"x": 6,
|
|
98
|
+
"y": 66,
|
|
99
|
+
"c": 1
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"x": 7,
|
|
103
|
+
"y": 17,
|
|
104
|
+
"c": 0
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"x": 7,
|
|
108
|
+
"y": 27,
|
|
109
|
+
"c": 1
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"x": 8,
|
|
113
|
+
"y": 68,
|
|
114
|
+
"c": 0
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"x": 8,
|
|
118
|
+
"y": 16,
|
|
119
|
+
"c": 1
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"x": 9,
|
|
123
|
+
"y": 49,
|
|
124
|
+
"c": 0
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"x": 9,
|
|
128
|
+
"y": 25,
|
|
129
|
+
"c": 1
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"scales": [
|
|
135
|
+
{
|
|
136
|
+
"name": "x",
|
|
137
|
+
"type": "point",
|
|
138
|
+
"range": "width",
|
|
139
|
+
"domain": {
|
|
140
|
+
"data": "table",
|
|
141
|
+
"field": "x"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "y",
|
|
146
|
+
"type": "linear",
|
|
147
|
+
"range": "height",
|
|
148
|
+
"nice": true,
|
|
149
|
+
"zero": true,
|
|
150
|
+
"domain": {
|
|
151
|
+
"data": "table",
|
|
152
|
+
"field": "y"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "color",
|
|
157
|
+
"type": "ordinal",
|
|
158
|
+
"range": "category",
|
|
159
|
+
"domain": {
|
|
160
|
+
"data": "table",
|
|
161
|
+
"field": "c"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"axes": [
|
|
166
|
+
{
|
|
167
|
+
"orient": "bottom",
|
|
168
|
+
"scale": "x"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"orient": "left",
|
|
172
|
+
"scale": "y"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"marks": [
|
|
176
|
+
{
|
|
177
|
+
"type": "group",
|
|
178
|
+
"from": {
|
|
179
|
+
"facet": {
|
|
180
|
+
"name": "series",
|
|
181
|
+
"data": "table",
|
|
182
|
+
"groupby": "c"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"marks": [
|
|
186
|
+
{
|
|
187
|
+
"type": "line",
|
|
188
|
+
"from": {
|
|
189
|
+
"data": "series"
|
|
190
|
+
},
|
|
191
|
+
"encode": {
|
|
192
|
+
"enter": {
|
|
193
|
+
"x": {
|
|
194
|
+
"scale": "x",
|
|
195
|
+
"field": "x"
|
|
196
|
+
},
|
|
197
|
+
"y": {
|
|
198
|
+
"scale": "y",
|
|
199
|
+
"field": "y"
|
|
200
|
+
},
|
|
201
|
+
"stroke": {
|
|
202
|
+
"scale": "color",
|
|
203
|
+
"field": "c"
|
|
204
|
+
},
|
|
205
|
+
"strokeWidth": {
|
|
206
|
+
"value": 2
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"update": {
|
|
210
|
+
"interpolate": {
|
|
211
|
+
"signal": "interpolate"
|
|
212
|
+
},
|
|
213
|
+
"strokeOpacity": {
|
|
214
|
+
"value": 1
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"hover": {
|
|
218
|
+
"strokeOpacity": {
|
|
219
|
+
"value": 0.5
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
}
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
{
|
|
2
|
+
"data": {
|
|
3
|
+
"name": "vega_data"
|
|
4
|
+
},
|
|
5
|
+
"params": [
|
|
6
|
+
{
|
|
7
|
+
"name": "weekStartExtents",
|
|
8
|
+
"expr": "extent(pluck(data('data_0'), 'weekStart'))"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "minDate",
|
|
12
|
+
"expr": "weekStartExtents[0]"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "weekEndExtents",
|
|
16
|
+
"expr": "extent(pluck(data('data_0'), 'weekEnd'))"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "maxDate",
|
|
20
|
+
"expr": "weekEndExtents[1]"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "tickLocations",
|
|
24
|
+
"expr": "utcSequence('year',minDate,maxDate+1,1)"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"mark": {
|
|
28
|
+
"type": "bar"
|
|
29
|
+
},
|
|
30
|
+
"encoding": {
|
|
31
|
+
"x": {
|
|
32
|
+
"field": "weekStart",
|
|
33
|
+
"type": "temporal",
|
|
34
|
+
"title": "Week",
|
|
35
|
+
"axis": {
|
|
36
|
+
"grid": false,
|
|
37
|
+
"values": "tickLocations",
|
|
38
|
+
"labelExpr": "timeFormat(datum.value, '%Y-%b')"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"x2": {
|
|
42
|
+
"field": "weekEnd"
|
|
43
|
+
},
|
|
44
|
+
"y": {
|
|
45
|
+
"aggregate": "sum",
|
|
46
|
+
"field": "cases",
|
|
47
|
+
"type": "quantitative",
|
|
48
|
+
"title": "Number of Cases"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"height": "container",
|
|
52
|
+
"width": "container",
|
|
53
|
+
"datasets": {
|
|
54
|
+
"vega_data": [
|
|
55
|
+
{
|
|
56
|
+
"cases": 0,
|
|
57
|
+
"weekStart": "2023-01-01T05:00:00.000Z",
|
|
58
|
+
"weekEnd": "2023-01-07T05:00:00.000Z"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"cases": 0,
|
|
62
|
+
"weekStart": "2023-01-22T05:00:00.000Z",
|
|
63
|
+
"weekEnd": "2023-01-28T05:00:00.000Z"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"cases": 0,
|
|
67
|
+
"weekStart": "2023-02-12T05:00:00.000Z",
|
|
68
|
+
"weekEnd": "2023-02-18T05:00:00.000Z"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"cases": 1,
|
|
72
|
+
"weekStart": "2023-03-05T05:00:00.000Z",
|
|
73
|
+
"weekEnd": "2023-03-11T05:00:00.000Z"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"cases": 1,
|
|
77
|
+
"weekStart": "2023-03-26T04:00:00.000Z",
|
|
78
|
+
"weekEnd": "2023-04-01T04:00:00.000Z"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"cases": 0,
|
|
82
|
+
"weekStart": "2023-04-16T04:00:00.000Z",
|
|
83
|
+
"weekEnd": "2023-04-22T04:00:00.000Z"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"cases": 0,
|
|
87
|
+
"weekStart": "2023-05-07T04:00:00.000Z",
|
|
88
|
+
"weekEnd": "2023-05-13T04:00:00.000Z"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"cases": 2,
|
|
92
|
+
"weekStart": "2023-05-28T04:00:00.000Z",
|
|
93
|
+
"weekEnd": "2023-06-03T04:00:00.000Z"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"cases": 0,
|
|
97
|
+
"weekStart": "2023-06-18T04:00:00.000Z",
|
|
98
|
+
"weekEnd": "2023-06-24T04:00:00.000Z"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"cases": 0,
|
|
102
|
+
"weekStart": "2023-07-09T04:00:00.000Z",
|
|
103
|
+
"weekEnd": "2023-07-15T04:00:00.000Z"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"cases": 0,
|
|
107
|
+
"weekStart": "2023-07-30T04:00:00.000Z",
|
|
108
|
+
"weekEnd": "2023-08-05T04:00:00.000Z"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"cases": 1,
|
|
112
|
+
"weekStart": "2023-08-20T04:00:00.000Z",
|
|
113
|
+
"weekEnd": "2023-08-26T04:00:00.000Z"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"cases": 3,
|
|
117
|
+
"weekStart": "2023-09-10T04:00:00.000Z",
|
|
118
|
+
"weekEnd": "2023-09-16T04:00:00.000Z"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"cases": 5,
|
|
122
|
+
"weekStart": "2023-10-01T04:00:00.000Z",
|
|
123
|
+
"weekEnd": "2023-10-07T04:00:00.000Z"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"cases": 0,
|
|
127
|
+
"weekStart": "2023-10-22T04:00:00.000Z",
|
|
128
|
+
"weekEnd": "2023-10-28T04:00:00.000Z"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"cases": 0,
|
|
132
|
+
"weekStart": "2023-11-12T05:00:00.000Z",
|
|
133
|
+
"weekEnd": "2023-11-18T05:00:00.000Z"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"cases": 2,
|
|
137
|
+
"weekStart": "2023-12-03T05:00:00.000Z",
|
|
138
|
+
"weekEnd": "2023-12-09T05:00:00.000Z"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"cases": 11,
|
|
142
|
+
"weekStart": "2023-12-24T05:00:00.000Z",
|
|
143
|
+
"weekEnd": "2023-12-30T05:00:00.000Z"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"cases": 2,
|
|
147
|
+
"weekStart": "2024-01-14T05:00:00.000Z",
|
|
148
|
+
"weekEnd": "2024-01-20T05:00:00.000Z"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"cases": 3,
|
|
152
|
+
"weekStart": "2024-02-04T05:00:00.000Z",
|
|
153
|
+
"weekEnd": "2024-02-10T05:00:00.000Z"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"cases": 6,
|
|
157
|
+
"weekStart": "2024-02-25T05:00:00.000Z",
|
|
158
|
+
"weekEnd": "2024-03-02T05:00:00.000Z"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"cases": 38,
|
|
162
|
+
"weekStart": "2024-03-17T04:00:00.000Z",
|
|
163
|
+
"weekEnd": "2024-03-23T04:00:00.000Z"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"cases": 4,
|
|
167
|
+
"weekStart": "2024-04-07T04:00:00.000Z",
|
|
168
|
+
"weekEnd": "2024-04-13T04:00:00.000Z"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"cases": 0,
|
|
172
|
+
"weekStart": "2024-04-28T04:00:00.000Z",
|
|
173
|
+
"weekEnd": "2024-05-04T04:00:00.000Z"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"cases": 5,
|
|
177
|
+
"weekStart": "2024-05-19T04:00:00.000Z",
|
|
178
|
+
"weekEnd": "2024-05-25T04:00:00.000Z"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"cases": 4,
|
|
182
|
+
"weekStart": "2024-06-09T04:00:00.000Z",
|
|
183
|
+
"weekEnd": "2024-06-15T04:00:00.000Z"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"cases": 7,
|
|
187
|
+
"weekStart": "2024-06-30T04:00:00.000Z",
|
|
188
|
+
"weekEnd": "2024-07-06T04:00:00.000Z"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"cases": 7,
|
|
192
|
+
"weekStart": "2024-07-21T04:00:00.000Z",
|
|
193
|
+
"weekEnd": "2024-07-27T04:00:00.000Z"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"cases": 9,
|
|
197
|
+
"weekStart": "2024-08-11T04:00:00.000Z",
|
|
198
|
+
"weekEnd": "2024-08-17T04:00:00.000Z"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"cases": 10,
|
|
202
|
+
"weekStart": "2024-09-01T04:00:00.000Z",
|
|
203
|
+
"weekEnd": "2024-09-07T04:00:00.000Z"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"cases": 1,
|
|
207
|
+
"weekStart": "2024-09-22T04:00:00.000Z",
|
|
208
|
+
"weekEnd": "2024-09-28T04:00:00.000Z"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"cases": 3,
|
|
212
|
+
"weekStart": "2024-10-13T04:00:00.000Z",
|
|
213
|
+
"weekEnd": "2024-10-19T04:00:00.000Z"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"cases": 4,
|
|
217
|
+
"weekStart": "2024-11-03T04:00:00.000Z",
|
|
218
|
+
"weekEnd": "2024-11-09T05:00:00.000Z"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"cases": 2,
|
|
222
|
+
"weekStart": "2024-11-24T05:00:00.000Z",
|
|
223
|
+
"weekEnd": "2024-11-30T05:00:00.000Z"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"cases": 0,
|
|
227
|
+
"weekStart": "2024-12-15T05:00:00.000Z",
|
|
228
|
+
"weekEnd": "2024-12-21T05:00:00.000Z"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"cases": 2,
|
|
232
|
+
"weekStart": "2025-01-05T05:00:00.000Z",
|
|
233
|
+
"weekEnd": "2025-01-11T05:00:00.000Z"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"cases": 16,
|
|
237
|
+
"weekStart": "2025-01-26T05:00:00.000Z",
|
|
238
|
+
"weekEnd": "2025-02-01T05:00:00.000Z"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"cases": 87,
|
|
242
|
+
"weekStart": "2025-02-16T05:00:00.000Z",
|
|
243
|
+
"weekEnd": "2025-02-22T05:00:00.000Z"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"cases": 84,
|
|
247
|
+
"weekStart": "2025-03-09T05:00:00.000Z",
|
|
248
|
+
"weekEnd": "2025-03-15T04:00:00.000Z"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"cases": 116,
|
|
252
|
+
"weekStart": "2025-03-30T04:00:00.000Z",
|
|
253
|
+
"weekEnd": "2025-04-05T04:00:00.000Z"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"cases": 43,
|
|
257
|
+
"weekStart": "2025-04-20T04:00:00.000Z",
|
|
258
|
+
"weekEnd": "2025-04-26T04:00:00.000Z"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"cases": 8,
|
|
262
|
+
"weekStart": "2025-05-11T04:00:00.000Z",
|
|
263
|
+
"weekEnd": "2025-05-17T04:00:00.000Z"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
"config": {
|
|
268
|
+
"background": "#FFFFFF",
|
|
269
|
+
"bar": {
|
|
270
|
+
"fill": "#2D72D2"
|
|
271
|
+
},
|
|
272
|
+
"arc": {
|
|
273
|
+
"fill": "#2D72D2"
|
|
274
|
+
},
|
|
275
|
+
"area": {
|
|
276
|
+
"fill": "#2D72D2"
|
|
277
|
+
},
|
|
278
|
+
"rect": {
|
|
279
|
+
"fill": "#2D72D2"
|
|
280
|
+
},
|
|
281
|
+
"circle": {
|
|
282
|
+
"fill": "#2D72D2"
|
|
283
|
+
},
|
|
284
|
+
"point": {
|
|
285
|
+
"stroke": "#2D72D2"
|
|
286
|
+
},
|
|
287
|
+
"line": {
|
|
288
|
+
"stroke": "#2D72D2"
|
|
289
|
+
},
|
|
290
|
+
"font": "Source-Sans-Pro",
|
|
291
|
+
"padding": 20,
|
|
292
|
+
"mark": {
|
|
293
|
+
"opacity": 0.75,
|
|
294
|
+
"tooltip": true
|
|
295
|
+
},
|
|
296
|
+
"title": {
|
|
297
|
+
"color": "#111418",
|
|
298
|
+
"fontSize": 14,
|
|
299
|
+
"fontWeight": 600,
|
|
300
|
+
"anchor": "start",
|
|
301
|
+
"subtitleColor": "#5F6B7C",
|
|
302
|
+
"subtitleFontSize": 12,
|
|
303
|
+
"subtitlePadding": 7
|
|
304
|
+
},
|
|
305
|
+
"axis": {
|
|
306
|
+
"labelFontSize": 12,
|
|
307
|
+
"titleFontSize": 14,
|
|
308
|
+
"titleFontWeight": 400,
|
|
309
|
+
"titlePadding": 10,
|
|
310
|
+
"titleColor": "#111418",
|
|
311
|
+
"labelColor": "#738091",
|
|
312
|
+
"gridColor": "#DCE0E5",
|
|
313
|
+
"gridOpacity": 1,
|
|
314
|
+
"domainColor": "#5F6B7C",
|
|
315
|
+
"tickColor": "#5F6B7C"
|
|
316
|
+
},
|
|
317
|
+
"legend": {
|
|
318
|
+
"titleColor": "#111418",
|
|
319
|
+
"labelColor": "#111418",
|
|
320
|
+
"titleFontSize": 12,
|
|
321
|
+
"labelFontSize": 12,
|
|
322
|
+
"titleFontWeight": 600
|
|
323
|
+
},
|
|
324
|
+
"view": {
|
|
325
|
+
"stroke": "transparent"
|
|
326
|
+
},
|
|
327
|
+
"text": {
|
|
328
|
+
"color": "#111418",
|
|
329
|
+
"fontSize": 12,
|
|
330
|
+
"fontWeight": 400
|
|
331
|
+
},
|
|
332
|
+
"range": {
|
|
333
|
+
"category": [
|
|
334
|
+
"#2D72D2",
|
|
335
|
+
"#DB2C6F",
|
|
336
|
+
"#8EB125",
|
|
337
|
+
"#9D3F9D",
|
|
338
|
+
"#00A396",
|
|
339
|
+
"#D1980B",
|
|
340
|
+
"#D33D17",
|
|
341
|
+
"#7961DB",
|
|
342
|
+
"#29A634",
|
|
343
|
+
"#946638",
|
|
344
|
+
"#147EB3"
|
|
345
|
+
]
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|