@cdc/chart 4.25.10 → 4.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/{cdcchart-1a1724a1.es.js → cdcchart-dgT_1dIT.es.js} +136 -151
  2. package/dist/cdcchart.js +44003 -43518
  3. package/examples/feature/__data__/planet-example-data.json +1 -1
  4. package/examples/feature/boxplot/valid-boxplot.csv +38 -17
  5. package/examples/feature/pie/planet-pie-example-config.json +48 -2
  6. package/examples/private/DEV-11825.json +573 -0
  7. package/examples/private/DEV-12100.json +1303 -0
  8. package/examples/private/cat-y.json +1235 -0
  9. package/examples/private/data-points.json +228 -0
  10. package/examples/private/height.json +3915 -0
  11. package/examples/private/links.json +569 -0
  12. package/examples/private/na.json +913 -0
  13. package/examples/private/quadrant.txt +30 -0
  14. package/examples/private/test-data.csv +28 -0
  15. package/examples/private/test-forecast.json +5510 -0
  16. package/examples/private/warming-stripe-test.json +2578 -0
  17. package/examples/private/warming-stripes.json +4763 -0
  18. package/examples/tech-adoption-with-links.json +560 -0
  19. package/index.html +16 -140
  20. package/package.json +6 -5
  21. package/preview.html +1616 -0
  22. package/src/CdcChart.tsx +8 -11
  23. package/src/CdcChartComponent.tsx +329 -124
  24. package/src/_stories/Chart.Combo.stories.tsx +18 -0
  25. package/src/_stories/Chart.Forecast.stories.tsx +36 -0
  26. package/src/_stories/Chart.HTMLInDataTable.stories.tsx +520 -0
  27. package/src/_stories/Chart.Patterns.stories.tsx +2 -1
  28. package/src/_stories/Chart.PreserveDecimals.stories.tsx +220 -0
  29. package/src/_stories/Chart.Regions.Categorical.stories.tsx +148 -0
  30. package/src/_stories/Chart.Regions.DateScale.stories.tsx +197 -0
  31. package/src/_stories/Chart.Regions.DateTimeScale.stories.tsx +297 -0
  32. package/src/_stories/Chart.SmallMultiples.stories.tsx +47 -0
  33. package/src/_stories/Chart.stories.tsx +8 -0
  34. package/src/_stories/ChartAnnotation.stories.tsx +6 -3
  35. package/src/_stories/ChartBar.Editor.stories.tsx +3585 -0
  36. package/src/_stories/ChartBrush.Editor.stories.tsx +295 -0
  37. package/src/_stories/ChartBrush.stories.tsx +50 -0
  38. package/src/_stories/ChartEditor.Editor.stories.tsx +656 -0
  39. package/src/_stories/ChartEditor.stories.tsx +1 -2
  40. package/src/_stories/TechAdoptionWithLinks.stories.tsx +27 -0
  41. package/src/_stories/_mock/brush_enabled.json +326 -0
  42. package/src/_stories/_mock/brush_mock.json +2 -69
  43. package/src/_stories/_mock/combo.json +451 -0
  44. package/src/_stories/_mock/editor-test-configs.json +376 -0
  45. package/src/_stories/_mock/editor-test-datasets.json +477 -0
  46. package/src/_stories/_mock/editor-tests/bar-chart-editor-test.json +255 -0
  47. package/src/_stories/_mock/editor-tests/bar-chart-general-test.json +267 -0
  48. package/src/_stories/_mock/editor-tests/bar-chart-test.json +237 -0
  49. package/src/_stories/_mock/forecast_combo_with_gaps.json +913 -0
  50. package/src/_stories/_mock/horizontal-bars-dynamic-y-axis.json +413 -0
  51. package/src/_stories/_mock/pie_config.json +257 -62
  52. package/src/_stories/_mock/small_multiples/small_multiples_bars.json +1944 -0
  53. package/src/_stories/_mock/small_multiples/small_multiples_big_data_bars.json +1114 -0
  54. package/src/_stories/_mock/small_multiples/small_multiples_lines.json +2646 -0
  55. package/src/_stories/_mock/small_multiples/small_multiples_lines_colors.json +1305 -0
  56. package/src/_stories/_mock/small_multiples/small_multiples_stacked_bars.json +1936 -0
  57. package/src/components/Annotations/components/findNearestDatum.ts +6 -41
  58. package/src/components/AreaChart/components/AreaChart.Stacked.jsx +10 -7
  59. package/src/components/AreaChart/index.tsx +1 -2
  60. package/src/components/Axis/Categorical.Axis.tsx +6 -7
  61. package/src/components/BarChart/components/BarChart.Horizontal.tsx +181 -27
  62. package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +3 -1
  63. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +1 -0
  64. package/src/components/BarChart/components/BarChart.Vertical.tsx +8 -9
  65. package/src/components/BarChart/components/context.tsx +1 -0
  66. package/src/components/BarChart/helpers/useBarChart.ts +14 -2
  67. package/src/components/BoxPlot/helpers/index.ts +3 -3
  68. package/src/components/Brush/BrushSelector.tsx +1258 -0
  69. package/src/components/Brush/MiniChartPreview.tsx +283 -0
  70. package/src/components/DeviationBar.jsx +9 -7
  71. package/src/components/EditorPanel/EditorPanel.tsx +2720 -2586
  72. package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +96 -111
  73. package/src/components/EditorPanel/components/Panels/Panel.ForestPlotSettings.tsx +56 -34
  74. package/src/components/EditorPanel/components/Panels/Panel.General.tsx +76 -31
  75. package/src/components/EditorPanel/components/Panels/Panel.PatternSettings.tsx +104 -55
  76. package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +54 -49
  77. package/src/components/EditorPanel/components/Panels/Panel.SmallMultiples.tsx +427 -0
  78. package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +96 -48
  79. package/src/components/EditorPanel/components/Panels/index.tsx +3 -1
  80. package/src/components/EditorPanel/editor-panel.scss +0 -20
  81. package/src/components/EditorPanel/useEditorPermissions.ts +36 -31
  82. package/src/components/Forecasting/Forecasting.tsx +139 -21
  83. package/src/components/Legend/Legend.Component.tsx +16 -9
  84. package/src/components/Legend/Legend.tsx +3 -2
  85. package/src/components/Legend/helpers/createFormatLabels.tsx +325 -176
  86. package/src/components/Legend/helpers/getLegendClasses.ts +0 -1
  87. package/src/components/Legend/helpers/index.ts +10 -6
  88. package/src/components/LineChart/LineChartProps.ts +0 -3
  89. package/src/components/LineChart/helpers.ts +1 -1
  90. package/src/components/LineChart/index.tsx +36 -13
  91. package/src/components/LinearChart.tsx +559 -499
  92. package/src/components/PairedBarChart.jsx +20 -3
  93. package/src/components/Regions/components/Regions.tsx +366 -144
  94. package/src/components/Sankey/types/index.ts +1 -1
  95. package/src/components/ScatterPlot/ScatterPlot.jsx +2 -2
  96. package/src/components/SmallMultiples/SmallMultipleTile.tsx +202 -0
  97. package/src/components/SmallMultiples/SmallMultiples.css +32 -0
  98. package/src/components/SmallMultiples/SmallMultiples.tsx +271 -0
  99. package/src/components/SmallMultiples/index.ts +2 -0
  100. package/src/components/WarmingStripes/WarmingStripes.tsx +160 -0
  101. package/src/components/WarmingStripes/WarmingStripesGradientLegend.css +35 -0
  102. package/src/components/WarmingStripes/WarmingStripesGradientLegend.tsx +104 -0
  103. package/src/components/WarmingStripes/index.tsx +3 -0
  104. package/src/data/initial-state.js +16 -2
  105. package/src/helpers/buildForecastPaletteOptions.ts +0 -38
  106. package/src/helpers/calculateHorizontalBarCategoryLabelWidth.ts +57 -0
  107. package/src/helpers/getColorScale.ts +10 -0
  108. package/src/{hooks/useMinMax.ts → helpers/getMinMax.ts} +26 -14
  109. package/src/helpers/getYAxisAutoPadding.ts +53 -0
  110. package/src/helpers/sizeHelpers.ts +0 -20
  111. package/src/helpers/smallMultiplesHelpers.ts +529 -0
  112. package/src/hooks/useChartHoverAnalytics.tsx +10 -9
  113. package/src/hooks/useProgrammaticTooltip.ts +96 -0
  114. package/src/hooks/useScales.ts +98 -34
  115. package/src/hooks/useSmallMultipleSynchronization.ts +59 -0
  116. package/src/hooks/useTooltip.tsx +91 -25
  117. package/src/scss/DataTable.scss +0 -4
  118. package/src/scss/main.scss +18 -83
  119. package/src/store/chart.actions.ts +2 -0
  120. package/src/store/chart.reducer.ts +4 -0
  121. package/src/test/CdcChart.test.jsx +1 -1
  122. package/src/types/ChartConfig.ts +27 -6
  123. package/src/types/ChartContext.ts +3 -0
  124. package/src/types/Label.ts +1 -0
  125. package/src/utils/analyticsTracking.ts +19 -0
  126. package/LICENSE +0 -201
  127. package/src/_stories/_mock/pie_data.json +0 -218
  128. package/src/components/AreaChart/components/AreaChart.jsx +0 -109
  129. package/src/components/Brush/BrushChart.tsx +0 -128
  130. package/src/components/Brush/BrushController.tsx +0 -71
  131. package/src/components/Brush/types.tsx +0 -8
  132. package/src/components/BrushChart.tsx +0 -223
  133. package/src/helpers/sort.ts +0 -7
  134. package/src/hooks/useActiveElement.js +0 -19
  135. package/src/hooks/useChartClasses.js +0 -41
@@ -0,0 +1,1114 @@
1
+ {
2
+ "annotations": [],
3
+ "allowLineToBarGraph": "__​undefined__",
4
+ "type": "chart",
5
+ "debugSvg": false,
6
+ "chartMessage": {
7
+ "noData": "No Data Available"
8
+ },
9
+ "title": "",
10
+ "showTitle": true,
11
+ "showDownloadMediaButton": false,
12
+ "theme": "theme-blue",
13
+ "animate": false,
14
+ "lineDatapointStyle": "hover",
15
+ "lineDatapointColor": "Same as Line",
16
+ "barHasBorder": "true",
17
+ "isLollipopChart": false,
18
+ "lollipopShape": "circle",
19
+ "lollipopColorStyle": "two-tone",
20
+ "visualizationSubType": "regular",
21
+ "barStyle": "",
22
+ "roundingStyle": "standard",
23
+ "tipRounding": "top",
24
+ "isResponsiveTicks": false,
25
+ "general": {
26
+ "annotationDropdownText": "Annotations",
27
+ "showMissingDataLabel": true,
28
+ "showSuppressedSymbol": true,
29
+ "showZeroValueData": true,
30
+ "hideNullValue": true,
31
+ "palette": {
32
+ "name": "qualitative_bold",
33
+ "version": "1.0",
34
+ "backups": [
35
+ {
36
+ "name": "qualitative_bold",
37
+ "version": "1.0",
38
+ "isReversed": "__​undefined__"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ "padding": {
44
+ "left": 5,
45
+ "right": 5
46
+ },
47
+ "preliminaryData": [],
48
+ "yAxis": {
49
+ "hideAxis": false,
50
+ "displayNumbersOnBar": false,
51
+ "hideLabel": false,
52
+ "hideTicks": false,
53
+ "size": 35,
54
+ "gridLines": true,
55
+ "enablePadding": false,
56
+ "min": "",
57
+ "max": "",
58
+ "labelColor": "#1c1d1f",
59
+ "tickLabelColor": "#1c1d1f",
60
+ "tickColor": "#1c1d1f",
61
+ "rightHideAxis": false,
62
+ "rightAxisSize": 0,
63
+ "rightLabel": "",
64
+ "rightLabelOffsetSize": 0,
65
+ "rightAxisLabelColor": "#1c1d1f",
66
+ "rightAxisTickLabelColor": "#1c1d1f",
67
+ "rightAxisTickColor": "#1c1d1f",
68
+ "numTicks": "",
69
+ "axisPadding": 0,
70
+ "scalePadding": 10,
71
+ "tickRotation": 0,
72
+ "anchors": [],
73
+ "shoMissingDataLabel": true,
74
+ "showMissingDataLine": true,
75
+ "categories": [],
76
+ "inlineLabel": " percent"
77
+ },
78
+ "boxplot": {
79
+ "plots": [],
80
+ "borders": "true",
81
+ "plotOutlierValues": false,
82
+ "plotNonOutlierValues": true,
83
+ "labels": {
84
+ "q1": "Lower Quartile",
85
+ "q2": "q2",
86
+ "q3": "Upper Quartile",
87
+ "q4": "q4",
88
+ "minimum": "Minimum",
89
+ "maximum": "Maximum",
90
+ "mean": "Mean",
91
+ "median": "Median",
92
+ "sd": "Standard Deviation",
93
+ "iqr": "Interquartile Range",
94
+ "count": "Count",
95
+ "outliers": "Outliers",
96
+ "values": "Values",
97
+ "lowerBounds": "Lower Bounds",
98
+ "upperBounds": "Upper Bounds"
99
+ }
100
+ },
101
+ "topAxis": {
102
+ "hasLine": false
103
+ },
104
+ "isLegendValue": false,
105
+ "barThickness": "0.85",
106
+ "barHeight": 25,
107
+ "barSpace": 15,
108
+ "heights": {
109
+ "vertical": 300,
110
+ "horizontal": 750
111
+ },
112
+ "xAxis": {
113
+ "sortDates": false,
114
+ "anchors": [],
115
+ "type": "categorical",
116
+ "showTargetLabel": true,
117
+ "targetLabel": "Target",
118
+ "hideAxis": false,
119
+ "hideLabel": false,
120
+ "hideTicks": false,
121
+ "size": 75,
122
+ "tickRotation": 0,
123
+ "min": "",
124
+ "max": "",
125
+ "labelColor": "#1c1d1f",
126
+ "tickLabelColor": "#1c1d1f",
127
+ "tickColor": "#1c1d1f",
128
+ "numTicks": "",
129
+ "labelOffset": 0,
130
+ "axisPadding": 200,
131
+ "target": 0,
132
+ "maxTickRotation": 0,
133
+ "padding": 5,
134
+ "showYearsOnce": false,
135
+ "sortByRecentDate": false,
136
+ "brushActive": false,
137
+ "dataKey": "index",
138
+ "axisBBox": 29.860000610351562,
139
+ "tickWidthMax": 20,
140
+ "label": "Target"
141
+ },
142
+ "table": {
143
+ "label": "Data Table",
144
+ "expanded": true,
145
+ "limitHeight": false,
146
+ "height": "",
147
+ "caption": "",
148
+ "showDownloadUrl": false,
149
+ "showDataTableLink": true,
150
+ "showDownloadLinkBelow": true,
151
+ "indexLabel": "",
152
+ "download": true,
153
+ "showVertical": true,
154
+ "dateDisplayFormat": "",
155
+ "showMissingDataLabel": true,
156
+ "showSuppressedSymbol": true,
157
+ "collapsible": true,
158
+ "show": true
159
+ },
160
+ "orientation": "vertical",
161
+ "columns": {
162
+ "weight": {
163
+ "label": "weightx",
164
+ "dataTable": true,
165
+ "tooltips": true,
166
+ "prefix": "$",
167
+ "suffix": "*",
168
+ "forestPlot": false,
169
+ "startingPoint": "0",
170
+ "forestPlotAlignRight": false,
171
+ "roundToPlace": 0,
172
+ "commas": false,
173
+ "showInViz": false,
174
+ "forestPlotStartingPoint": 0,
175
+ "name": "weight",
176
+ "series": "",
177
+ "order": null
178
+ }
179
+ },
180
+ "legend": {
181
+ "hide": true,
182
+ "behavior": "isolate",
183
+ "axisAlign": true,
184
+ "singleRow": true,
185
+ "colorCode": "",
186
+ "reverseLabelOrder": false,
187
+ "description": "",
188
+ "dynamicLegend": false,
189
+ "dynamicLegendDefaultText": "Show All",
190
+ "dynamicLegendItemLimit": 5,
191
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
192
+ "dynamicLegendChartMessage": "Select Options from the Legend",
193
+ "label": "",
194
+ "lineMode": false,
195
+ "verticalSorted": false,
196
+ "highlightOnHover": false,
197
+ "hideSuppressedLabels": false,
198
+ "hideSuppressionLink": false,
199
+ "seriesHighlight": [],
200
+ "style": "circles",
201
+ "subStyle": "linear blocks",
202
+ "groupBy": "",
203
+ "shape": "circle",
204
+ "tickRotation": "",
205
+ "order": "dataColumn",
206
+ "hideBorder": {
207
+ "side": false,
208
+ "topBottom": true
209
+ },
210
+ "position": "right",
211
+ "orderedValues": [],
212
+ "patterns": {},
213
+ "patternField": "",
214
+ "unified": true
215
+ },
216
+ "smallMultiples": {
217
+ "mode": "by-column",
218
+ "tileColumn": "smell",
219
+ "tilesPerRowDesktop": 3,
220
+ "tilesPerRowMobile": 2,
221
+ "independentYAxis": false,
222
+ "tileOrder": [],
223
+ "tileOrderType": "asc",
224
+ "tileTitles": {
225
+ "bitter": "Very bitter",
226
+ "neutral": "Super neutral",
227
+ "sweet": "Totally sweet"
228
+ },
229
+ "colorMode": "same",
230
+ "synchronizedTooltips": true
231
+ },
232
+ "exclusions": {
233
+ "active": false,
234
+ "keys": []
235
+ },
236
+ "twoColor": {
237
+ "palette": "monochrome-1",
238
+ "isPaletteReversed": false
239
+ },
240
+ "labels": false,
241
+ "dataFormat": {
242
+ "commas": false,
243
+ "prefix": "",
244
+ "suffix": "",
245
+ "abbreviated": false,
246
+ "bottomSuffix": "",
247
+ "bottomPrefix": "",
248
+ "bottomAbbreviated": false
249
+ },
250
+ "filters": [
251
+ {
252
+ "values": ["light", "medium", "heavy"],
253
+ "filterStyle": "dropdown",
254
+ "id": 1756994566810,
255
+ "showDropdown": true,
256
+ "active": "light",
257
+ "columnName": "weight",
258
+ "orderedValues": ["heavy", "light", "medium"],
259
+ "label": "weight"
260
+ }
261
+ ],
262
+ "confidenceKeys": {},
263
+ "visual": {
264
+ "border": true,
265
+ "accent": true,
266
+ "background": true,
267
+ "verticalHoverLine": false,
268
+ "horizontalHoverLine": false,
269
+ "lineDatapointSymbol": "none",
270
+ "maximumShapeAmount": 7
271
+ },
272
+ "useLogScale": false,
273
+ "filterBehavior": "Apply Button",
274
+ "highlightedBarValues": [],
275
+ "series": [
276
+ {
277
+ "dataKey": "value",
278
+ "type": "Bar",
279
+ "axis": "Left",
280
+ "tooltip": true
281
+ }
282
+ ],
283
+ "tooltips": {
284
+ "opacity": 90,
285
+ "singleSeries": false,
286
+ "dateDisplayFormat": ""
287
+ },
288
+ "forestPlot": {
289
+ "startAt": 0,
290
+ "colors": {
291
+ "line": "",
292
+ "shape": ""
293
+ },
294
+ "lineOfNoEffect": {
295
+ "show": true
296
+ },
297
+ "type": "",
298
+ "pooledResult": {
299
+ "diamondHeight": 5,
300
+ "column": ""
301
+ },
302
+ "estimateField": "",
303
+ "estimateRadius": "",
304
+ "shape": "square",
305
+ "rowHeight": 20,
306
+ "description": {
307
+ "show": true,
308
+ "text": "description",
309
+ "location": 0
310
+ },
311
+ "result": {
312
+ "show": true,
313
+ "text": "result",
314
+ "location": 100
315
+ },
316
+ "radius": {
317
+ "min": 2,
318
+ "max": 10,
319
+ "scalingColumn": ""
320
+ },
321
+ "regression": {
322
+ "lower": 0,
323
+ "upper": 0,
324
+ "estimateField": 0
325
+ },
326
+ "leftWidthOffset": 0,
327
+ "rightWidthOffset": 0,
328
+ "showZeroLine": false,
329
+ "leftLabel": "",
330
+ "rightLabel": ""
331
+ },
332
+ "area": {
333
+ "isStacked": false
334
+ },
335
+ "sankey": {
336
+ "title": {
337
+ "defaultColor": "black"
338
+ },
339
+ "iterations": 1,
340
+ "rxValue": 0.9,
341
+ "overallSize": {
342
+ "width": 900,
343
+ "height": 700
344
+ },
345
+ "margin": {
346
+ "margin_y": 25,
347
+ "margin_x": 0
348
+ },
349
+ "nodeSize": {
350
+ "nodeWidth": 26,
351
+ "nodeHeight": 40
352
+ },
353
+ "nodePadding": 55,
354
+ "nodeFontColor": "black",
355
+ "nodeColor": {
356
+ "default": "#ff8500",
357
+ "inactive": "#808080"
358
+ },
359
+ "linkColor": {
360
+ "default": "#ffc900",
361
+ "inactive": "#D3D3D3"
362
+ },
363
+ "opacity": {
364
+ "nodeOpacityDefault": 1,
365
+ "nodeOpacityInactive": 0.1,
366
+ "LinkOpacityDefault": 1,
367
+ "LinkOpacityInactive": 0.1
368
+ },
369
+ "storyNodeFontColor": "#006778",
370
+ "storyNodeText": [],
371
+ "nodeValueStyle": {
372
+ "textBefore": "(",
373
+ "textAfter": ")"
374
+ },
375
+ "data": []
376
+ },
377
+ "visualizationType": "Bar",
378
+ "dataFileName": "./test-data.csv",
379
+ "dataFileSourceType": "file",
380
+ "dataDescription": {
381
+ "horizontal": false,
382
+ "series": false
383
+ },
384
+ "isPaletteReversed": false,
385
+ "version": "4.25.9",
386
+ "migrations": {
387
+ "addColorMigration": true
388
+ },
389
+ "dynamicMarginTop": 0,
390
+ "data": [
391
+ {
392
+ "weight": "light",
393
+ "smell": "sweet",
394
+ "index": "1",
395
+ "value": "53.5"
396
+ },
397
+ {
398
+ "weight": "light",
399
+ "smell": "sweet",
400
+ "index": "2",
401
+ "value": "50.8"
402
+ },
403
+ {
404
+ "weight": "light",
405
+ "smell": "sweet",
406
+ "index": "3",
407
+ "value": "90.4"
408
+ },
409
+ {
410
+ "weight": "light",
411
+ "smell": "sweet",
412
+ "index": "4",
413
+ "value": "44.6"
414
+ },
415
+ {
416
+ "weight": "light",
417
+ "smell": "sweet",
418
+ "index": "5",
419
+ "value": "87.7"
420
+ },
421
+ {
422
+ "weight": "light",
423
+ "smell": "sweet",
424
+ "index": "6",
425
+ "value": "82.4"
426
+ },
427
+ {
428
+ "weight": "light",
429
+ "smell": "sweet",
430
+ "index": "7",
431
+ "value": "52.2"
432
+ },
433
+ {
434
+ "weight": "light",
435
+ "smell": "sweet",
436
+ "index": "8",
437
+ "value": "18.1"
438
+ },
439
+ {
440
+ "weight": "light",
441
+ "smell": "sweet",
442
+ "index": "9",
443
+ "value": "51.0"
444
+ },
445
+ {
446
+ "weight": "light",
447
+ "smell": "sweet",
448
+ "index": "10",
449
+ "value": "12.2"
450
+ },
451
+ {
452
+ "weight": "light",
453
+ "smell": "neutral",
454
+ "index": "1",
455
+ "value": "47.9"
456
+ },
457
+ {
458
+ "weight": "light",
459
+ "smell": "neutral",
460
+ "index": "2",
461
+ "value": "52.0"
462
+ },
463
+ {
464
+ "weight": "light",
465
+ "smell": "neutral",
466
+ "index": "3",
467
+ "value": "96.7"
468
+ },
469
+ {
470
+ "weight": "light",
471
+ "smell": "neutral",
472
+ "index": "4",
473
+ "value": "29.9"
474
+ },
475
+ {
476
+ "weight": "light",
477
+ "smell": "neutral",
478
+ "index": "5",
479
+ "value": "97.8"
480
+ },
481
+ {
482
+ "weight": "light",
483
+ "smell": "neutral",
484
+ "index": "6",
485
+ "value": "51.4"
486
+ },
487
+ {
488
+ "weight": "light",
489
+ "smell": "neutral",
490
+ "index": "7",
491
+ "value": "85.9"
492
+ },
493
+ {
494
+ "weight": "light",
495
+ "smell": "neutral",
496
+ "index": "8",
497
+ "value": "57.8"
498
+ },
499
+ {
500
+ "weight": "light",
501
+ "smell": "neutral",
502
+ "index": "9",
503
+ "value": "86.0"
504
+ },
505
+ {
506
+ "weight": "light",
507
+ "smell": "neutral",
508
+ "index": "10",
509
+ "value": "57.5"
510
+ },
511
+ {
512
+ "weight": "light",
513
+ "smell": "bitter",
514
+ "index": "1",
515
+ "value": "33.2"
516
+ },
517
+ {
518
+ "weight": "light",
519
+ "smell": "bitter",
520
+ "index": "2",
521
+ "value": "14.3"
522
+ },
523
+ {
524
+ "weight": "light",
525
+ "smell": "bitter",
526
+ "index": "3",
527
+ "value": "82.3"
528
+ },
529
+ {
530
+ "weight": "light",
531
+ "smell": "bitter",
532
+ "index": "4",
533
+ "value": "76.0"
534
+ },
535
+ {
536
+ "weight": "light",
537
+ "smell": "bitter",
538
+ "index": "5",
539
+ "value": "51.5"
540
+ },
541
+ {
542
+ "weight": "light",
543
+ "smell": "bitter",
544
+ "index": "6",
545
+ "value": "25.4"
546
+ },
547
+ {
548
+ "weight": "light",
549
+ "smell": "bitter",
550
+ "index": "7",
551
+ "value": "99.4"
552
+ },
553
+ {
554
+ "weight": "light",
555
+ "smell": "bitter",
556
+ "index": "8",
557
+ "value": "88.0"
558
+ },
559
+ {
560
+ "weight": "light",
561
+ "smell": "bitter",
562
+ "index": "9",
563
+ "value": "46.9"
564
+ },
565
+ {
566
+ "weight": "light",
567
+ "smell": "bitter",
568
+ "index": "10",
569
+ "value": "40.8"
570
+ },
571
+ {
572
+ "weight": "heavy",
573
+ "smell": "sweet",
574
+ "index": "1",
575
+ "value": "38.9"
576
+ },
577
+ {
578
+ "weight": "heavy",
579
+ "smell": "sweet",
580
+ "index": "2",
581
+ "value": "95.6"
582
+ },
583
+ {
584
+ "weight": "heavy",
585
+ "smell": "sweet",
586
+ "index": "3",
587
+ "value": "27.0"
588
+ },
589
+ {
590
+ "weight": "heavy",
591
+ "smell": "sweet",
592
+ "index": "4",
593
+ "value": "84.3"
594
+ },
595
+ {
596
+ "weight": "heavy",
597
+ "smell": "sweet",
598
+ "index": "5",
599
+ "value": "61.7"
600
+ },
601
+ {
602
+ "weight": "heavy",
603
+ "smell": "sweet",
604
+ "index": "6",
605
+ "value": "89.5"
606
+ },
607
+ {
608
+ "weight": "heavy",
609
+ "smell": "sweet",
610
+ "index": "7",
611
+ "value": "72.5"
612
+ },
613
+ {
614
+ "weight": "heavy",
615
+ "smell": "sweet",
616
+ "index": "8",
617
+ "value": "55.8"
618
+ },
619
+ {
620
+ "weight": "heavy",
621
+ "smell": "sweet",
622
+ "index": "9",
623
+ "value": "63.7"
624
+ },
625
+ {
626
+ "weight": "heavy",
627
+ "smell": "sweet",
628
+ "index": "10",
629
+ "value": "64.4"
630
+ },
631
+ {
632
+ "weight": "heavy",
633
+ "smell": "neutral",
634
+ "index": "1",
635
+ "value": "65.8"
636
+ },
637
+ {
638
+ "weight": "heavy",
639
+ "smell": "neutral",
640
+ "index": "2",
641
+ "value": "78.3"
642
+ },
643
+ {
644
+ "weight": "heavy",
645
+ "smell": "neutral",
646
+ "index": "3",
647
+ "value": "35.0"
648
+ },
649
+ {
650
+ "weight": "heavy",
651
+ "smell": "neutral",
652
+ "index": "4",
653
+ "value": "89.8"
654
+ },
655
+ {
656
+ "weight": "heavy",
657
+ "smell": "neutral",
658
+ "index": "5",
659
+ "value": "31.0"
660
+ },
661
+ {
662
+ "weight": "heavy",
663
+ "smell": "neutral",
664
+ "index": "6",
665
+ "value": "33.6"
666
+ },
667
+ {
668
+ "weight": "heavy",
669
+ "smell": "neutral",
670
+ "index": "7",
671
+ "value": "86.9"
672
+ },
673
+ {
674
+ "weight": "heavy",
675
+ "smell": "neutral",
676
+ "index": "8",
677
+ "value": "60.3"
678
+ },
679
+ {
680
+ "weight": "heavy",
681
+ "smell": "neutral",
682
+ "index": "9",
683
+ "value": "46.6"
684
+ },
685
+ {
686
+ "weight": "heavy",
687
+ "smell": "neutral",
688
+ "index": "10",
689
+ "value": "13.3"
690
+ },
691
+ {
692
+ "weight": "heavy",
693
+ "smell": "bitter",
694
+ "index": "1",
695
+ "value": "43.9"
696
+ },
697
+ {
698
+ "weight": "heavy",
699
+ "smell": "bitter",
700
+ "index": "2",
701
+ "value": "12.4"
702
+ },
703
+ {
704
+ "weight": "heavy",
705
+ "smell": "bitter",
706
+ "index": "3",
707
+ "value": "88.7"
708
+ },
709
+ {
710
+ "weight": "heavy",
711
+ "smell": "bitter",
712
+ "index": "4",
713
+ "value": "57.1"
714
+ },
715
+ {
716
+ "weight": "heavy",
717
+ "smell": "bitter",
718
+ "index": "5",
719
+ "value": "47.7"
720
+ },
721
+ {
722
+ "weight": "heavy",
723
+ "smell": "bitter",
724
+ "index": "6",
725
+ "value": "28.6"
726
+ },
727
+ {
728
+ "weight": "heavy",
729
+ "smell": "bitter",
730
+ "index": "7",
731
+ "value": "83.7"
732
+ },
733
+ {
734
+ "weight": "heavy",
735
+ "smell": "bitter",
736
+ "index": "8",
737
+ "value": "53.3"
738
+ },
739
+ {
740
+ "weight": "heavy",
741
+ "smell": "bitter",
742
+ "index": "9",
743
+ "value": "31.7"
744
+ },
745
+ {
746
+ "weight": "heavy",
747
+ "smell": "bitter",
748
+ "index": "10",
749
+ "value": "99.1"
750
+ }
751
+ ],
752
+ "formattedData": [
753
+ {
754
+ "weight": "light",
755
+ "smell": "sweet",
756
+ "index": "1",
757
+ "value": "53.5"
758
+ },
759
+ {
760
+ "weight": "light",
761
+ "smell": "sweet",
762
+ "index": "2",
763
+ "value": "50.8"
764
+ },
765
+ {
766
+ "weight": "light",
767
+ "smell": "sweet",
768
+ "index": "3",
769
+ "value": "90.4"
770
+ },
771
+ {
772
+ "weight": "light",
773
+ "smell": "sweet",
774
+ "index": "4",
775
+ "value": "44.6"
776
+ },
777
+ {
778
+ "weight": "light",
779
+ "smell": "sweet",
780
+ "index": "5",
781
+ "value": "87.7"
782
+ },
783
+ {
784
+ "weight": "light",
785
+ "smell": "sweet",
786
+ "index": "6",
787
+ "value": "82.4"
788
+ },
789
+ {
790
+ "weight": "light",
791
+ "smell": "sweet",
792
+ "index": "7",
793
+ "value": "52.2"
794
+ },
795
+ {
796
+ "weight": "light",
797
+ "smell": "sweet",
798
+ "index": "8",
799
+ "value": "18.1"
800
+ },
801
+ {
802
+ "weight": "light",
803
+ "smell": "sweet",
804
+ "index": "9",
805
+ "value": "51.0"
806
+ },
807
+ {
808
+ "weight": "light",
809
+ "smell": "sweet",
810
+ "index": "10",
811
+ "value": "12.2"
812
+ },
813
+ {
814
+ "weight": "light",
815
+ "smell": "neutral",
816
+ "index": "1",
817
+ "value": "47.9"
818
+ },
819
+ {
820
+ "weight": "light",
821
+ "smell": "neutral",
822
+ "index": "2",
823
+ "value": "52.0"
824
+ },
825
+ {
826
+ "weight": "light",
827
+ "smell": "neutral",
828
+ "index": "3",
829
+ "value": "96.7"
830
+ },
831
+ {
832
+ "weight": "light",
833
+ "smell": "neutral",
834
+ "index": "4",
835
+ "value": "29.9"
836
+ },
837
+ {
838
+ "weight": "light",
839
+ "smell": "neutral",
840
+ "index": "5",
841
+ "value": "97.8"
842
+ },
843
+ {
844
+ "weight": "light",
845
+ "smell": "neutral",
846
+ "index": "6",
847
+ "value": "51.4"
848
+ },
849
+ {
850
+ "weight": "light",
851
+ "smell": "neutral",
852
+ "index": "7",
853
+ "value": "85.9"
854
+ },
855
+ {
856
+ "weight": "light",
857
+ "smell": "neutral",
858
+ "index": "8",
859
+ "value": "57.8"
860
+ },
861
+ {
862
+ "weight": "light",
863
+ "smell": "neutral",
864
+ "index": "9",
865
+ "value": "86.0"
866
+ },
867
+ {
868
+ "weight": "light",
869
+ "smell": "neutral",
870
+ "index": "10",
871
+ "value": "57.5"
872
+ },
873
+ {
874
+ "weight": "light",
875
+ "smell": "bitter",
876
+ "index": "1",
877
+ "value": "33.2"
878
+ },
879
+ {
880
+ "weight": "light",
881
+ "smell": "bitter",
882
+ "index": "2",
883
+ "value": "14.3"
884
+ },
885
+ {
886
+ "weight": "light",
887
+ "smell": "bitter",
888
+ "index": "3",
889
+ "value": "82.3"
890
+ },
891
+ {
892
+ "weight": "light",
893
+ "smell": "bitter",
894
+ "index": "4",
895
+ "value": "76.0"
896
+ },
897
+ {
898
+ "weight": "light",
899
+ "smell": "bitter",
900
+ "index": "5",
901
+ "value": "51.5"
902
+ },
903
+ {
904
+ "weight": "light",
905
+ "smell": "bitter",
906
+ "index": "6",
907
+ "value": "25.4"
908
+ },
909
+ {
910
+ "weight": "light",
911
+ "smell": "bitter",
912
+ "index": "7",
913
+ "value": "99.4"
914
+ },
915
+ {
916
+ "weight": "light",
917
+ "smell": "bitter",
918
+ "index": "8",
919
+ "value": "88.0"
920
+ },
921
+ {
922
+ "weight": "light",
923
+ "smell": "bitter",
924
+ "index": "9",
925
+ "value": "46.9"
926
+ },
927
+ {
928
+ "weight": "light",
929
+ "smell": "bitter",
930
+ "index": "10",
931
+ "value": "40.8"
932
+ },
933
+ {
934
+ "weight": "heavy",
935
+ "smell": "sweet",
936
+ "index": "1",
937
+ "value": "38.9"
938
+ },
939
+ {
940
+ "weight": "heavy",
941
+ "smell": "sweet",
942
+ "index": "2",
943
+ "value": "95.6"
944
+ },
945
+ {
946
+ "weight": "heavy",
947
+ "smell": "sweet",
948
+ "index": "3",
949
+ "value": "27.0"
950
+ },
951
+ {
952
+ "weight": "heavy",
953
+ "smell": "sweet",
954
+ "index": "4",
955
+ "value": "84.3"
956
+ },
957
+ {
958
+ "weight": "heavy",
959
+ "smell": "sweet",
960
+ "index": "5",
961
+ "value": "61.7"
962
+ },
963
+ {
964
+ "weight": "heavy",
965
+ "smell": "sweet",
966
+ "index": "6",
967
+ "value": "89.5"
968
+ },
969
+ {
970
+ "weight": "heavy",
971
+ "smell": "sweet",
972
+ "index": "7",
973
+ "value": "72.5"
974
+ },
975
+ {
976
+ "weight": "heavy",
977
+ "smell": "sweet",
978
+ "index": "8",
979
+ "value": "55.8"
980
+ },
981
+ {
982
+ "weight": "heavy",
983
+ "smell": "sweet",
984
+ "index": "9",
985
+ "value": "63.7"
986
+ },
987
+ {
988
+ "weight": "heavy",
989
+ "smell": "sweet",
990
+ "index": "10",
991
+ "value": "64.4"
992
+ },
993
+ {
994
+ "weight": "heavy",
995
+ "smell": "neutral",
996
+ "index": "1",
997
+ "value": "65.8"
998
+ },
999
+ {
1000
+ "weight": "heavy",
1001
+ "smell": "neutral",
1002
+ "index": "2",
1003
+ "value": "78.3"
1004
+ },
1005
+ {
1006
+ "weight": "heavy",
1007
+ "smell": "neutral",
1008
+ "index": "3",
1009
+ "value": "35.0"
1010
+ },
1011
+ {
1012
+ "weight": "heavy",
1013
+ "smell": "neutral",
1014
+ "index": "4",
1015
+ "value": "89.8"
1016
+ },
1017
+ {
1018
+ "weight": "heavy",
1019
+ "smell": "neutral",
1020
+ "index": "5",
1021
+ "value": "31.0"
1022
+ },
1023
+ {
1024
+ "weight": "heavy",
1025
+ "smell": "neutral",
1026
+ "index": "6",
1027
+ "value": "33.6"
1028
+ },
1029
+ {
1030
+ "weight": "heavy",
1031
+ "smell": "neutral",
1032
+ "index": "7",
1033
+ "value": "86.9"
1034
+ },
1035
+ {
1036
+ "weight": "heavy",
1037
+ "smell": "neutral",
1038
+ "index": "8",
1039
+ "value": "60.3"
1040
+ },
1041
+ {
1042
+ "weight": "heavy",
1043
+ "smell": "neutral",
1044
+ "index": "9",
1045
+ "value": "46.6"
1046
+ },
1047
+ {
1048
+ "weight": "heavy",
1049
+ "smell": "neutral",
1050
+ "index": "10",
1051
+ "value": "13.3"
1052
+ },
1053
+ {
1054
+ "weight": "heavy",
1055
+ "smell": "bitter",
1056
+ "index": "1",
1057
+ "value": "43.9"
1058
+ },
1059
+ {
1060
+ "weight": "heavy",
1061
+ "smell": "bitter",
1062
+ "index": "2",
1063
+ "value": "12.4"
1064
+ },
1065
+ {
1066
+ "weight": "heavy",
1067
+ "smell": "bitter",
1068
+ "index": "3",
1069
+ "value": "88.7"
1070
+ },
1071
+ {
1072
+ "weight": "heavy",
1073
+ "smell": "bitter",
1074
+ "index": "4",
1075
+ "value": "57.1"
1076
+ },
1077
+ {
1078
+ "weight": "heavy",
1079
+ "smell": "bitter",
1080
+ "index": "5",
1081
+ "value": "47.7"
1082
+ },
1083
+ {
1084
+ "weight": "heavy",
1085
+ "smell": "bitter",
1086
+ "index": "6",
1087
+ "value": "28.6"
1088
+ },
1089
+ {
1090
+ "weight": "heavy",
1091
+ "smell": "bitter",
1092
+ "index": "7",
1093
+ "value": "83.7"
1094
+ },
1095
+ {
1096
+ "weight": "heavy",
1097
+ "smell": "bitter",
1098
+ "index": "8",
1099
+ "value": "53.3"
1100
+ },
1101
+ {
1102
+ "weight": "heavy",
1103
+ "smell": "bitter",
1104
+ "index": "9",
1105
+ "value": "31.7"
1106
+ },
1107
+ {
1108
+ "weight": "heavy",
1109
+ "smell": "bitter",
1110
+ "index": "10",
1111
+ "value": "99.1"
1112
+ }
1113
+ ]
1114
+ }