@cdc/chart 4.23.2 → 4.23.4
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.js +42292 -40337
- package/examples/feature/__data__/area-chart.json +56 -0
- package/examples/{planet-example-data.json → feature/__data__/planet-example-data-max-increase.json} +4 -4
- package/examples/feature/__data__/planet-example-data.json +68 -0
- package/examples/feature/area/area-chart.json +244 -0
- package/examples/{example-bar-chart.json → feature/bar/example-bar-chart.json} +4 -1
- package/examples/feature/bar/horizontal-chart-max-increase.json +44 -0
- package/examples/{horizontal-chart.json → feature/bar/horizontal-chart.json} +10 -4
- package/examples/{horizontal-stacked-bar-chart.json → feature/bar/horizontal-stacked-bar-chart.json} +7 -3
- package/examples/{planet-chart-horizontal-example-config.json → feature/bar/planet-chart-horizontal-example-config.json} +8 -3
- package/examples/feature/bar/planet-example-config.json +156 -0
- package/examples/{box-plot.json → feature/boxplot/boxplot.json} +7 -8
- package/examples/feature/boxplot/testing.csv +38 -0
- package/examples/feature/combo/combochart-categories_are_numbers .json +18 -0
- package/examples/{planet-combo-example-config.json → feature/combo/planet-combo-example-config.json} +1 -1
- package/examples/feature/deviation/planet-deviation-config.json +168 -0
- package/examples/feature/deviation/planet-deviation-data.json +38 -0
- package/examples/feature/filters/filter-testing.json +178 -0
- package/examples/feature/forecasting/case_date_example.csv +130 -0
- package/examples/feature/forecasting/effective_reproduction.json +202 -0
- package/examples/feature/forecasting/r_data.csv +130 -0
- package/examples/feature/line/line-chart-max-increase.json +32 -0
- package/examples/feature/line/line-chart.json +124 -0
- package/examples/{paired-bar-example.json → feature/paired-bar/paired-bar-example.json} +10 -4
- package/examples/{planet-pie-example-config.json → feature/pie/planet-pie-example-config.json} +2 -2
- package/examples/{scatterplot-continuous.csv → feature/scatterplot/scatterplot-continuous.csv} +3 -3
- package/examples/{scatterplot.json → feature/scatterplot/scatterplot.json} +3 -3
- package/examples/feature/sparkline/example-sparkline.json +76 -0
- package/examples/feature/tests-big-small/big-small-test-bar.json +328 -0
- package/examples/feature/tests-big-small/big-small-test-line.json +328 -0
- package/examples/feature/tests-big-small/big-small-test-negative.json +328 -0
- package/examples/{case-rate-example-config.json → feature/tests-case-rate/case-rate-example-config.json} +2 -2
- package/examples/{covid-confidence-example-config.json → feature/tests-covid/covid-confidence-example-config.json} +8 -3
- package/examples/{covid-example-config.json → feature/tests-covid/covid-example-config.json} +7 -3
- package/examples/{cutoff-example-config.json → feature/tests-cutoff/cutoff-example-config.json} +7 -3
- package/examples/{date-exclusions-config.json → feature/tests-date-exclusions/date-exclusions-config.json} +2 -2
- package/examples/{example-bar-chart-nonnumeric.json → feature/tests-non-numerics/example-bar-chart-nonnumeric.json} +1 -1
- package/examples/{line-chart-nonnumeric.json → feature/tests-non-numerics/line-chart-nonnumeric.json} +5 -5
- package/examples/{planet-pie-example-config-nonnumeric.json → feature/tests-non-numerics/planet-pie-example-config-nonnumeric.json} +2 -2
- package/examples/{sparkline-chart-nonnumeric.json → feature/tests-non-numerics/sparkline-chart-nonnumeric.json} +2 -2
- package/examples/gallery/bar-chart-horizontal/horizontal-bar-chart.json +31 -172
- package/examples/gallery/bar-chart-vertical/combo-line-chart.json +145 -7
- package/examples/gallery/bar-chart-vertical/vertical-bar-chart-confidence.json +1 -0
- package/examples/gallery/bar-chart-vertical/vertical-bar-chart-with-confidence.json +96 -14
- package/examples/gallery/line/line.json +1 -0
- package/examples/gallery/paired-bar/paired-bar-chart.json +1 -0
- package/index.html +76 -35
- package/package.json +6 -3
- package/src/CdcChart.jsx +245 -106
- package/src/components/AreaChart.jsx +233 -0
- package/src/components/BarChart.jsx +103 -62
- package/src/components/BoxPlot.jsx +39 -18
- package/src/components/DataTable.jsx +26 -21
- package/src/components/DeviationBar.jsx +191 -0
- package/src/components/EditorPanel.jsx +662 -298
- package/src/components/Legend.jsx +59 -46
- package/src/components/LineChart.jsx +12 -36
- package/src/components/LinearChart.jsx +163 -64
- package/src/components/PairedBarChart.jsx +6 -7
- package/src/components/PieChart.jsx +12 -17
- package/src/components/ScatterPlot.jsx +19 -16
- package/src/components/SparkLine.jsx +84 -118
- package/src/components/useIntersectionObserver.jsx +1 -1
- package/src/data/initial-state.js +27 -7
- package/src/hooks/useColorPalette.js +58 -48
- package/src/hooks/useReduceData.js +3 -4
- package/src/index.jsx +3 -2
- package/src/scss/editor-panel.scss +20 -0
- package/src/scss/main.scss +8 -6
- package/src/test/CdcChart.test.jsx +6 -0
- package/examples/box-plot.csv +0 -5
- package/examples/dynamic-legends.json +0 -125
- package/examples/line-chart.json +0 -34
- package/examples/planet-example-config.json +0 -37
- package/examples/temp-example-config.json +0 -64
- package/examples/temp-example-data.json +0 -130
- package/src/components/Filters.jsx +0 -125
- /package/examples/{age-adjusted-rates.json → feature/__data__/age-adjusted-rates.json} +0 -0
- /package/examples/{new-data.csv → feature/__data__/new-data.csv} +0 -0
- /package/examples/{Barchart_with_negative.json → feature/bar/Barchart_with_negative.json} +0 -0
- /package/examples/{stacked-vertical-bar-example-negative.json → feature/bar/stacked-vertical-bar-example-negative.json} +0 -0
- /package/examples/{stacked-vertical-bar-example.json → feature/bar/stacked-vertical-bar-example.json} +0 -0
- /package/examples/{box-plot-data.json → feature/boxplot/box-plot-data.json} +0 -0
- /package/examples/{newdata.json → feature/boxplot/boxplot-data.json} +0 -0
- /package/examples/{paired-bar-data.json → feature/paired-bar/paired-bar-data.json} +0 -0
- /package/examples/{paired-bar-formatted.json → feature/paired-bar/paired-bar-formatted.json} +0 -0
- /package/examples/{case-rate-example-data.json → feature/tests-case-rate/case-rate-example-data.json} +0 -0
- /package/examples/{covid-example-data-confidence.json → feature/tests-covid/covid-example-data-confidence.json} +0 -0
- /package/examples/{covid-example-data.json → feature/tests-covid/covid-example-data.json} +0 -0
- /package/examples/{cutoff-example-data.json → feature/tests-cutoff/cutoff-example-data.json} +0 -0
- /package/examples/{date-exclusions-data.json → feature/tests-date-exclusions/date-exclusions-data.json} +0 -0
- /package/examples/{example-combo-bar-nonnumeric.json → feature/tests-non-numerics/example-combo-bar-nonnumeric.json} +0 -0
- /package/examples/{planet-example-data-nonnumeric.json → feature/tests-non-numerics/planet-example-data-nonnumeric.json} +0 -0
- /package/examples/{stacked-vertical-bar-example-nonnumerics.json → feature/tests-non-numerics/stacked-vertical-bar-example-nonnumerics.json} +0 -0
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"right": 5
|
|
19
19
|
},
|
|
20
20
|
"yAxis": {
|
|
21
|
-
"dataKey": "
|
|
21
|
+
"dataKey": "value",
|
|
22
22
|
"hideAxis": false,
|
|
23
23
|
"displayNumbersOnBar": false,
|
|
24
24
|
"hideLabel": false,
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"tickColor": "#333",
|
|
61
61
|
"isLegendValue": false,
|
|
62
62
|
"numTicks": "",
|
|
63
|
-
"dataKey": "
|
|
63
|
+
"dataKey": "category one",
|
|
64
64
|
"label": "Groups"
|
|
65
65
|
},
|
|
66
66
|
"table": {
|
|
@@ -79,7 +79,6 @@
|
|
|
79
79
|
"colorCode": "",
|
|
80
80
|
"reverseLabelOrder": false,
|
|
81
81
|
"description": "",
|
|
82
|
-
"hide": true,
|
|
83
82
|
"dynamicLegend": false,
|
|
84
83
|
"dynamicLegendDefaultText": "Show All",
|
|
85
84
|
"dynamicLegendItemLimit": 5,
|
|
@@ -105,20 +104,20 @@
|
|
|
105
104
|
"accent": true,
|
|
106
105
|
"background": true
|
|
107
106
|
},
|
|
108
|
-
"dataUrl": "/examples/
|
|
107
|
+
"dataUrl": "/examples/feature/boxplot/testing.csv",
|
|
109
108
|
"visualizationType": "Box Plot",
|
|
110
109
|
"description": "Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups.",
|
|
111
110
|
"dataDescription": {
|
|
112
111
|
"horizontal": false,
|
|
113
112
|
"series": false,
|
|
114
113
|
"singleRow": true,
|
|
115
|
-
"xKey": "
|
|
116
|
-
"valueKey": "
|
|
114
|
+
"xKey": "category one",
|
|
115
|
+
"valueKey": "value"
|
|
117
116
|
},
|
|
118
117
|
"series": [
|
|
119
118
|
{
|
|
120
|
-
"dataKey": "
|
|
119
|
+
"dataKey": "value",
|
|
121
120
|
"type": "Bar"
|
|
122
121
|
}
|
|
123
122
|
]
|
|
124
|
-
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
category one,value
|
|
2
|
+
Group A,16
|
|
3
|
+
Group A,24
|
|
4
|
+
Group A,32
|
|
5
|
+
Group A,40
|
|
6
|
+
Group A,43
|
|
7
|
+
Group A,72
|
|
8
|
+
Group A,83
|
|
9
|
+
Group A,104
|
|
10
|
+
Group A,137
|
|
11
|
+
Group A,152
|
|
12
|
+
Group A,168
|
|
13
|
+
Group A,174
|
|
14
|
+
Group A,450
|
|
15
|
+
Group B,27
|
|
16
|
+
Group B,42
|
|
17
|
+
Group B,52
|
|
18
|
+
Group B,55
|
|
19
|
+
Group B,60
|
|
20
|
+
Group B,62
|
|
21
|
+
Group B,90
|
|
22
|
+
Group B,131
|
|
23
|
+
Group B,157
|
|
24
|
+
Group B,160
|
|
25
|
+
Group B,200
|
|
26
|
+
Group B,212
|
|
27
|
+
Group C,38
|
|
28
|
+
Group C,44
|
|
29
|
+
Group C,46
|
|
30
|
+
Group C,63
|
|
31
|
+
Group C,76
|
|
32
|
+
Group C,88
|
|
33
|
+
Group C,94
|
|
34
|
+
Group C,167
|
|
35
|
+
Group C,184
|
|
36
|
+
Group C,212
|
|
37
|
+
Group C,232
|
|
38
|
+
Group C,250
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Planet Radius (Bar Example)",
|
|
4
|
+
"showTitle": true,
|
|
5
|
+
"theme": "theme-blue",
|
|
6
|
+
"animate": false,
|
|
7
|
+
"fontSize": "medium",
|
|
8
|
+
"lineDatapointStyle": "hover",
|
|
9
|
+
"barHasBorder": "false",
|
|
10
|
+
"isLollipopChart": false,
|
|
11
|
+
"lollipopShape": "circle",
|
|
12
|
+
"lollipopColorStyle": "two-tone",
|
|
13
|
+
"visualizationSubType": "regular",
|
|
14
|
+
"barStyle": "rounded",
|
|
15
|
+
"roundingStyle": "finger",
|
|
16
|
+
"tipRounding": "top",
|
|
17
|
+
"padding": {
|
|
18
|
+
"left": 5,
|
|
19
|
+
"right": 5
|
|
20
|
+
},
|
|
21
|
+
"yAxis": {
|
|
22
|
+
"hideAxis": false,
|
|
23
|
+
"displayNumbersOnBar": true,
|
|
24
|
+
"hideLabel": false,
|
|
25
|
+
"hideTicks": false,
|
|
26
|
+
"size": 50,
|
|
27
|
+
"gridLines": false,
|
|
28
|
+
"enablePadding": false,
|
|
29
|
+
"min": "",
|
|
30
|
+
"max": "",
|
|
31
|
+
"labelColor": "#333",
|
|
32
|
+
"tickLabelColor": "#333",
|
|
33
|
+
"tickColor": "#333",
|
|
34
|
+
"rightHideAxis": true,
|
|
35
|
+
"rightAxisSize": 50,
|
|
36
|
+
"rightLabel": "testing",
|
|
37
|
+
"rightLabelOffsetSize": 0,
|
|
38
|
+
"rightAxisLabelColor": "#333",
|
|
39
|
+
"rightAxisTickLabelColor": "#333",
|
|
40
|
+
"rightAxisTickColor": "#333",
|
|
41
|
+
"numTicks": "11",
|
|
42
|
+
"axisPadding": 0,
|
|
43
|
+
"tickRotation": 0,
|
|
44
|
+
"label": "Measurement (1000km)",
|
|
45
|
+
"rightSeries": "Diameter"
|
|
46
|
+
},
|
|
47
|
+
"boxplot": {
|
|
48
|
+
"plots": [],
|
|
49
|
+
"borders": "true",
|
|
50
|
+
"firstQuartilePercentage": 25,
|
|
51
|
+
"thirdQuartilePercentage": 75,
|
|
52
|
+
"boxWidthPercentage": 40,
|
|
53
|
+
"plotOutlierValues": false,
|
|
54
|
+
"plotNonOutlierValues": true,
|
|
55
|
+
"legend": {
|
|
56
|
+
"showHowToReadText": false,
|
|
57
|
+
"howToReadText": ""
|
|
58
|
+
},
|
|
59
|
+
"labels": {
|
|
60
|
+
"q1": "Lower Quartile",
|
|
61
|
+
"q2": "q2",
|
|
62
|
+
"q3": "Upper Quartile",
|
|
63
|
+
"q4": "q4",
|
|
64
|
+
"minimum": "Minimum",
|
|
65
|
+
"maximum": "Maximum",
|
|
66
|
+
"mean": "Mean",
|
|
67
|
+
"median": "Median",
|
|
68
|
+
"sd": "Standard Deviation",
|
|
69
|
+
"iqr": "Interquartile Range",
|
|
70
|
+
"count": "Count",
|
|
71
|
+
"outliers": "Outliers",
|
|
72
|
+
"values": "Values"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"topAxis": {
|
|
76
|
+
"hasLine": false
|
|
77
|
+
},
|
|
78
|
+
"isLegendValue": false,
|
|
79
|
+
"barThickness": 0.35,
|
|
80
|
+
"barHeight": 25,
|
|
81
|
+
"barSpace": 15,
|
|
82
|
+
"heights": {
|
|
83
|
+
"vertical": 300,
|
|
84
|
+
"horizontal": 360
|
|
85
|
+
},
|
|
86
|
+
"xAxis": {
|
|
87
|
+
"type": "categorical",
|
|
88
|
+
"showTargetLabel": true,
|
|
89
|
+
"targetLabel": "Target",
|
|
90
|
+
"hideAxis": false,
|
|
91
|
+
"hideLabel": false,
|
|
92
|
+
"hideTicks": false,
|
|
93
|
+
"size": 75,
|
|
94
|
+
"tickRotation": "0",
|
|
95
|
+
"min": "",
|
|
96
|
+
"max": "",
|
|
97
|
+
"labelColor": "#333",
|
|
98
|
+
"tickLabelColor": "#333",
|
|
99
|
+
"tickColor": "#333",
|
|
100
|
+
"numTicks": "",
|
|
101
|
+
"labelOffset": 65,
|
|
102
|
+
"axisPadding": 0,
|
|
103
|
+
"target": "55",
|
|
104
|
+
"label": "Planet",
|
|
105
|
+
"dataKey": "name"
|
|
106
|
+
},
|
|
107
|
+
"table": {
|
|
108
|
+
"label": "Data Table",
|
|
109
|
+
"expanded": false,
|
|
110
|
+
"limitHeight": false,
|
|
111
|
+
"height": "",
|
|
112
|
+
"caption": "",
|
|
113
|
+
"showDownloadUrl": false,
|
|
114
|
+
"show": true
|
|
115
|
+
},
|
|
116
|
+
"orientation": "horizontal",
|
|
117
|
+
"legend": {
|
|
118
|
+
"behavior": "isolate",
|
|
119
|
+
"singleRow": false,
|
|
120
|
+
"colorCode": "",
|
|
121
|
+
"reverseLabelOrder": false,
|
|
122
|
+
"description": "",
|
|
123
|
+
"dynamicLegend": false,
|
|
124
|
+
"dynamicLegendDefaultText": "Show All",
|
|
125
|
+
"dynamicLegendItemLimit": 5,
|
|
126
|
+
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
127
|
+
"dynamicLegendChartMessage": "Select Options from the Legend",
|
|
128
|
+
"position": "right",
|
|
129
|
+
"hide": false
|
|
130
|
+
},
|
|
131
|
+
"exclusions": {
|
|
132
|
+
"active": false,
|
|
133
|
+
"keys": []
|
|
134
|
+
},
|
|
135
|
+
"palette": "qualitative-bold",
|
|
136
|
+
"isPaletteReversed": false,
|
|
137
|
+
"twoColor": {
|
|
138
|
+
"palette": "complementary-5reverse",
|
|
139
|
+
"isPaletteReversed": true
|
|
140
|
+
},
|
|
141
|
+
"labels": false,
|
|
142
|
+
"dataFormat": {
|
|
143
|
+
"commas": false,
|
|
144
|
+
"prefix": "",
|
|
145
|
+
"suffix": "km",
|
|
146
|
+
"abbreviated": false,
|
|
147
|
+
"bottomSuffix": "",
|
|
148
|
+
"bottomPrefix": "",
|
|
149
|
+
"bottomAbbreviated": false,
|
|
150
|
+
"roundTo": 1
|
|
151
|
+
},
|
|
152
|
+
"confidenceKeys": {},
|
|
153
|
+
"visual": {
|
|
154
|
+
"border": true,
|
|
155
|
+
"accent": true,
|
|
156
|
+
"background": true
|
|
157
|
+
},
|
|
158
|
+
"dataUrl": "/examples/feature/deviation/planet-deviation-data.json",
|
|
159
|
+
"visualizationType": "Deviation Bar",
|
|
160
|
+
"series": [
|
|
161
|
+
{
|
|
162
|
+
"dataKey": "Radius",
|
|
163
|
+
"type": "Deviation Bar",
|
|
164
|
+
"axis": "Left"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"dataCutoff": "0.5"
|
|
168
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Jupiter",
|
|
4
|
+
"Radius": "100"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"name": "Saturn",
|
|
8
|
+
"Radius": "90"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Uranus",
|
|
12
|
+
"Radius": "95"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "Neptune",
|
|
16
|
+
"Radius": "89"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Earth",
|
|
20
|
+
"Radius": "92"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Venus",
|
|
24
|
+
"Radius": "85"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "Mars",
|
|
28
|
+
"Radius": "99"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Mercury",
|
|
32
|
+
"Radius": "66"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "Pluto",
|
|
36
|
+
"Radius": "79"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Planet Radius (Combo Example)",
|
|
4
|
+
"showTitle": true,
|
|
5
|
+
"theme": "theme-blue",
|
|
6
|
+
"animate": true,
|
|
7
|
+
"fontSize": "medium",
|
|
8
|
+
"lineDatapointStyle": "hover",
|
|
9
|
+
"barHasBorder": "false",
|
|
10
|
+
"isLollipopChart": false,
|
|
11
|
+
"lollipopShape": "circle",
|
|
12
|
+
"lollipopColorStyle": "two-tone",
|
|
13
|
+
"visualizationSubType": "regular",
|
|
14
|
+
"barStyle": "",
|
|
15
|
+
"roundingStyle": "standard",
|
|
16
|
+
"tipRounding": "top",
|
|
17
|
+
"padding": {
|
|
18
|
+
"left": 0,
|
|
19
|
+
"right": 0
|
|
20
|
+
},
|
|
21
|
+
"yAxis": {
|
|
22
|
+
"hideAxis": false,
|
|
23
|
+
"displayNumbersOnBar": false,
|
|
24
|
+
"hideLabel": false,
|
|
25
|
+
"hideTicks": false,
|
|
26
|
+
"size": 50,
|
|
27
|
+
"gridLines": false,
|
|
28
|
+
"enablePadding": false,
|
|
29
|
+
"min": "",
|
|
30
|
+
"max": "",
|
|
31
|
+
"labelColor": "#333",
|
|
32
|
+
"tickLabelColor": "#333",
|
|
33
|
+
"tickColor": "#333",
|
|
34
|
+
"rightHideAxis": false,
|
|
35
|
+
"rightAxisSize": 50,
|
|
36
|
+
"rightLabel": "",
|
|
37
|
+
"rightLabelOffsetSize": 0,
|
|
38
|
+
"rightAxisLabelColor": "#333",
|
|
39
|
+
"rightAxisTickLabelColor": "#333",
|
|
40
|
+
"rightAxisTickColor": "#333",
|
|
41
|
+
"numTicks": "",
|
|
42
|
+
"axisPadding": 0,
|
|
43
|
+
"tickRotation": 0,
|
|
44
|
+
"label": "Measurement (1000km)"
|
|
45
|
+
},
|
|
46
|
+
"boxplot": {
|
|
47
|
+
"plots": [],
|
|
48
|
+
"borders": "true",
|
|
49
|
+
"firstQuartilePercentage": 25,
|
|
50
|
+
"thirdQuartilePercentage": 75,
|
|
51
|
+
"boxWidthPercentage": 40,
|
|
52
|
+
"plotOutlierValues": false,
|
|
53
|
+
"plotNonOutlierValues": true,
|
|
54
|
+
"legend": {
|
|
55
|
+
"showHowToReadText": false,
|
|
56
|
+
"howToReadText": ""
|
|
57
|
+
},
|
|
58
|
+
"labels": {
|
|
59
|
+
"q1": "Lower Quartile",
|
|
60
|
+
"q2": "q2",
|
|
61
|
+
"q3": "Upper Quartile",
|
|
62
|
+
"q4": "q4",
|
|
63
|
+
"minimum": "Minimum",
|
|
64
|
+
"maximum": "Maximum",
|
|
65
|
+
"mean": "Mean",
|
|
66
|
+
"median": "Median",
|
|
67
|
+
"sd": "Standard Deviation",
|
|
68
|
+
"iqr": "Interquartile Range",
|
|
69
|
+
"count": "Count",
|
|
70
|
+
"outliers": "Outliers",
|
|
71
|
+
"values": "Values"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"topAxis": {
|
|
75
|
+
"hasLine": true
|
|
76
|
+
},
|
|
77
|
+
"isLegendValue": false,
|
|
78
|
+
"barThickness": 0.35,
|
|
79
|
+
"barHeight": 25,
|
|
80
|
+
"barSpace": 15,
|
|
81
|
+
"heights": {
|
|
82
|
+
"vertical": 300,
|
|
83
|
+
"horizontal": 750
|
|
84
|
+
},
|
|
85
|
+
"xAxis": {
|
|
86
|
+
"type": "categorical",
|
|
87
|
+
"showTargetLabel": true,
|
|
88
|
+
"targetLabel": "Target",
|
|
89
|
+
"hideAxis": false,
|
|
90
|
+
"hideLabel": false,
|
|
91
|
+
"hideTicks": false,
|
|
92
|
+
"size": 75,
|
|
93
|
+
"tickRotation": 30,
|
|
94
|
+
"min": "",
|
|
95
|
+
"max": "",
|
|
96
|
+
"labelColor": "#333",
|
|
97
|
+
"tickLabelColor": "#333",
|
|
98
|
+
"tickColor": "#333",
|
|
99
|
+
"numTicks": "",
|
|
100
|
+
"labelOffset": 65,
|
|
101
|
+
"axisPadding": 0,
|
|
102
|
+
"target": 0,
|
|
103
|
+
"label": "Planet",
|
|
104
|
+
"dataKey": "name"
|
|
105
|
+
},
|
|
106
|
+
"table": {
|
|
107
|
+
"label": "Data Table",
|
|
108
|
+
"expanded": false,
|
|
109
|
+
"limitHeight": false,
|
|
110
|
+
"height": "",
|
|
111
|
+
"caption": "",
|
|
112
|
+
"showDownloadUrl": false,
|
|
113
|
+
"showDataTableLink": true,
|
|
114
|
+
"show": true
|
|
115
|
+
},
|
|
116
|
+
"orientation": "vertical",
|
|
117
|
+
"legend": {
|
|
118
|
+
"behavior": "isolate",
|
|
119
|
+
"singleRow": false,
|
|
120
|
+
"colorCode": "",
|
|
121
|
+
"reverseLabelOrder": false,
|
|
122
|
+
"description": "",
|
|
123
|
+
"dynamicLegend": false,
|
|
124
|
+
"dynamicLegendDefaultText": "Show All",
|
|
125
|
+
"dynamicLegendItemLimit": 5,
|
|
126
|
+
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
127
|
+
"dynamicLegendChartMessage": "Select Options from the Legend",
|
|
128
|
+
"position": "right",
|
|
129
|
+
"hide": false
|
|
130
|
+
},
|
|
131
|
+
"exclusions": {
|
|
132
|
+
"active": false,
|
|
133
|
+
"keys": []
|
|
134
|
+
},
|
|
135
|
+
"palette": "qualitative-bold",
|
|
136
|
+
"isPaletteReversed": false,
|
|
137
|
+
"twoColor": {
|
|
138
|
+
"palette": "monochrome-1",
|
|
139
|
+
"isPaletteReversed": false
|
|
140
|
+
},
|
|
141
|
+
"labels": false,
|
|
142
|
+
"dataFormat": {
|
|
143
|
+
"commas": false,
|
|
144
|
+
"prefix": "",
|
|
145
|
+
"suffix": "km",
|
|
146
|
+
"abbreviated": false,
|
|
147
|
+
"bottomSuffix": "",
|
|
148
|
+
"bottomPrefix": "",
|
|
149
|
+
"bottomAbbreviated": false,
|
|
150
|
+
"roundTo": 1
|
|
151
|
+
},
|
|
152
|
+
"confidenceKeys": {},
|
|
153
|
+
"visual": {
|
|
154
|
+
"border": true,
|
|
155
|
+
"accent": true,
|
|
156
|
+
"background": true
|
|
157
|
+
},
|
|
158
|
+
"filterBehavior": "Apply Button",
|
|
159
|
+
"dataUrl": "/examples/feature/__data__/planet-example-data.json",
|
|
160
|
+
"animateReplay": true,
|
|
161
|
+
"visualizationType": "Combo",
|
|
162
|
+
"series": [
|
|
163
|
+
{
|
|
164
|
+
"dataKey": "Radius",
|
|
165
|
+
"type": "Line",
|
|
166
|
+
"axis": "Right"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"dataKey": "Diameter",
|
|
170
|
+
"type": "Bar"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"dataKey": "distance",
|
|
174
|
+
"type": "Bar",
|
|
175
|
+
"axis": "Left"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
date,variable,type,median,mean,sd,lower_90,lower_50,lower_20,upper_20,upper_50,upper_90,confirm
|
|
2
|
+
6/20/2022,reported_cases,estimate,21,21.5932034,8.40085911,10,15,19,23,27,36,16
|
|
3
|
+
6/21/2022,reported_cases,estimate,26,27.06246877,9.714658805,13,20,24,29,33,45,14
|
|
4
|
+
6/22/2022,reported_cases,estimate,26,26.59070465,9.467623437,13,20,23,28,32,44,27
|
|
5
|
+
6/23/2022,reported_cases,estimate,31,32.03498251,11.59848161,15,24,28,33,39,53,25
|
|
6
|
+
6/24/2022,reported_cases,estimate,31,32.3868066,11.87515498,16,24,28,34,39,54,19
|
|
7
|
+
6/25/2022,reported_cases,estimate,13,13.95152424,5.679009502,6,10,12,15,18,25,26
|
|
8
|
+
6/26/2022,reported_cases,estimate,10,10.5902049,4.687854947,4,7,9,11,13,19,16
|
|
9
|
+
6/27/2022,reported_cases,estimate,42,44.02498751,15.54658726,22,33,39,46,53,72,55
|
|
10
|
+
6/28/2022,reported_cases,estimate,53,54.67216392,18.14997162,29,42,48,58,65,88,53
|
|
11
|
+
6/29/2022,reported_cases,estimate,50,51.68015992,17.30851383,27,40,46,54,62,83,51
|
|
12
|
+
6/30/2022,reported_cases,estimate,59,61.5872064,19.91289824,33,47,55,64,74,97,69
|
|
13
|
+
7/1/2022,reported_cases,estimate,58,60.79510245,20.32919074,32,46,54,64,72,98,82
|
|
14
|
+
7/2/2022,reported_cases,estimate,25,26.47776112,10.01766591,12,19,23,28,32,45,18
|
|
15
|
+
7/3/2022,reported_cases,estimate,19,19.77561219,7.367233194,9,14,17,21,24,33,21
|
|
16
|
+
7/4/2022,reported_cases,estimate,81,84.77161419,28.35320641,45,64,75,89,101,135,16
|
|
17
|
+
7/5/2022,reported_cases,estimate,99,102.055972,33.19694061,54,79,91,107,121,163,95
|
|
18
|
+
7/6/2022,reported_cases,estimate,94,97.2033983,31.33897108,51,76,87,101,115,151,63
|
|
19
|
+
7/7/2022,reported_cases,estimate,113,117.2028986,37.12426176,64,90,104,123,139,183,141
|
|
20
|
+
7/8/2022,reported_cases,estimate,112,115.11994,36.65623558,63,89,103,120,137,181,146
|
|
21
|
+
7/9/2022,reported_cases,estimate,48,49.85407296,16.81465714,25,38,44,53,60,80,52
|
|
22
|
+
7/10/2022,reported_cases,estimate,36,37.68765617,13.51269376,18,28,33,40,45,62,29
|
|
23
|
+
7/11/2022,reported_cases,estimate,150,156.4797601,49.88724,84,121,140,162,185,248,185
|
|
24
|
+
7/12/2022,reported_cases,estimate,185,191.2203898,60.74185463,105,147,170,199,227,301,197
|
|
25
|
+
7/13/2022,reported_cases,estimate,171,177.0044978,56.32000959,95,137,158,185,208,281,194
|
|
26
|
+
7/14/2022,reported_cases,estimate,206,214.2738631,68.19949385,115,167,191,222,256,339,194
|
|
27
|
+
7/15/2022,reported_cases,estimate,199,206.7301349,63.48766917,114,162,184,216,244,319,245
|
|
28
|
+
7/16/2022,reported_cases,estimate,85,87.72063968,28.24766218,47,68,79,92,105,140,76
|
|
29
|
+
7/17/2022,reported_cases,estimate,62,64.68465767,21.40864334,33,50,57,68,77,104,72
|
|
30
|
+
7/18/2022,reported_cases,estimate,259,267.5137431,82.12187855,148,209,238,280,316,419,226
|
|
31
|
+
7/19/2022,reported_cases,estimate,310,317.2943528,95.99398321,176,249,285,332,372,489,275
|
|
32
|
+
7/20/2022,reported_cases,estimate,281,291.0034983,91.5910721,160,227,261,301,342,466,304
|
|
33
|
+
7/21/2022,reported_cases,estimate,328,340.3608196,104.2317885,194,267,305,354,399,536,291
|
|
34
|
+
7/22/2022,reported_cases,estimate,319,326.906047,100.216272,182,255,293,342,387,506,326
|
|
35
|
+
7/23/2022,reported_cases,estimate,130,135.3983008,42.88813096,74,104,121,141,162,213,136
|
|
36
|
+
7/24/2022,reported_cases,estimate,95,98.36031984,31.51454592,53,76,87,103,118,156,101
|
|
37
|
+
7/25/2022,reported_cases,estimate,386,396.6536732,122.6949856,214,308,358,417,470,619,741
|
|
38
|
+
7/26/2022,reported_cases,estimate,446,464.2098951,142.7245106,268,367,414,478,545,734,327
|
|
39
|
+
7/27/2022,reported_cases,estimate,409,417.8215892,128.5316485,231,325,374,438,494,650,451
|
|
40
|
+
7/28/2022,reported_cases,estimate,456,472.0304848,143.1181175,267,372,420,492,559,724,388
|
|
41
|
+
7/29/2022,reported_cases,estimate,428,443.4127936,136.2389758,249,345,395,461,526,685,485
|
|
42
|
+
7/30/2022,reported_cases,estimate,176,182.7016492,56.53462162,101,142,163,190,218,284,206
|
|
43
|
+
7/31/2022,reported_cases,estimate,124,128.8075962,41.86977982,69,99,114,134,153,205,155
|
|
44
|
+
8/1/2022,reported_cases,estimate,495,508.5777111,156.3914386,277,400,459,529,599,790,543
|
|
45
|
+
8/2/2022,reported_cases,estimate,560,579.4697651,175.3801163,331,453,518,604,678,897,422
|
|
46
|
+
8/3/2022,reported_cases,estimate,497,511.7796102,152.9390039,291,402,461,536,606,792,434
|
|
47
|
+
8/4/2022,reported_cases,estimate,550,573.2098951,175.8967365,329,447,510,598,678,899,491
|
|
48
|
+
8/5/2022,reported_cases,estimate,507,523.4327836,160.4658861,288,410,469,549,620,814,474
|
|
49
|
+
8/6/2022,reported_cases,estimate,200,208.143928,65.99857024,116,161,186,216,246,328,240
|
|
50
|
+
8/7/2022,reported_cases,estimate,139,142.9690155,45.62752502,77,110,127,150,169,225,149
|
|
51
|
+
8/8/2022,reported_cases,estimate,540,559.5157421,172.0648421,315,435,501,582,664,869,516
|
|
52
|
+
8/9/2022,reported_cases,estimate,604,626.8385807,193.2794698,349,491,558,656,747,979,520
|
|
53
|
+
8/10/2022,reported_cases,estimate,524,540.4782609,162.5317158,304,422,487,564,642,839,934
|
|
54
|
+
8/11/2022,reported_cases,estimate,570,590.8590705,183.8855354,323,462,529,618,701,912,495
|
|
55
|
+
8/12/2022,reported_cases,estimate,514,530.5732134,158.736249,303,416,474,554,627,820,426
|
|
56
|
+
8/13/2022,reported_cases,estimate,204,209.4312844,64.56824607,112,162,189,221,250,322,245
|
|
57
|
+
8/14/2022,reported_cases,estimate,139,143.045977,44.64371048,79,112,127,149,171,223,155
|
|
58
|
+
8/15/2022,reported_cases,estimate,539,554.4742629,167.0132015,311,432,498,580,651,859,649
|
|
59
|
+
8/16/2022,reported_cases,estimate,574,593.8785607,183.7399487,334,459,529,618,704,924,395
|
|
60
|
+
8/17/2022,reported_cases,estimate,496,513.3098451,157.2196106,284,402,461,537,605,801,386
|
|
61
|
+
8/18/2022,reported_cases,estimate,533,550.0924538,171.2567136,309,432,491,573,646,845,486
|
|
62
|
+
8/19/2022,reported_cases,estimate,476,490.1764118,145.4901899,281,389,442,510,575,754,465
|
|
63
|
+
8/20/2022,reported_cases,estimate,184,189.2368816,59.09608159,104,146,168,198,224,297,195
|
|
64
|
+
8/21/2022,reported_cases,estimate,125,129.7966017,41.13211772,72,100,115,136,153,208,135
|
|
65
|
+
8/22/2022,reported_cases,estimate,474,486.4052974,146.8472443,273,380,436,511,573,754,552
|
|
66
|
+
8/23/2022,reported_cases,estimate,509,527.2463768,163.5960292,291,411,471,550,625,830,948
|
|
67
|
+
8/24/2022,reported_cases,estimate,440,451.6461769,138.6479598,252,352,405,473,533,702,324
|
|
68
|
+
8/25/2022,reported_cases,estimate,477,488.0069965,153.1153877,263,378,437,512,579,754,450
|
|
69
|
+
8/26/2022,reported_cases,estimate,410,426.2048976,131.149472,236,331,379,450,508,663,402
|
|
70
|
+
8/27/2022,reported_cases,estimate,155,160.9210395,50.87933532,89,125,143,168,190,256,148
|
|
71
|
+
8/28/2022,reported_cases,estimate,107,109.6691654,34.09890752,59,86,98,116,131,170,90
|
|
72
|
+
8/29/2022,reported_cases,estimate,396,410.3953023,121.9823805,233,326,369,429,480,627,524
|
|
73
|
+
8/30/2022,reported_cases,estimate,431,442.0534733,133.7661566,247,347,396,463,521,694,506
|
|
74
|
+
8/31/2022,reported_cases,estimate,366,376.5432284,117.1139926,208,295,339,392,443,584,310
|
|
75
|
+
9/1/2022,reported_cases,estimate,390,407.7101449,127.125249,227,317,362,427,483,634,360
|
|
76
|
+
9/2/2022,reported_cases,estimate,341,353.3528236,110.0661867,194,276,314,371,422,552,452
|
|
77
|
+
9/3/2022,reported_cases,estimate,132,135.3753123,42.24620184,74,105,122,142,162,210,103
|
|
78
|
+
9/4/2022,reported_cases,estimate,87,89.51974013,29.97330037,46,68,80,93,107,143,89
|
|
79
|
+
9/5/2022,reported_cases,estimate,326,336.3533233,102.7032307,188,263,301,351,398,529,91
|
|
80
|
+
9/6/2022,reported_cases,estimate,352,364.9930035,111.4294842,207,284,328,380,431,565,708
|
|
81
|
+
9/7/2022,reported_cases,estimate,295,307.131934,96.57302721,173,238,271,320,365,478,242
|
|
82
|
+
9/8/2022,reported_cases,estimate,319,327.1754123,98.77616977,185,258,294,340,387,509,291
|
|
83
|
+
9/9/2022,reported_cases,estimate,279,288.0734633,88.5135645,162,224,257,298,342,448,271
|
|
84
|
+
9/10/2022,reported_cases,estimate,104,108.3203398,34.02513528,58,84,97,114,129,168,95
|
|
85
|
+
9/11/2022,reported_cases,estimate,71,73.08795602,23.87941079,38,56,65,77,87,114,81
|
|
86
|
+
9/12/2022,reported_cases,estimate,263,274.0264868,84.32725418,154,213,243,286,327,424,291
|
|
87
|
+
9/13/2022,reported_cases,estimate,290,299.17991,87.92410714,173,237,270,315,354,454,246
|
|
88
|
+
9/14/2022,reported_cases,estimate,238,246.4292854,74.97544346,137,191,220,259,295,378,285
|
|
89
|
+
9/15/2022,reported_cases,estimate,255,265.069965,83.07561677,144,207,235,277,316,416,258
|
|
90
|
+
9/16/2022,reported_cases,estimate,221,227.2328836,69.27890543,129,178,203,238,269,350,181
|
|
91
|
+
9/17/2022,reported_cases,estimate,86,89.12843578,29.39304333,47,68,79,93,106,144,88
|
|
92
|
+
9/18/2022,reported_cases,estimate,57,58.50674663,18.82780071,31,44,52,62,71,91,68
|
|
93
|
+
9/19/2022,reported_cases,estimate,214,220.6261869,69.79293799,121,169,197,231,262,344,298
|
|
94
|
+
9/20/2022,reported_cases,estimate,229,236.8150925,73.82537363,132,186,212,246,279,372,278
|
|
95
|
+
9/21/2022,reported_cases,estimate,188,196.0554723,61.88348262,107,153,174,204,235,304,226
|
|
96
|
+
9/22/2022,reported_cases,estimate,200,207.7956022,65.43777732,112,161,185,217,249,324,239
|
|
97
|
+
9/23/2022,reported_cases,estimate,175,182.9885057,58.79172023,99,142,162,190,216,290,180
|
|
98
|
+
9/24/2022,reported_cases,estimate,68,70.34182909,22.70511164,38,54,63,73,83,112,56
|
|
99
|
+
9/25/2022,reported_cases,estimate,44,46.12343828,15.56329834,24,35,41,48,55,75,39
|
|
100
|
+
9/26/2022,reported_cases,estimate,170,174.4662669,53.93209607,97,135,155,183,207,271,174
|
|
101
|
+
9/27/2022,reported_cases,estimate,178,184.9050475,57.43494563,102,145,165,193,218,288,154
|
|
102
|
+
9/28/2022,reported_cases,estimate,151,154.9465267,47.28792276,85,121,140,163,184,239,165
|
|
103
|
+
9/29/2022,reported_cases,estimate,157,163.3563218,51.66774111,90,127,146,169,193,258,188
|
|
104
|
+
9/30/2022,reported_cases,estimate,136,142.6561719,44.42164701,79,111,126,148,169,224,125
|
|
105
|
+
10/1/2022,reported_cases,estimate,52,53.50424788,18.24453636,27,40,47,57,65,87,54
|
|
106
|
+
10/2/2022,reported_cases,estimate,34,35.18990505,11.78184697,18,27,31,37,42,57,27
|
|
107
|
+
10/3/2022,reported_cases,estimate,127,131.7096452,42.266608,70,102,117,137,158,206,129
|
|
108
|
+
10/4/2022,reported_cases,estimate,137,141.173913,44.27643548,79,110,126,148,166,221,135
|
|
109
|
+
10/5/2022,reported_cases,estimate based on partial data,111,115.4562719,37.00408372,62,88,102,122,138,182,102
|
|
110
|
+
10/6/2022,reported_cases,estimate based on partial data,115,120.5252374,38.81827518,64,93,106,126,145,194,170
|
|
111
|
+
10/7/2022,reported_cases,estimate based on partial data,101,104.9935032,33.70008098,56,81,94,110,124,165,109
|
|
112
|
+
10/8/2022,reported_cases,estimate based on partial data,38,39.88355822,13.97354409,19,30,35,42,48,65,33
|
|
113
|
+
10/9/2022,reported_cases,estimate based on partial data,25,25.68465767,9.105713014,13,19,22,27,31,42,19
|
|
114
|
+
10/10/2022,reported_cases,estimate based on partial data,92,95.62118941,30.4513453,51,74,85,100,114,148,42
|
|
115
|
+
10/11/2022,reported_cases,estimate based on partial data,96,99.85157421,31.43296771,55,78,89,104,118,157,143
|
|
116
|
+
10/12/2022,reported_cases,estimate based on partial data,80,82.68065967,27.33752861,45,62,73,86,99,131,106
|
|
117
|
+
10/13/2022,reported_cases,estimate based on partial data,83,86.08245877,27.49341189,47,66,76,90,103,135,127
|
|
118
|
+
10/14/2022,reported_cases,estimate based on partial data,71,74.52973513,25.57944957,40,56,66,78,89,120,80
|
|
119
|
+
10/15/2022,reported_cases,estimate based on partial data,27,28.03648176,10.38730804,13,21,25,29,34,46,24
|
|
120
|
+
10/16/2022,reported_cases,estimate based on partial data,17,18.001999,7.050957098,8,13,15,19,22,31,8
|
|
121
|
+
10/17/2022,reported_cases,estimate based on partial data,64,66.41629185,23.28585653,34,49,58,69,80,109,95
|
|
122
|
+
10/18/2022,reported_cases,estimate based on partial data,69,70.65267366,23.89466058,37,54,63,74,84,113,37
|
|
123
|
+
10/19/2022,reported_cases,estimate based on partial data,54,56.37431284,20.05061894,29,42,49,59,68,92,52
|
|
124
|
+
10/20/2022,reported_cases,forecast,57,59.73263368,22.02861729,29,44,52,62,72,99,NA
|
|
125
|
+
10/21/2022,reported_cases,forecast,47,50.10844578,19.09378783,24,36,43,52,61,87,NA
|
|
126
|
+
10/22/2022,reported_cases,forecast,18,19.30234883,8.561135408,7,13,16,20,24,35,NA
|
|
127
|
+
10/23/2022,reported_cases,forecast,12,12.47826087,5.995052308,5,8,10,13,16,24,NA
|
|
128
|
+
10/24/2022,reported_cases,forecast,43,46.04247876,19.28718991,21,33,39,47,56,81,NA
|
|
129
|
+
10/25/2022,reported_cases,forecast,45,48.10744628,21.52746965,21,33,40,50,59,85,NA
|
|
130
|
+
10/26/2022,reported_cases,forecast,36,39.2123938,18.31593204,17,26,32,40,48,75,NA
|