@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
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Forecasting Chart 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": "75",
|
|
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
|
+
"anchors": [],
|
|
45
|
+
"label": "Effective Reproduction No."
|
|
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": true
|
|
77
|
+
},
|
|
78
|
+
"isLegendValue": false,
|
|
79
|
+
"barThickness": 0.35,
|
|
80
|
+
"barHeight": 25,
|
|
81
|
+
"barSpace": 15,
|
|
82
|
+
"heights": {
|
|
83
|
+
"vertical": 300,
|
|
84
|
+
"horizontal": 750
|
|
85
|
+
},
|
|
86
|
+
"xAxis": {
|
|
87
|
+
"type": "date",
|
|
88
|
+
"showTargetLabel": true,
|
|
89
|
+
"targetLabel": "Target",
|
|
90
|
+
"hideAxis": false,
|
|
91
|
+
"hideLabel": false,
|
|
92
|
+
"hideTicks": false,
|
|
93
|
+
"size": 75,
|
|
94
|
+
"tickRotation": 30,
|
|
95
|
+
"min": "",
|
|
96
|
+
"max": "",
|
|
97
|
+
"labelColor": "#333",
|
|
98
|
+
"tickLabelColor": "#333",
|
|
99
|
+
"tickColor": "#333",
|
|
100
|
+
"numTicks": "",
|
|
101
|
+
"labelOffset": 65,
|
|
102
|
+
"axisPadding": 0,
|
|
103
|
+
"target": 0,
|
|
104
|
+
"anchors": [
|
|
105
|
+
{
|
|
106
|
+
"value": "10/19/2022",
|
|
107
|
+
"lineStyle": "dashed-md"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"label": "",
|
|
111
|
+
"dataKey": "date",
|
|
112
|
+
"dateParseFormat": "%m/%d/%Y",
|
|
113
|
+
"dateDisplayFormat": "%m/%d/%Y"
|
|
114
|
+
},
|
|
115
|
+
"table": {
|
|
116
|
+
"label": "Data Table",
|
|
117
|
+
"expanded": false,
|
|
118
|
+
"limitHeight": false,
|
|
119
|
+
"height": "",
|
|
120
|
+
"caption": "",
|
|
121
|
+
"showDownloadUrl": false,
|
|
122
|
+
"showDataTableLink": true,
|
|
123
|
+
"show": true
|
|
124
|
+
},
|
|
125
|
+
"orientation": "vertical",
|
|
126
|
+
"legend": {
|
|
127
|
+
"behavior": "isolate",
|
|
128
|
+
"singleRow": false,
|
|
129
|
+
"colorCode": "",
|
|
130
|
+
"reverseLabelOrder": false,
|
|
131
|
+
"description": "",
|
|
132
|
+
"dynamicLegend": false,
|
|
133
|
+
"dynamicLegendDefaultText": "Show All",
|
|
134
|
+
"dynamicLegendItemLimit": 5,
|
|
135
|
+
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
136
|
+
"dynamicLegendChartMessage": "Select Options from the Legend",
|
|
137
|
+
"position": "right",
|
|
138
|
+
"hide": true
|
|
139
|
+
},
|
|
140
|
+
"exclusions": {
|
|
141
|
+
"active": false,
|
|
142
|
+
"keys": []
|
|
143
|
+
},
|
|
144
|
+
"palette": "sequential-green",
|
|
145
|
+
"isPaletteReversed": false,
|
|
146
|
+
"twoColor": {
|
|
147
|
+
"palette": "monochrome-1",
|
|
148
|
+
"isPaletteReversed": false
|
|
149
|
+
},
|
|
150
|
+
"labels": false,
|
|
151
|
+
"dataFormat": {
|
|
152
|
+
"commas": false,
|
|
153
|
+
"prefix": "",
|
|
154
|
+
"suffix": "",
|
|
155
|
+
"abbreviated": false,
|
|
156
|
+
"bottomSuffix": "",
|
|
157
|
+
"bottomPrefix": "",
|
|
158
|
+
"bottomAbbreviated": false,
|
|
159
|
+
"roundTo": "0"
|
|
160
|
+
},
|
|
161
|
+
"confidenceKeys": {},
|
|
162
|
+
"visual": {
|
|
163
|
+
"border": true,
|
|
164
|
+
"accent": true,
|
|
165
|
+
"background": true
|
|
166
|
+
},
|
|
167
|
+
"filterBehavior": "Filter Change",
|
|
168
|
+
"forecastingChart": {
|
|
169
|
+
"showBars": false,
|
|
170
|
+
"barColumn": "confirm",
|
|
171
|
+
"barColor": "#918e90",
|
|
172
|
+
"confidenceIntervals": [
|
|
173
|
+
{
|
|
174
|
+
"low": "lower_20",
|
|
175
|
+
"high": "upper_20"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"low": "lower_50",
|
|
179
|
+
"high": "upper_50"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"low": "lower_90",
|
|
183
|
+
"high": "upper_90"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"stages": "type",
|
|
187
|
+
"colors": [
|
|
188
|
+
"qualitative4reverse",
|
|
189
|
+
"sequential-bluereverse",
|
|
190
|
+
"sequential-greenreverse"
|
|
191
|
+
],
|
|
192
|
+
"groups": [
|
|
193
|
+
"estimate",
|
|
194
|
+
"estimate based on partial data",
|
|
195
|
+
"forecast"
|
|
196
|
+
],
|
|
197
|
+
"showBarColumn": true
|
|
198
|
+
},
|
|
199
|
+
"dataUrl": "./examples/feature/forecasting/r_data.csv",
|
|
200
|
+
"animateReplay": true,
|
|
201
|
+
"visualizationType": "Forecasting"
|
|
202
|
+
}
|
|
@@ -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,R,estimate,1.143164524,1.143010872,0.036964454,1.082344248,1.120776849,1.134410495,1.151823941,1.166002971,1.199141261,16
|
|
3
|
+
6/21/2022,R,estimate,1.142141423,1.142169861,0.033640144,1.086654085,1.121883993,1.134687879,1.150268383,1.163077775,1.194425168,14
|
|
4
|
+
6/22/2022,R,estimate,1.141561815,1.141192575,0.030465595,1.090762992,1.122607938,1.134594715,1.148501587,1.160537946,1.189629768,27
|
|
5
|
+
6/23/2022,R,estimate,1.140465799,1.140058291,0.027477639,1.094773278,1.123128382,1.134308824,1.146895331,1.157439125,1.184078556,25
|
|
6
|
+
6/24/2022,R,estimate,1.139095648,1.138746371,0.024715616,1.097788726,1.123233014,1.133440403,1.144767261,1.15447772,1.178641956,19
|
|
7
|
+
6/25/2022,R,estimate,1.137252687,1.137236883,0.022218583,1.099971068,1.123076025,1.132139823,1.142367799,1.151238562,1.173702779,26
|
|
8
|
+
6/26/2022,R,estimate,1.135404,1.135511247,0.020021626,1.102588689,1.12259539,1.130515198,1.140057103,1.14825573,1.169252435,16
|
|
9
|
+
6/27/2022,R,estimate,1.133037567,1.133552863,0.018151421,1.104934208,1.121593126,1.12895489,1.137453644,1.145333316,1.164248415,55
|
|
10
|
+
6/28/2022,R,estimate,1.131172197,1.131347691,0.016621062,1.104936287,1.12035133,1.126741815,1.135026675,1.142244567,1.158897942,53
|
|
11
|
+
6/29/2022,R,estimate,1.128816156,1.128884738,0.015424705,1.103913075,1.118551408,1.124730337,1.132407645,1.138609242,1.154419377,51
|
|
12
|
+
6/30/2022,R,estimate,1.125882501,1.126156414,0.014533944,1.10290032,1.116604259,1.122407616,1.129517014,1.135834728,1.150620273,69
|
|
13
|
+
7/1/2022,R,estimate,1.122607918,1.123158761,0.013898752,1.101055448,1.114051617,1.119664968,1.126347198,1.132258504,1.146425102,82
|
|
14
|
+
7/2/2022,R,estimate,1.119447245,1.119891557,0.013454584,1.098890345,1.111043352,1.116321398,1.122831223,1.128575417,1.142341178,18
|
|
15
|
+
7/3/2022,R,estimate,1.115821469,1.116358316,0.013133991,1.096238686,1.107914116,1.112851155,1.119105404,1.124641023,1.13865594,21
|
|
16
|
+
7/4/2022,R,estimate,1.111869508,1.112566189,0.012878617,1.093199597,1.104268142,1.109183744,1.114924112,1.120564067,1.134212825,16
|
|
17
|
+
7/5/2022,R,estimate,1.107908863,1.108525794,0.012647744,1.089558794,1.100310306,1.105055676,1.110701551,1.11625468,1.129199799,95
|
|
18
|
+
7/6/2022,R,estimate,1.103580912,1.104250963,0.012421573,1.085493492,1.096320347,1.100678023,1.10629828,1.111622217,1.125482831,63
|
|
19
|
+
7/7/2022,R,estimate,1.098901729,1.099758426,0.012199272,1.081759582,1.091920057,1.096196043,1.101746047,1.107195066,1.120926241,141
|
|
20
|
+
7/8/2022,R,estimate,1.09423292,1.095067452,0.011992878,1.077355828,1.087279499,1.091633857,1.097129731,1.10242999,1.11584718,146
|
|
21
|
+
7/9/2022,R,estimate,1.08943816,1.090199467,0.011818812,1.072634031,1.082358233,1.08670624,1.092041026,1.097356995,1.110861537,52
|
|
22
|
+
7/10/2022,R,estimate,1.084433492,1.085177681,0.011689436,1.067672735,1.077317464,1.081899569,1.087126792,1.092277696,1.105268173,29
|
|
23
|
+
7/11/2022,R,estimate,1.079379105,1.080026735,0.011607259,1.062396459,1.072369555,1.076579402,1.082080802,1.087257774,1.099934847,185
|
|
24
|
+
7/12/2022,R,estimate,1.074154953,1.074772378,0.011563578,1.056998452,1.067107488,1.071317315,1.076905882,1.081969607,1.094494115,197
|
|
25
|
+
7/13/2022,R,estimate,1.068741394,1.069441153,0.011541517,1.05152594,1.061827629,1.066399629,1.07165578,1.076372171,1.089020516,194
|
|
26
|
+
7/14/2022,R,estimate,1.063601965,1.064060077,0.011521615,1.046085004,1.056677557,1.060961924,1.06615627,1.070904616,1.084179657,194
|
|
27
|
+
7/15/2022,R,estimate,1.058259278,1.058656293,0.011487507,1.040603069,1.051471652,1.055632993,1.060797609,1.065452142,1.078429889,245
|
|
28
|
+
7/16/2022,R,estimate,1.052872228,1.053256684,0.011429885,1.035505783,1.046119508,1.050426732,1.055364327,1.060053456,1.072345414,76
|
|
29
|
+
7/17/2022,R,estimate,1.047618615,1.047887466,0.01134799,1.030138196,1.040884989,1.045237555,1.050050512,1.054724393,1.066988994,72
|
|
30
|
+
7/18/2022,R,estimate,1.042487385,1.042573767,0.011248833,1.024497896,1.035998349,1.039963469,1.045001139,1.049321708,1.061244923,226
|
|
31
|
+
7/19/2022,R,estimate,1.037448492,1.037339234,0.011144786,1.018545351,1.030909484,1.034910902,1.039821477,1.044010339,1.055460907,275
|
|
32
|
+
7/20/2022,R,estimate,1.032258207,1.032205695,0.011050385,1.013684982,1.025604849,1.029887226,1.034657435,1.038849095,1.050186922,304
|
|
33
|
+
7/21/2022,R,estimate,1.027490742,1.027192906,0.010979069,1.008780104,1.020712131,1.024989139,1.029950134,1.034010335,1.044833322,291
|
|
34
|
+
7/22/2022,R,estimate,1.022812493,1.022318391,0.010940382,1.004203346,1.015850908,1.020143618,1.02506421,1.029090312,1.039413332,326
|
|
35
|
+
7/23/2022,R,estimate,1.017997571,1.017597391,0.010937977,0.99909955,1.011270415,1.015398046,1.020419273,1.024619889,1.034502839,136
|
|
36
|
+
7/24/2022,R,estimate,1.013510786,1.013042905,0.010968631,0.994597261,1.006654653,1.010880696,1.016038954,1.020184276,1.029682678,101
|
|
37
|
+
7/25/2022,R,estimate,1.009234658,1.008665804,0.011022487,0.990231976,1.002172359,1.006550709,1.011671088,1.015848711,1.025365677,741
|
|
38
|
+
7/26/2022,R,estimate,1.005138782,1.004475002,0.011084654,0.986017462,0.997830005,1.00246541,1.007569437,1.011559012,1.021184535,327
|
|
39
|
+
7/27/2022,R,estimate,1.001000517,1.000477646,0.011138082,0.981800891,0.993837439,0.998404935,1.003475583,1.007547047,1.017457795,451
|
|
40
|
+
7/28/2022,R,estimate,0.997147218,0.9966793,0.011167289,0.978201182,0.99010995,0.994492781,0.999763189,1.003676725,1.013393109,388
|
|
41
|
+
7/29/2022,R,estimate,0.993689558,0.993084097,0.011162148,0.974281058,0.986304978,0.990856863,0.995946041,1.000091014,1.009795015,485
|
|
42
|
+
7/30/2022,R,estimate,0.9900597,0.989694822,0.011120741,0.97129141,0.983077739,0.987633172,0.992583396,0.996657066,1.00632074,206
|
|
43
|
+
7/31/2022,R,estimate,0.98687263,0.986512922,0.011050248,0.968007257,0.979935087,0.98435158,0.989417347,0.993374964,1.003105769,155
|
|
44
|
+
8/1/2022,R,estimate,0.983977779,0.983538451,0.010965238,0.965380075,0.976945186,0.981309874,0.986325935,0.990454619,1.000368924,543
|
|
45
|
+
8/2/2022,R,estimate,0.981249332,0.98076997,0.010883489,0.962773272,0.974127083,0.978554488,0.983494772,0.987558824,0.99730121,422
|
|
46
|
+
8/3/2022,R,estimate,0.978510317,0.978204458,0.010820596,0.960278274,0.971593899,0.97588069,0.98094763,0.984963119,0.994668192,434
|
|
47
|
+
8/4/2022,R,estimate,0.976279573,0.975837281,0.010785558,0.958199537,0.969258113,0.973633077,0.978505641,0.982646149,0.992256112,491
|
|
48
|
+
8/5/2022,R,estimate,0.974136679,0.973662271,0.010779432,0.956002419,0.967230103,0.971572586,0.976209248,0.980322593,0.9896539,474
|
|
49
|
+
8/6/2022,R,estimate,0.972178104,0.971671938,0.010797573,0.953910577,0.965028597,0.969752714,0.974316004,0.978332802,0.987195141,240
|
|
50
|
+
8/7/2022,R,estimate,0.970259735,0.96985779,0.010833868,0.951528002,0.963527347,0.967904448,0.972595044,0.976314419,0.985601557,149
|
|
51
|
+
8/8/2022,R,estimate,0.968593865,0.968210753,0.010884123,0.949876819,0.962072776,0.966472419,0.970860211,0.974579334,0.984714603,516
|
|
52
|
+
8/9/2022,R,estimate,0.967076753,0.966721606,0.010946555,0.94852661,0.960677587,0.964759145,0.969471898,0.973016312,0.9836439,520
|
|
53
|
+
8/10/2022,R,estimate,0.965569233,0.965381416,0.011019428,0.947189414,0.959474861,0.963318621,0.968099007,0.971858741,0.98226945,934
|
|
54
|
+
8/11/2022,R,estimate,0.964248604,0.9641819,0.011097985,0.946119255,0.958264266,0.962060777,0.966667726,0.97068044,0.981676956,495
|
|
55
|
+
8/12/2022,R,estimate,0.963227895,0.963115703,0.011173211,0.944965306,0.957157598,0.960934933,0.965564286,0.969372,0.980829845,426
|
|
56
|
+
8/13/2022,R,estimate,0.962199212,0.962176552,0.011233557,0.943927897,0.955953488,0.959920372,0.964596941,0.968498609,0.979775204,245
|
|
57
|
+
8/14/2022,R,estimate,0.961302821,0.96135926,0.011268538,0.943218863,0.955118701,0.959134476,0.963758604,0.967696163,0.9794296,155
|
|
58
|
+
8/15/2022,R,estimate,0.960491321,0.96065954,0.011271953,0.942815063,0.954278556,0.958257568,0.96297022,0.967170691,0.978744427,649
|
|
59
|
+
8/16/2022,R,estimate,0.960023623,0.960073647,0.01124301,0.942431023,0.953560383,0.95755426,0.962557486,0.966703993,0.978137505,395
|
|
60
|
+
8/17/2022,R,estimate,0.959495015,0.959597854,0.011185198,0.942769887,0.953048783,0.957219193,0.962146193,0.966307333,0.977171348,386
|
|
61
|
+
8/18/2022,R,estimate,0.959252492,0.959227834,0.011104185,0.942131406,0.952705623,0.956965966,0.961821609,0.965969422,0.976559727,486
|
|
62
|
+
8/19/2022,R,estimate,0.958848542,0.958958034,0.011006389,0.941753692,0.952683198,0.956748232,0.961432079,0.965723246,0.97595446,465
|
|
63
|
+
8/20/2022,R,estimate,0.95886843,0.958781126,0.010899087,0.941428233,0.952518116,0.956438691,0.961241186,0.965477299,0.975978582,195
|
|
64
|
+
8/21/2022,R,estimate,0.95887329,0.958687617,0.01079168,0.941414741,0.952426014,0.956273024,0.961209239,0.965141558,0.975970662,135
|
|
65
|
+
8/22/2022,R,estimate,0.958889211,0.958665657,0.010696801,0.941282612,0.952133512,0.956098833,0.961252795,0.964907418,0.975828978,552
|
|
66
|
+
8/23/2022,R,estimate,0.958616326,0.958701088,0.010629876,0.941156165,0.9522225,0.956115758,0.961167132,0.965171311,0.975973627,948
|
|
67
|
+
8/24/2022,R,estimate,0.958645037,0.958777709,0.010606443,0.94125697,0.952090601,0.956143745,0.961293519,0.965404048,0.976389498,324
|
|
68
|
+
8/25/2022,R,estimate,0.958747077,0.958877759,0.010637695,0.941698831,0.95202862,0.956094246,0.961174131,0.965247472,0.975891982,450
|
|
69
|
+
8/26/2022,R,estimate,0.958697428,0.958982574,0.010725877,0.941771543,0.952296389,0.956286395,0.961060826,0.965782968,0.976583019,402
|
|
70
|
+
8/27/2022,R,estimate,0.958614294,0.959073379,0.010861852,0.941937783,0.952263066,0.956425914,0.961238098,0.965611368,0.976778417,148
|
|
71
|
+
8/28/2022,R,estimate,0.958552392,0.959132151,0.011026582,0.942263918,0.95222086,0.956199998,0.961350894,0.965728351,0.977311074,90
|
|
72
|
+
8/29/2022,R,estimate,0.958612284,0.959142472,0.011196557,0.94218911,0.952151141,0.956108806,0.96135599,0.965697726,0.977533287,524
|
|
73
|
+
8/30/2022,R,estimate,0.958699,0.959090267,0.011351168,0.941862737,0.95198458,0.956203914,0.96132007,0.96563619,0.977913855,506
|
|
74
|
+
8/31/2022,R,estimate,0.958509616,0.958964353,0.011478951,0.941362559,0.951542468,0.956070932,0.961074376,0.96544793,0.977959764,310
|
|
75
|
+
9/1/2022,R,estimate,0.958276436,0.958756703,0.011580073,0.941026979,0.951192456,0.955870247,0.960747875,0.965616657,0.978129742,360
|
|
76
|
+
9/2/2022,R,estimate,0.957870527,0.95846242,0.011663997,0.941148448,0.950797691,0.955351931,0.960509485,0.965244533,0.978403167,452
|
|
77
|
+
9/3/2022,R,estimate,0.957363028,0.958079441,0.011743413,0.94056884,0.950528258,0.95479726,0.960208338,0.964922605,0.978048206,103
|
|
78
|
+
9/4/2022,R,estimate,0.957096349,0.957608057,0.011827205,0.939569031,0.94996587,0.95436669,0.959700375,0.96472832,0.978255615,89
|
|
79
|
+
9/5/2022,R,estimate,0.956715567,0.957050334,0.011915709,0.938843036,0.949242456,0.953875793,0.959398815,0.964203237,0.977601458,91
|
|
80
|
+
9/6/2022,R,estimate,0.955966713,0.956409543,0.01200022,0.937910876,0.948648988,0.953294932,0.958914392,0.963381251,0.976893047,708
|
|
81
|
+
9/7/2022,R,estimate,0.955319232,0.955689648,0.012066502,0.93712388,0.947996797,0.952659602,0.958239028,0.96300613,0.976207747,242
|
|
82
|
+
9/8/2022,R,estimate,0.954662363,0.954894897,0.012100305,0.936256098,0.947326632,0.95170191,0.957506166,0.962329478,0.975417396,291
|
|
83
|
+
9/9/2022,R,estimate,0.95377074,0.954029529,0.012092535,0.935439614,0.94661212,0.950757214,0.956630395,0.961256609,0.973811315,271
|
|
84
|
+
9/10/2022,R,estimate,0.952944549,0.953097573,0.012042485,0.934509596,0.945566165,0.94991198,0.95544022,0.960213635,0.973060541,95
|
|
85
|
+
9/11/2022,R,estimate,0.95173954,0.952102749,0.011958525,0.933275644,0.944563716,0.94897134,0.954536192,0.959291361,0.972146151,81
|
|
86
|
+
9/12/2022,R,estimate,0.950749103,0.951048434,0.011856388,0.932633024,0.943538423,0.947977972,0.953742627,0.957953583,0.970992231,291
|
|
87
|
+
9/13/2022,R,estimate,0.949652068,0.949937698,0.011755708,0.93094761,0.942484608,0.946846609,0.952441229,0.956832447,0.969336655,246
|
|
88
|
+
9/14/2022,R,estimate,0.948474997,0.948773369,0.011675845,0.930340728,0.941385829,0.945848298,0.951151414,0.955748013,0.967972756,285
|
|
89
|
+
9/15/2022,R,estimate,0.947290206,0.947558145,0.011632382,0.929003544,0.940228287,0.944582379,0.949776561,0.954409189,0.966874966,258
|
|
90
|
+
9/16/2022,R,estimate,0.946080651,0.946294706,0.011635561,0.927965383,0.939113713,0.94337024,0.948475492,0.953111451,0.965346006,181
|
|
91
|
+
9/17/2022,R,estimate,0.944954546,0.944985847,0.011691217,0.926387968,0.93784927,0.942249383,0.947567097,0.951764545,0.963862096,88
|
|
92
|
+
9/18/2022,R,estimate,0.943685965,0.943634588,0.011803583,0.925118178,0.936012558,0.940989168,0.946492203,0.950763667,0.96258184,68
|
|
93
|
+
9/19/2022,R,estimate,0.942487323,0.94224427,0.011978452,0.923424437,0.934513647,0.939552556,0.945146037,0.949456617,0.96097024,298
|
|
94
|
+
9/20/2022,R,estimate,0.941067392,0.940818627,0.012225115,0.921249253,0.932811885,0.937905548,0.944018632,0.948404818,0.960274968,278
|
|
95
|
+
9/21/2022,R,estimate,0.939511893,0.939361829,0.012556317,0.919966961,0.931425814,0.936204255,0.942810243,0.947089199,0.959631534,226
|
|
96
|
+
9/22/2022,R,estimate,0.937981492,0.937878524,0.012986604,0.917057708,0.929748332,0.934744285,0.94124894,0.946385796,0.958284454,239
|
|
97
|
+
9/23/2022,R,estimate,0.936730336,0.936373881,0.013530307,0.914137078,0.927739126,0.93320123,0.939776523,0.945131667,0.957195766,180
|
|
98
|
+
9/24/2022,R,estimate,0.935153785,0.93485366,0.0142005,0.911397875,0.926256134,0.931786458,0.938256086,0.944158654,0.956627697,56
|
|
99
|
+
9/25/2022,R,estimate,0.933679225,0.933324311,0.015009456,0.90842596,0.924172599,0.930269516,0.937091615,0.943496344,0.956446238,39
|
|
100
|
+
9/26/2022,R,estimate,0.932322852,0.931793072,0.015969951,0.904637927,0.92208231,0.928542312,0.935671416,0.942572897,0.956673631,174
|
|
101
|
+
9/27/2022,R,estimate,0.930778847,0.930268037,0.017095913,0.90177939,0.919670182,0.92675967,0.934936356,0.941908625,0.957107714,154
|
|
102
|
+
9/28/2022,R,estimate,0.929533316,0.928758149,0.018401171,0.897305077,0.917568181,0.925188182,0.934105264,0.941200373,0.957650075,165
|
|
103
|
+
9/29/2022,R,estimate,0.928216478,0.927273069,0.019896166,0.893339667,0.915147219,0.923309279,0.933289652,0.940789842,0.958249828,188
|
|
104
|
+
9/30/2022,R,estimate,0.92691247,0.925822928,0.02158392,0.889181124,0.912816931,0.921243215,0.932050513,0.940444445,0.960278071,125
|
|
105
|
+
10/1/2022,R,estimate,0.925381446,0.924417975,0.023457254,0.884906159,0.910345348,0.919646614,0.931218681,0.94014505,0.961170497,54
|
|
106
|
+
10/2/2022,R,estimate,0.923855519,0.923068184,0.025498742,0.8801764,0.907635183,0.917982487,0.930398073,0.939913629,0.963176751,27
|
|
107
|
+
10/3/2022,R,estimate,0.922700378,0.921782852,0.027683538,0.875365449,0.904815676,0.916335952,0.929268784,0.939360554,0.965748907,129
|
|
108
|
+
10/4/2022,R,estimate,0.921585163,0.920570265,0.029983881,0.870265177,0.902289178,0.914995152,0.928566085,0.93940938,0.967629428,135
|
|
109
|
+
10/5/2022,R,estimate based on partial data,0.920759549,0.919437413,0.032373583,0.865707887,0.900043508,0.913318574,0.927888428,0.939754311,0.970147307,102
|
|
110
|
+
10/6/2022,R,estimate based on partial data,0.919676006,0.91838977,0.03483108,0.860735015,0.897644351,0.911557053,0.927412265,0.939871714,0.973553962,170
|
|
111
|
+
10/7/2022,R,estimate based on partial data,0.91924448,0.91743114,0.03734045,0.855814972,0.895388483,0.910191768,0.926534835,0.940573157,0.976452225,109
|
|
112
|
+
10/8/2022,R,estimate based on partial data,0.918342076,0.916563538,0.03989068,0.851197859,0.892925591,0.908737239,0.926149969,0.941202583,0.980241528,33
|
|
113
|
+
10/9/2022,R,estimate based on partial data,0.917386009,0.915787163,0.042473972,0.847352592,0.890597233,0.907347596,0.926156847,0.942348693,0.984201676,19
|
|
114
|
+
10/10/2022,R,estimate based on partial data,0.916897728,0.915100444,0.045084031,0.842762801,0.888048657,0.905969754,0.926049343,0.942910097,0.987456684,42
|
|
115
|
+
10/11/2022,R,estimate based on partial data,0.916129289,0.914500201,0.04771497,0.838966886,0.886099152,0.9047213,0.926060127,0.943797776,0.990008183,143
|
|
116
|
+
10/12/2022,R,estimate based on partial data,0.915595364,0.913981903,0.050360987,0.834236155,0.883873055,0.903787625,0.925827041,0.944277474,0.993150379,106
|
|
117
|
+
10/13/2022,R,estimate based on partial data,0.914616525,0.91354,0.053016611,0.829278172,0.881040046,0.903104469,0.926182444,0.94568726,0.99595533,127
|
|
118
|
+
10/14/2022,R,estimate based on partial data,0.91335098,0.913168291,0.055677128,0.824440435,0.878898206,0.901962354,0.925683283,0.946600105,1.000865913,80
|
|
119
|
+
10/15/2022,R,estimate based on partial data,0.912694962,0.91286029,0.0583389,0.818905426,0.876966492,0.900862449,0.926106401,0.947202697,1.006108682,24
|
|
120
|
+
10/16/2022,R,estimate based on partial data,0.912314149,0.912609563,0.060999438,0.814538375,0.875432055,0.899734994,0.92632476,0.948485005,1.010796626,8
|
|
121
|
+
10/17/2022,R,estimate based on partial data,0.912316571,0.912410013,0.063657269,0.810816039,0.873404715,0.898959155,0.92575525,0.949703456,1.015896277,95
|
|
122
|
+
10/18/2022,R,estimate based on partial data,0.911396525,0.912256128,0.066311637,0.805446088,0.872115755,0.897826801,0.925826361,0.950798511,1.019647294,37
|
|
123
|
+
10/19/2022,R,estimate based on partial data,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,52
|
|
124
|
+
10/20/2022,R,forecast,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,NA
|
|
125
|
+
10/21/2022,R,forecast,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,NA
|
|
126
|
+
10/22/2022,R,forecast,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,NA
|
|
127
|
+
10/23/2022,R,forecast,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,NA
|
|
128
|
+
10/24/2022,R,forecast,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,NA
|
|
129
|
+
10/25/2022,R,forecast,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,NA
|
|
130
|
+
10/26/2022,R,forecast,0.911111219,0.912143156,0.068962115,0.801992674,0.870288885,0.897461837,0.925666155,0.951917826,1.023021381,NA
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Example Line Chart",
|
|
4
|
+
"theme": "theme-green",
|
|
5
|
+
"fontSize": "medium",
|
|
6
|
+
"height": "375",
|
|
7
|
+
"padding": { "left": 5, "right": 5 },
|
|
8
|
+
"yAxis": { "size": "75", "gridLines": false, "label": "Y-Axis Example Label", "numTicks": "9" },
|
|
9
|
+
"barThickness": 0.35,
|
|
10
|
+
"xAxis": { "size": "77", "tickRotation": "25", "dataKey": "Date", "label": "X-Axis Example Label", "type": "date", "dateParseFormat": "%d/%m/%Y", "dateDisplayFormat": "%d/%m/%Y" },
|
|
11
|
+
"table": { "label": "Data Table", "expanded": true, "download": true },
|
|
12
|
+
"legend": { "behavior": "isolate", "position": "right", "label": "Type of Data" },
|
|
13
|
+
"palette": "qualitative-bold",
|
|
14
|
+
"labels": false,
|
|
15
|
+
"dataFormat": {},
|
|
16
|
+
"confidenceKeys": {},
|
|
17
|
+
"data": [
|
|
18
|
+
{ "Date": "1/15/2016", "Data 1": "900", "Data 2": "1350", "Data 3": "2000", "Data 4": "950", "Data 5": "1200", "Data 6": "1610" },
|
|
19
|
+
{ "Date": "2/15/2016", "Data 1": "600", "Data 2": "1150", "Data 3": "1000", "Data 4": "1350", "Data 5": "200", "Data 6": "610" },
|
|
20
|
+
{ "Date": "3/15/2016", "Data 1": "700", "Data 2": "1550", "Data 3": "1800", "Data 4": "1650", "Data 5": "2000", "Data 6": "1610" },
|
|
21
|
+
{ "Date": "3/15/2016", "Data 1": "300", "Data 2": "550", "Data 3": "800", "Data 4": "650", "Data 5": "2100", "Data 6": "2210" }
|
|
22
|
+
],
|
|
23
|
+
"visualizationType": "Line",
|
|
24
|
+
"series": [
|
|
25
|
+
{ "dataKey": "Data 1", "type": "Line" },
|
|
26
|
+
{ "dataKey": "Data 2", "type": "Line" },
|
|
27
|
+
{ "dataKey": "Data 3", "type": "Line" },
|
|
28
|
+
{ "dataKey": "Data 4", "type": "Line" },
|
|
29
|
+
{ "dataKey": "Data 5", "type": "Line" },
|
|
30
|
+
{ "dataKey": "Data 6", "type": "Line" }
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Example Line Chart",
|
|
4
|
+
"theme": "theme-green",
|
|
5
|
+
"fontSize": "medium",
|
|
6
|
+
"height": "375",
|
|
7
|
+
"padding": {
|
|
8
|
+
"left": 5,
|
|
9
|
+
"right": 5
|
|
10
|
+
},
|
|
11
|
+
"yAxis": {
|
|
12
|
+
"size": "75",
|
|
13
|
+
"gridLines": false,
|
|
14
|
+
"label": "Y-Axis Example Label",
|
|
15
|
+
"numTicks": "9"
|
|
16
|
+
},
|
|
17
|
+
"barThickness": 0.35,
|
|
18
|
+
"xAxis": {
|
|
19
|
+
"size": "77",
|
|
20
|
+
"tickRotation": "25",
|
|
21
|
+
"dataKey": "Date",
|
|
22
|
+
"label": "X-Axis Example Label",
|
|
23
|
+
"type": "date",
|
|
24
|
+
"dateParseFormat": "%d/%m/%Y",
|
|
25
|
+
"dateDisplayFormat": "%d/%m/%Y"
|
|
26
|
+
},
|
|
27
|
+
"table": {
|
|
28
|
+
"label": "Data Table",
|
|
29
|
+
"expanded": true,
|
|
30
|
+
"download": true
|
|
31
|
+
},
|
|
32
|
+
"legend": {
|
|
33
|
+
"behavior": "isolate",
|
|
34
|
+
"position": "right",
|
|
35
|
+
"label": "Type of Data"
|
|
36
|
+
},
|
|
37
|
+
"palette": "qualitative-bold",
|
|
38
|
+
"labels": false,
|
|
39
|
+
"dataFormat": {},
|
|
40
|
+
"confidenceKeys": {},
|
|
41
|
+
"data": [
|
|
42
|
+
{
|
|
43
|
+
"Date": "1/15/2016",
|
|
44
|
+
"Data 1": "foo",
|
|
45
|
+
"Data 2": "135",
|
|
46
|
+
"Data 3": "300",
|
|
47
|
+
"Data 4": "95",
|
|
48
|
+
"Data 5": "120",
|
|
49
|
+
"Data 6": "310"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"Date": "2/15/2016",
|
|
53
|
+
"Data 1": "40",
|
|
54
|
+
"Data 2": "90",
|
|
55
|
+
"Data 3": "240",
|
|
56
|
+
"Data 4": "60",
|
|
57
|
+
"Data 5": "160",
|
|
58
|
+
"Data 6": "200"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"Date": "3/15/2016",
|
|
62
|
+
"Data 1": "50",
|
|
63
|
+
"Data 2": "300",
|
|
64
|
+
"Data 3": "290",
|
|
65
|
+
"Data 4": "100",
|
|
66
|
+
"Data 5": "200",
|
|
67
|
+
"Data 6": "250"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"Date": "4/15/2016",
|
|
71
|
+
"Data 1": "120",
|
|
72
|
+
"Data 2": "160",
|
|
73
|
+
"Data 3": "230",
|
|
74
|
+
"Data 4": "180",
|
|
75
|
+
"Data 5": "160",
|
|
76
|
+
"Data 6": "220"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"Date": "5/15/2016",
|
|
80
|
+
"Data 1": "80",
|
|
81
|
+
"Data 2": "350",
|
|
82
|
+
"Data 3": "300",
|
|
83
|
+
"Data 4": "150",
|
|
84
|
+
"Data 5": "130",
|
|
85
|
+
"Data 6": "100"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"Date": "6/15/2016",
|
|
89
|
+
"Data 1": "90",
|
|
90
|
+
"Data 2": "220",
|
|
91
|
+
"Data 3": "320",
|
|
92
|
+
"Data 4": "100",
|
|
93
|
+
"Data 5": "220",
|
|
94
|
+
"Data 6": "300"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"visualizationType": "Line",
|
|
98
|
+
"series": [
|
|
99
|
+
{
|
|
100
|
+
"dataKey": "Data 1",
|
|
101
|
+
"type": "Line"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"dataKey": "Data 2",
|
|
105
|
+
"type": "Line"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"dataKey": "Data 3",
|
|
109
|
+
"type": "Line"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"dataKey": "Data 4",
|
|
113
|
+
"type": "Line"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"dataKey": "Data 5",
|
|
117
|
+
"type": "Line"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"dataKey": "Data 6",
|
|
121
|
+
"type": "Line"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Paired Bar Chart Example",
|
|
3
|
-
"dataUrl": "/examples/paired-bar-data.json",
|
|
3
|
+
"dataUrl": "/examples/feature/paired-bar/paired-bar-data.json",
|
|
4
4
|
"animate": true,
|
|
5
5
|
"animateReplay": true,
|
|
6
6
|
"visualizationType": "Paired Bar",
|
|
7
7
|
"series": [
|
|
8
|
-
{
|
|
9
|
-
|
|
8
|
+
{
|
|
9
|
+
"dataKey": "Male",
|
|
10
|
+
"type": "Paired Bar"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"dataKey": "Female",
|
|
14
|
+
"type": "Paired Bar"
|
|
15
|
+
}
|
|
10
16
|
],
|
|
11
17
|
"dataFormat": {
|
|
12
18
|
"roundTo": 1,
|
|
@@ -47,4 +53,4 @@
|
|
|
47
53
|
"runtime": {
|
|
48
54
|
"horizontal": true
|
|
49
55
|
}
|
|
50
|
-
}
|
|
56
|
+
}
|
package/examples/{planet-pie-example-config.json → feature/pie/planet-pie-example-config.json}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Planet Radius (Pie Example)",
|
|
3
|
-
"dataUrl": "/examples/planet-example-data.json",
|
|
3
|
+
"dataUrl": "/examples/feature/__data__/planet-example-data.json",
|
|
4
4
|
"animate": true,
|
|
5
5
|
"animateReplay": true,
|
|
6
6
|
"visualizationType": "Pie",
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
"label": "Data Table",
|
|
28
28
|
"expanded": false
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"barHeight": 25,
|
|
49
49
|
"height": 300,
|
|
50
50
|
"xAxis": {
|
|
51
|
-
"type": "
|
|
51
|
+
"type": "",
|
|
52
52
|
"hideAxis": false,
|
|
53
53
|
"hideLabel": false,
|
|
54
54
|
"hideTicks": false,
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"accent": true,
|
|
106
106
|
"background": true
|
|
107
107
|
},
|
|
108
|
-
"dataUrl": "/examples/scatterplot-continuous.csv",
|
|
108
|
+
"dataUrl": "/examples/feature/scatterplot/scatterplot-continuous.csv",
|
|
109
109
|
"visualizationType": "Scatter Plot",
|
|
110
110
|
"description": "Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups.",
|
|
111
111
|
"dataDescription": {
|
|
@@ -133,4 +133,4 @@
|
|
|
133
133
|
"type": "Bar"
|
|
134
134
|
}
|
|
135
135
|
]
|
|
136
|
-
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Example Spark Line",
|
|
4
|
+
"theme": "theme-blue",
|
|
5
|
+
"fontSize": "medium",
|
|
6
|
+
"height": "375",
|
|
7
|
+
"compact": true,
|
|
8
|
+
"padding": {
|
|
9
|
+
"left": 5,
|
|
10
|
+
"right": 5
|
|
11
|
+
},
|
|
12
|
+
"yAxis": {
|
|
13
|
+
"size": "75",
|
|
14
|
+
"gridLines": false,
|
|
15
|
+
"label": "Y-Axis Example Label",
|
|
16
|
+
"numTicks": "9"
|
|
17
|
+
},
|
|
18
|
+
"barThickness": 0.35,
|
|
19
|
+
"xAxis": {
|
|
20
|
+
"size": "77",
|
|
21
|
+
"tickRotation": "25",
|
|
22
|
+
"dataKey": "Date",
|
|
23
|
+
"label": "X-Axis Example Label",
|
|
24
|
+
"type": "date",
|
|
25
|
+
"dateParseFormat": "%d/%m/%Y",
|
|
26
|
+
"dateDisplayFormat": "%d/%m/%Y"
|
|
27
|
+
},
|
|
28
|
+
"table": {
|
|
29
|
+
"label": "Data Table",
|
|
30
|
+
"expanded": true,
|
|
31
|
+
"download": true
|
|
32
|
+
},
|
|
33
|
+
"legend": {
|
|
34
|
+
"behavior": "isolate",
|
|
35
|
+
"position": "right",
|
|
36
|
+
"label": "Type of Data"
|
|
37
|
+
},
|
|
38
|
+
"palette": "qualitative-bold",
|
|
39
|
+
"labels": false,
|
|
40
|
+
"dataFormat": {},
|
|
41
|
+
"confidenceKeys": {},
|
|
42
|
+
"data": [
|
|
43
|
+
{
|
|
44
|
+
"Date": "1/15/2016",
|
|
45
|
+
"Data 1": "0"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"Date": "2/15/2016",
|
|
49
|
+
"Data 1": "25"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"Date": "3/15/2016",
|
|
53
|
+
"Data 1": "50"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"Date": "4/15/2016",
|
|
57
|
+
"Data 1": "75"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"Date": "5/15/2016",
|
|
61
|
+
"Data 1": "100"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"Date": "6/15/2016",
|
|
65
|
+
"Data 1": "50"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"visualizationType": "Spark Line",
|
|
69
|
+
"series": [
|
|
70
|
+
{
|
|
71
|
+
"dataKey": "Data 1",
|
|
72
|
+
"type": "Bar"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"description": "Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups."
|
|
76
|
+
}
|