@cdc/chart 4.23.3 → 4.23.5
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 +52543 -50830
- package/examples/feature/__data__/area-chart.json +56 -0
- package/examples/{planet-example-data.json → feature/__data__/planet-example-data.json} +3 -8
- package/examples/feature/__data__/planet-logaritmic-data.json +56 -0
- package/examples/feature/area/area-chart-category.json +240 -0
- package/examples/{area-chart.json → feature/area/area-chart-date.json} +70 -13
- package/examples/feature/bar/example-bar-chart.json +558 -0
- package/examples/{horizontal-chart-max-increase.json → feature/bar/horizontal-chart-max-increase.json} +10 -4
- 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-chart-logaritmic-config.json +170 -0
- package/examples/{planet-example-config.json → feature/bar/planet-example-config.json} +2 -2
- package/examples/{box-plot.json → feature/boxplot/boxplot.json} +7 -7
- package/examples/feature/boxplot/testing.csv +38 -0
- package/examples/feature/boxplot/valid-boxplot.csv +17 -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/{planet-deviation-config.json → feature/deviation/planet-deviation-config.json} +2 -2
- package/examples/{planet-deviation-data.json → feature/deviation/planet-deviation-data.json} +9 -9
- package/examples/feature/filters/filter-testing.json +212 -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/forecasting/random_data.csv +366 -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.json → feature/scatterplot/scatterplot.json} +1 -1
- package/examples/feature/test-highlight/test-highlight-2.json +789 -0
- package/examples/feature/test-highlight/test-highlight-vertical.json +561 -0
- package/examples/feature/test-highlight/test-highlight.json +100 -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/{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} +1 -1
- package/examples/{stacked-vertical-bar-example-nonnumerics.json → feature/tests-non-numerics/stacked-vertical-bar-example-nonnumerics.json} +1 -2
- package/examples/gallery/bar-chart-horizontal/horizontal-highlight.json +345 -0
- package/examples/gallery/bar-chart-vertical/combo-line-chart.json +145 -7
- package/examples/gallery/paired-bar/paired-bar-chart.json +1 -0
- package/index.html +73 -49
- package/package.json +2 -2
- package/src/CdcChart.jsx +405 -40
- package/src/components/AreaChart.jsx +122 -80
- package/src/components/BarChart.jsx +126 -49
- package/src/components/BoxPlot.jsx +28 -20
- package/src/components/DataTable.jsx +7 -6
- package/src/components/DeviationBar.jsx +34 -34
- package/src/components/EditorPanel.jsx +1332 -352
- package/src/components/Legend.jsx +40 -4
- package/src/components/LineChart.jsx +10 -23
- package/src/components/LinearChart.jsx +133 -286
- package/src/components/PairedBarChart.jsx +6 -6
- package/src/components/PieChart.jsx +2 -4
- package/src/components/SparkLine.jsx +6 -42
- package/src/data/initial-state.js +23 -4
- package/src/hooks/useHighlightedBars.js +154 -0
- package/src/hooks/useMinMax.js +92 -0
- package/src/hooks/useReduceData.js +31 -57
- package/src/hooks/useScales.js +202 -0
- package/src/index.jsx +2 -1
- package/src/scss/editor-panel.scss +15 -0
- package/src/scss/main.scss +8 -6
- package/examples/box-plot.csv +0 -5
- package/examples/dynamic-legends.json +0 -125
- package/examples/example-bar-chart.json +0 -36
- package/examples/line-chart.json +0 -34
- package/examples/temp-example-config.json +0 -64
- package/examples/temp-example-data.json +0 -130
- package/src/components/Filters.jsx +0 -126
- /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/{planet-example-data-max-increase.json → feature/__data__/planet-example-data-max-increase.json} +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/{line-chart-max-increase.json → feature/line/line-chart-max-increase.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/{scatterplot-continuous.csv → feature/scatterplot/scatterplot-continuous.csv} +0 -0
- /package/examples/{example-sparkline.json → feature/sparkline/example-sparkline.json} +0 -0
- /package/examples/{big-small-test-bar.json → feature/tests-big-small/big-small-test-bar.json} +0 -0
- /package/examples/{big-small-test-line.json → feature/tests-big-small/big-small-test-line.json} +0 -0
- /package/examples/{big-small-test-negative.json → feature/tests-big-small/big-small-test-negative.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/{line-chart-nonnumeric.json → feature/tests-non-numerics/line-chart-nonnumeric.json} +0 -0
- /package/examples/{planet-example-data-nonnumeric.json → feature/tests-non-numerics/planet-example-data-nonnumeric.json} +0 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Planet Radius (Combo Example)",
|
|
4
|
+
"showTitle": true,
|
|
5
|
+
"theme": "theme-blue",
|
|
6
|
+
"animate": false,
|
|
7
|
+
"fontSize": "small",
|
|
8
|
+
"lineDatapointStyle": "hover",
|
|
9
|
+
"barHasBorder": "true",
|
|
10
|
+
"isLollipopChart": false,
|
|
11
|
+
"lollipopShape": "circle",
|
|
12
|
+
"lollipopColorStyle": "two-tone",
|
|
13
|
+
"visualizationSubType": "regular",
|
|
14
|
+
"barStyle": "flat",
|
|
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": "123",
|
|
27
|
+
"gridLines": true,
|
|
28
|
+
"enablePadding": false,
|
|
29
|
+
"min": "",
|
|
30
|
+
"max": "",
|
|
31
|
+
"labelColor": "#333",
|
|
32
|
+
"tickLabelColor": "#333",
|
|
33
|
+
"tickColor": "#333",
|
|
34
|
+
"rightHideAxis": true,
|
|
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
|
+
"labelPlacement": "On Date/Category Axis"
|
|
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
|
+
"total": "Total",
|
|
71
|
+
"outliers": "Outliers",
|
|
72
|
+
"values": "Values",
|
|
73
|
+
"lowerBounds": "Lower Bounds",
|
|
74
|
+
"upperBounds": "Upper Bounds"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"topAxis": {
|
|
78
|
+
"hasLine": false
|
|
79
|
+
},
|
|
80
|
+
"isLegendValue": false,
|
|
81
|
+
"barThickness": 0.35,
|
|
82
|
+
"barHeight": 25,
|
|
83
|
+
"barSpace": 15,
|
|
84
|
+
"heights": {
|
|
85
|
+
"vertical": 300,
|
|
86
|
+
"horizontal": 750
|
|
87
|
+
},
|
|
88
|
+
"xAxis": {
|
|
89
|
+
"type": "categorical",
|
|
90
|
+
"showTargetLabel": true,
|
|
91
|
+
"targetLabel": "Target",
|
|
92
|
+
"hideAxis": false,
|
|
93
|
+
"hideLabel": false,
|
|
94
|
+
"hideTicks": false,
|
|
95
|
+
"size": 75,
|
|
96
|
+
"tickRotation": 0,
|
|
97
|
+
"min": "",
|
|
98
|
+
"max": "",
|
|
99
|
+
"labelColor": "#333",
|
|
100
|
+
"tickLabelColor": "#333",
|
|
101
|
+
"tickColor": "#333",
|
|
102
|
+
"numTicks": "",
|
|
103
|
+
"labelOffset": 65,
|
|
104
|
+
"axisPadding": 0,
|
|
105
|
+
"target": 0,
|
|
106
|
+
"label": "Planet",
|
|
107
|
+
"dataKey": "name"
|
|
108
|
+
},
|
|
109
|
+
"table": {
|
|
110
|
+
"label": "Data Table",
|
|
111
|
+
"expanded": false,
|
|
112
|
+
"limitHeight": false,
|
|
113
|
+
"height": "",
|
|
114
|
+
"caption": "",
|
|
115
|
+
"showDownloadUrl": false,
|
|
116
|
+
"showDataTableLink": true,
|
|
117
|
+
"show": true
|
|
118
|
+
},
|
|
119
|
+
"orientation": "vertical",
|
|
120
|
+
"legend": {
|
|
121
|
+
"behavior": "isolate",
|
|
122
|
+
"singleRow": false,
|
|
123
|
+
"colorCode": "",
|
|
124
|
+
"reverseLabelOrder": false,
|
|
125
|
+
"description": "",
|
|
126
|
+
"dynamicLegend": false,
|
|
127
|
+
"dynamicLegendDefaultText": "Show All",
|
|
128
|
+
"dynamicLegendItemLimit": 5,
|
|
129
|
+
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
130
|
+
"dynamicLegendChartMessage": "Select Options from the Legend"
|
|
131
|
+
},
|
|
132
|
+
"exclusions": {
|
|
133
|
+
"active": false,
|
|
134
|
+
"keys": []
|
|
135
|
+
},
|
|
136
|
+
"palette": "qualitative3",
|
|
137
|
+
"isPaletteReversed": false,
|
|
138
|
+
"twoColor": {
|
|
139
|
+
"palette": "monochrome-1",
|
|
140
|
+
"isPaletteReversed": false
|
|
141
|
+
},
|
|
142
|
+
"labels": true,
|
|
143
|
+
"dataFormat": {
|
|
144
|
+
"commas": false,
|
|
145
|
+
"prefix": "",
|
|
146
|
+
"suffix": "",
|
|
147
|
+
"abbreviated": true,
|
|
148
|
+
"bottomSuffix": "",
|
|
149
|
+
"bottomPrefix": "",
|
|
150
|
+
"bottomAbbreviated": false,
|
|
151
|
+
"roundTo": 1
|
|
152
|
+
},
|
|
153
|
+
"confidenceKeys": {},
|
|
154
|
+
"visual": {
|
|
155
|
+
"border": true,
|
|
156
|
+
"accent": true,
|
|
157
|
+
"background": true
|
|
158
|
+
},
|
|
159
|
+
"useLogScale": true,
|
|
160
|
+
"filterBehavior": "Filter Change",
|
|
161
|
+
"highlightedBarValues": [],
|
|
162
|
+
"series": [
|
|
163
|
+
{
|
|
164
|
+
"dataKey": "Radius",
|
|
165
|
+
"type": "Line"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"dataUrl": "/examples/feature/__data__/planet-logaritmic-data.json",
|
|
169
|
+
"visualizationType": "Bar"
|
|
170
|
+
}
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"accent": true,
|
|
144
144
|
"background": true
|
|
145
145
|
},
|
|
146
|
-
"dataUrl": "/examples/planet-example-data.json",
|
|
146
|
+
"dataUrl": "/examples/feature/__data__/planet-example-data.json",
|
|
147
147
|
"visualizationType": "Deviation Bar",
|
|
148
148
|
"series": [
|
|
149
149
|
{
|
|
@@ -153,4 +153,4 @@
|
|
|
153
153
|
}
|
|
154
154
|
],
|
|
155
155
|
"dataCutoff": "0.5"
|
|
156
|
-
}
|
|
156
|
+
}
|
|
@@ -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": {
|
|
@@ -104,20 +104,20 @@
|
|
|
104
104
|
"accent": true,
|
|
105
105
|
"background": true
|
|
106
106
|
},
|
|
107
|
-
"dataUrl": "/examples/
|
|
107
|
+
"dataUrl": "/examples/feature/boxplot/testing.csv",
|
|
108
108
|
"visualizationType": "Box Plot",
|
|
109
109
|
"description": "Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups.",
|
|
110
110
|
"dataDescription": {
|
|
111
111
|
"horizontal": false,
|
|
112
112
|
"series": false,
|
|
113
113
|
"singleRow": true,
|
|
114
|
-
"xKey": "
|
|
115
|
-
"valueKey": "
|
|
114
|
+
"xKey": "category one",
|
|
115
|
+
"valueKey": "value"
|
|
116
116
|
},
|
|
117
117
|
"series": [
|
|
118
118
|
{
|
|
119
|
-
"dataKey": "
|
|
119
|
+
"dataKey": "value",
|
|
120
120
|
"type": "Bar"
|
|
121
121
|
}
|
|
122
122
|
]
|
|
123
|
-
}
|
|
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,17 @@
|
|
|
1
|
+
Group_Category,Value
|
|
2
|
+
category one,21
|
|
3
|
+
category one,19
|
|
4
|
+
category one,23
|
|
5
|
+
category one,24
|
|
6
|
+
category two,18
|
|
7
|
+
category two,10
|
|
8
|
+
category two,12
|
|
9
|
+
category two,19
|
|
10
|
+
category three,30
|
|
11
|
+
category three,35
|
|
12
|
+
category three,36
|
|
13
|
+
category three,40
|
|
14
|
+
category four,50
|
|
15
|
+
category four,54
|
|
16
|
+
category four,42
|
|
17
|
+
category four,159
|
package/examples/{planet-deviation-config.json → feature/deviation/planet-deviation-config.json}
RENAMED
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"accent": true,
|
|
156
156
|
"background": true
|
|
157
157
|
},
|
|
158
|
-
"dataUrl": "/examples/planet-deviation-data.json",
|
|
158
|
+
"dataUrl": "/examples/feature/deviation/planet-deviation-data.json",
|
|
159
159
|
"visualizationType": "Deviation Bar",
|
|
160
160
|
"series": [
|
|
161
161
|
{
|
|
@@ -165,4 +165,4 @@
|
|
|
165
165
|
}
|
|
166
166
|
],
|
|
167
167
|
"dataCutoff": "0.5"
|
|
168
|
-
}
|
|
168
|
+
}
|
package/examples/{planet-deviation-data.json → feature/deviation/planet-deviation-data.json}
RENAMED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"name": "Jupiter",
|
|
4
|
-
"Radius": "
|
|
4
|
+
"Radius": "100"
|
|
5
5
|
},
|
|
6
6
|
{
|
|
7
7
|
"name": "Saturn",
|
|
8
|
-
"Radius": "
|
|
8
|
+
"Radius": "90"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"name": "Uranus",
|
|
12
|
-
"Radius": "
|
|
12
|
+
"Radius": "95"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"name": "Neptune",
|
|
16
|
-
"Radius": "
|
|
16
|
+
"Radius": "89"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"name": "Earth",
|
|
20
|
-
"Radius": "
|
|
20
|
+
"Radius": "92"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "Venus",
|
|
24
|
-
"Radius": "
|
|
24
|
+
"Radius": "85"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "Mars",
|
|
28
|
-
"Radius": "
|
|
28
|
+
"Radius": "99"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"name": "Mercury",
|
|
32
|
-
"Radius": "
|
|
32
|
+
"Radius": "66"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"name": "Pluto",
|
|
36
|
-
"Radius": "
|
|
36
|
+
"Radius": "79"
|
|
37
37
|
}
|
|
38
38
|
]
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "chart",
|
|
3
|
+
"title": "Planet Radius (Combo Example)",
|
|
4
|
+
"showTitle": true,
|
|
5
|
+
"showDownloadMediaButton": false,
|
|
6
|
+
"theme": "theme-blue",
|
|
7
|
+
"animate": true,
|
|
8
|
+
"fontSize": "medium",
|
|
9
|
+
"lineDatapointStyle": "hover",
|
|
10
|
+
"barHasBorder": "false",
|
|
11
|
+
"isLollipopChart": false,
|
|
12
|
+
"lollipopShape": "circle",
|
|
13
|
+
"lollipopColorStyle": "two-tone",
|
|
14
|
+
"visualizationSubType": "regular",
|
|
15
|
+
"barStyle": "",
|
|
16
|
+
"roundingStyle": "standard",
|
|
17
|
+
"tipRounding": "top",
|
|
18
|
+
"general": {
|
|
19
|
+
"showDownloadButton": true
|
|
20
|
+
},
|
|
21
|
+
"padding": {
|
|
22
|
+
"left": 0,
|
|
23
|
+
"right": 0
|
|
24
|
+
},
|
|
25
|
+
"yAxis": {
|
|
26
|
+
"hideAxis": false,
|
|
27
|
+
"displayNumbersOnBar": false,
|
|
28
|
+
"hideLabel": false,
|
|
29
|
+
"hideTicks": false,
|
|
30
|
+
"size": 50,
|
|
31
|
+
"gridLines": false,
|
|
32
|
+
"enablePadding": false,
|
|
33
|
+
"min": "",
|
|
34
|
+
"max": "",
|
|
35
|
+
"labelColor": "#333",
|
|
36
|
+
"tickLabelColor": "#333",
|
|
37
|
+
"tickColor": "#333",
|
|
38
|
+
"rightHideAxis": false,
|
|
39
|
+
"rightAxisSize": 50,
|
|
40
|
+
"rightLabel": "",
|
|
41
|
+
"rightLabelOffsetSize": 0,
|
|
42
|
+
"rightAxisLabelColor": "#333",
|
|
43
|
+
"rightAxisTickLabelColor": "#333",
|
|
44
|
+
"rightAxisTickColor": "#333",
|
|
45
|
+
"numTicks": "",
|
|
46
|
+
"axisPadding": 0,
|
|
47
|
+
"tickRotation": 0,
|
|
48
|
+
"anchors": [],
|
|
49
|
+
"label": "Measurement (1000km)"
|
|
50
|
+
},
|
|
51
|
+
"boxplot": {
|
|
52
|
+
"plots": [],
|
|
53
|
+
"borders": "true",
|
|
54
|
+
"firstQuartilePercentage": 25,
|
|
55
|
+
"thirdQuartilePercentage": 75,
|
|
56
|
+
"boxWidthPercentage": 40,
|
|
57
|
+
"plotOutlierValues": false,
|
|
58
|
+
"plotNonOutlierValues": true,
|
|
59
|
+
"legend": {
|
|
60
|
+
"showHowToReadText": false,
|
|
61
|
+
"howToReadText": ""
|
|
62
|
+
},
|
|
63
|
+
"labels": {
|
|
64
|
+
"q1": "Lower Quartile",
|
|
65
|
+
"q2": "q2",
|
|
66
|
+
"q3": "Upper Quartile",
|
|
67
|
+
"q4": "q4",
|
|
68
|
+
"minimum": "Minimum",
|
|
69
|
+
"maximum": "Maximum",
|
|
70
|
+
"mean": "Mean",
|
|
71
|
+
"median": "Median",
|
|
72
|
+
"sd": "Standard Deviation",
|
|
73
|
+
"iqr": "Interquartile Range",
|
|
74
|
+
"count": "Count",
|
|
75
|
+
"outliers": "Outliers",
|
|
76
|
+
"values": "Values"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"topAxis": {
|
|
80
|
+
"hasLine": true
|
|
81
|
+
},
|
|
82
|
+
"isLegendValue": false,
|
|
83
|
+
"barThickness": 0.35,
|
|
84
|
+
"barHeight": 25,
|
|
85
|
+
"barSpace": 15,
|
|
86
|
+
"heights": {
|
|
87
|
+
"vertical": 300,
|
|
88
|
+
"horizontal": 750
|
|
89
|
+
},
|
|
90
|
+
"xAxis": {
|
|
91
|
+
"anchors": [],
|
|
92
|
+
"type": "categorical",
|
|
93
|
+
"showTargetLabel": true,
|
|
94
|
+
"targetLabel": "Target",
|
|
95
|
+
"hideAxis": false,
|
|
96
|
+
"hideLabel": false,
|
|
97
|
+
"hideTicks": false,
|
|
98
|
+
"size": 75,
|
|
99
|
+
"tickRotation": 30,
|
|
100
|
+
"min": "",
|
|
101
|
+
"max": "",
|
|
102
|
+
"labelColor": "#333",
|
|
103
|
+
"tickLabelColor": "#333",
|
|
104
|
+
"tickColor": "#333",
|
|
105
|
+
"numTicks": "",
|
|
106
|
+
"labelOffset": 65,
|
|
107
|
+
"axisPadding": 0,
|
|
108
|
+
"target": 0,
|
|
109
|
+
"label": "Planet",
|
|
110
|
+
"dataKey": "name"
|
|
111
|
+
},
|
|
112
|
+
"table": {
|
|
113
|
+
"label": "Data Table",
|
|
114
|
+
"expanded": false,
|
|
115
|
+
"limitHeight": false,
|
|
116
|
+
"height": "",
|
|
117
|
+
"caption": "",
|
|
118
|
+
"showDownloadUrl": false,
|
|
119
|
+
"showDataTableLink": true,
|
|
120
|
+
"indexLabel": "",
|
|
121
|
+
"showVertical": false,
|
|
122
|
+
"show": true
|
|
123
|
+
},
|
|
124
|
+
"orientation": "vertical",
|
|
125
|
+
"color": "pinkpurple",
|
|
126
|
+
"columns": {
|
|
127
|
+
"additionalColumn1": {
|
|
128
|
+
"name": ""
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"legend": {
|
|
132
|
+
"behavior": "isolate",
|
|
133
|
+
"singleRow": false,
|
|
134
|
+
"colorCode": "",
|
|
135
|
+
"reverseLabelOrder": false,
|
|
136
|
+
"description": "",
|
|
137
|
+
"dynamicLegend": false,
|
|
138
|
+
"dynamicLegendDefaultText": "Show All",
|
|
139
|
+
"dynamicLegendItemLimit": 5,
|
|
140
|
+
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
141
|
+
"dynamicLegendChartMessage": "Select Options from the Legend",
|
|
142
|
+
"position": "right",
|
|
143
|
+
"hide": false
|
|
144
|
+
},
|
|
145
|
+
"exclusions": {
|
|
146
|
+
"active": false,
|
|
147
|
+
"keys": []
|
|
148
|
+
},
|
|
149
|
+
"palette": "qualitative-bold",
|
|
150
|
+
"isPaletteReversed": false,
|
|
151
|
+
"twoColor": {
|
|
152
|
+
"palette": "monochrome-1",
|
|
153
|
+
"isPaletteReversed": false
|
|
154
|
+
},
|
|
155
|
+
"labels": false,
|
|
156
|
+
"dataFormat": {
|
|
157
|
+
"commas": false,
|
|
158
|
+
"prefix": "",
|
|
159
|
+
"suffix": "km",
|
|
160
|
+
"abbreviated": false,
|
|
161
|
+
"bottomSuffix": "",
|
|
162
|
+
"bottomPrefix": "",
|
|
163
|
+
"bottomAbbreviated": false,
|
|
164
|
+
"roundTo": 1
|
|
165
|
+
},
|
|
166
|
+
"confidenceKeys": {},
|
|
167
|
+
"visual": {
|
|
168
|
+
"border": true,
|
|
169
|
+
"accent": true,
|
|
170
|
+
"background": true
|
|
171
|
+
},
|
|
172
|
+
"useLogScale": false,
|
|
173
|
+
"filterBehavior": "Apply Button",
|
|
174
|
+
"highlightedBarValues": [],
|
|
175
|
+
"series": [
|
|
176
|
+
{
|
|
177
|
+
"dataKey": "Radius",
|
|
178
|
+
"type": "Line",
|
|
179
|
+
"axis": "Right"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"dataKey": "Diameter",
|
|
183
|
+
"type": "Bar"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"dataKey": "distance",
|
|
187
|
+
"type": "Bar",
|
|
188
|
+
"axis": "Left"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"dataUrl": "/examples/feature/__data__/planet-example-data.json",
|
|
192
|
+
"animateReplay": true,
|
|
193
|
+
"visualizationType": "Combo",
|
|
194
|
+
"filters": [
|
|
195
|
+
{
|
|
196
|
+
"values": [
|
|
197
|
+
"0.3",
|
|
198
|
+
"0.7",
|
|
199
|
+
"1",
|
|
200
|
+
"2",
|
|
201
|
+
"7",
|
|
202
|
+
"8",
|
|
203
|
+
"18",
|
|
204
|
+
"22"
|
|
205
|
+
],
|
|
206
|
+
"active": "0.3",
|
|
207
|
+
"filterStyle": "pill",
|
|
208
|
+
"order": "asc",
|
|
209
|
+
"columnName": "Diameter"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
}
|