@cdc/chart 4.24.12 → 4.25.2-25

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 (84) hide show
  1. package/dist/cdcchart.js +79900 -78999
  2. package/examples/feature/boxplot/boxplot.json +2 -157
  3. package/examples/feature/boxplot/testing.csv +23 -38
  4. package/examples/feature/tests-non-numerics/example-combo-bar-nonnumeric.json +579 -49
  5. package/examples/private/ehdi.json +29939 -0
  6. package/examples/private/line-issue.json +497 -0
  7. package/examples/private/not-loading.json +360 -0
  8. package/index.html +11 -15
  9. package/package.json +2 -2
  10. package/src/CdcChart.tsx +92 -1512
  11. package/src/CdcChartComponent.tsx +1113 -0
  12. package/src/ConfigContext.tsx +6 -1
  13. package/src/_stories/Chart.Anchors.stories.tsx +1 -1
  14. package/src/_stories/Chart.CustomColors.stories.tsx +1 -1
  15. package/src/_stories/Chart.DynamicSeries.stories.tsx +17 -2
  16. package/src/_stories/Chart.Filters.stories.tsx +19 -0
  17. package/src/_stories/Chart.Legend.Gradient.stories.tsx +2 -2
  18. package/src/_stories/Chart.ScatterPlot.stories.tsx +19 -0
  19. package/src/_stories/Chart.tooltip.stories.tsx +1 -2
  20. package/src/_stories/ChartAnnotation.stories.tsx +1 -1
  21. package/src/_stories/ChartAxisLabels.stories.tsx +1 -1
  22. package/src/_stories/ChartAxisTitles.stories.tsx +1 -1
  23. package/src/_stories/ChartEditor.stories.tsx +1 -1
  24. package/src/_stories/ChartLine.Suppression.stories.tsx +1 -1
  25. package/src/_stories/ChartLine.Symbols.stories.tsx +18 -0
  26. package/src/_stories/ChartPrefixSuffix.stories.tsx +1 -1
  27. package/src/_stories/_mock/line_chart_symbols.json +437 -0
  28. package/src/_stories/_mock/scatterplot-image-download.json +1244 -0
  29. package/src/components/Annotations/components/AnnotationDraggable.tsx +3 -11
  30. package/src/components/Annotations/components/AnnotationDropdown.tsx +3 -3
  31. package/src/components/Axis/Categorical.Axis.tsx +3 -4
  32. package/src/components/BarChart/components/BarChart.Horizontal.tsx +14 -5
  33. package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +10 -4
  34. package/src/components/BarChart/components/BarChart.Vertical.tsx +5 -7
  35. package/src/components/BarChart/components/BarChart.jsx +24 -4
  36. package/src/components/BarChart/components/context.tsx +1 -0
  37. package/src/components/BoxPlot/BoxPlot.tsx +34 -32
  38. package/src/components/BoxPlot/helpers/index.ts +108 -18
  39. package/src/components/BrushChart.tsx +44 -24
  40. package/src/components/DeviationBar.jsx +2 -6
  41. package/src/components/EditorPanel/EditorPanel.tsx +64 -8
  42. package/src/components/EditorPanel/components/Panels/Panel.General.tsx +4 -0
  43. package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +3 -1
  44. package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +44 -7
  45. package/src/components/EditorPanel/helpers/updateFieldRankByValue.ts +6 -1
  46. package/src/components/ForestPlot/ForestPlot.tsx +176 -26
  47. package/src/components/Legend/Legend.Component.tsx +29 -38
  48. package/src/components/Legend/Legend.Suppression.tsx +3 -5
  49. package/src/components/Legend/Legend.tsx +2 -2
  50. package/src/components/Legend/LegendLine.Shape.tsx +51 -0
  51. package/src/components/Legend/helpers/createFormatLabels.tsx +29 -26
  52. package/src/components/Legend/helpers/getLegendClasses.ts +20 -38
  53. package/src/components/Legend/helpers/index.ts +22 -9
  54. package/src/components/Legend/tests/getLegendClasses.test.ts +3 -20
  55. package/src/components/LineChart/components/LineChart.Circle.tsx +104 -94
  56. package/src/components/LineChart/index.tsx +6 -2
  57. package/src/components/LinearChart.tsx +77 -43
  58. package/src/components/PairedBarChart.jsx +2 -9
  59. package/src/components/ZoomBrush.tsx +5 -7
  60. package/src/data/initial-state.js +6 -3
  61. package/src/helpers/getBoxPlotConfig.ts +68 -0
  62. package/src/helpers/getColorScale.ts +24 -0
  63. package/src/helpers/getComboChartConfig.ts +42 -0
  64. package/src/helpers/getExcludedData.ts +37 -0
  65. package/src/helpers/getTopAxis.ts +7 -0
  66. package/src/helpers/isConvertLineToBarGraph.ts +10 -3
  67. package/src/hooks/useBarChart.ts +40 -13
  68. package/src/hooks/{useHighlightedBars.js → useHighlightedBars.ts} +2 -1
  69. package/src/hooks/useIntersectionObserver.ts +37 -0
  70. package/src/hooks/useMinMax.ts +11 -8
  71. package/src/hooks/useReduceData.ts +1 -1
  72. package/src/hooks/useScales.ts +10 -0
  73. package/src/hooks/useTooltip.tsx +21 -2
  74. package/src/index.jsx +1 -0
  75. package/src/scss/DataTable.scss +0 -5
  76. package/src/scss/main.scss +31 -116
  77. package/src/store/chart.actions.ts +40 -0
  78. package/src/store/chart.reducer.ts +83 -0
  79. package/src/types/ChartConfig.ts +6 -3
  80. package/src/types/ChartContext.ts +1 -3
  81. package/src/helpers/getQuartiles.ts +0 -27
  82. package/src/hooks/useColorScale.ts +0 -50
  83. package/src/hooks/useIntersectionObserver.jsx +0 -29
  84. package/src/hooks/useTopAxis.js +0 -6
@@ -1,70 +1,160 @@
1
1
  {
2
+ "annotations": [],
2
3
  "type": "chart",
3
- "title": "Combo Bar-Line Chart",
4
- "theme": "theme-indigo",
4
+ "debugSvg": false,
5
+ "chartMessage": {
6
+ "noData": "No Data Available"
7
+ },
8
+ "title": "",
9
+ "showTitle": false,
10
+ "showDownloadMediaButton": false,
11
+ "theme": "theme-blue",
5
12
  "animate": false,
6
13
  "fontSize": "medium",
7
14
  "lineDatapointStyle": "hover",
15
+ "lineDatapointColor": "Same as Line",
8
16
  "barHasBorder": "false",
9
17
  "isLollipopChart": false,
10
18
  "lollipopShape": "circle",
11
19
  "lollipopColorStyle": "two-tone",
12
20
  "visualizationSubType": "regular",
13
- "barStyle": "",
21
+ "barStyle": "flat",
14
22
  "roundingStyle": "standard",
15
23
  "tipRounding": "top",
16
- "padding": { "left": 5, "right": 5 },
24
+ "isResponsiveTicks": true,
25
+ "general": {
26
+ "annotationDropdownText": "Annotations",
27
+ "showDownloadButton": false,
28
+ "showMissingDataLabel": false,
29
+ "showSuppressedSymbol": true,
30
+ "showZeroValueData": false,
31
+ "hideNullValue": true
32
+ },
33
+ "padding": {
34
+ "left": 5,
35
+ "right": 5
36
+ },
37
+ "preliminaryData": [],
17
38
  "yAxis": {
18
39
  "hideAxis": false,
19
40
  "displayNumbersOnBar": false,
20
41
  "hideLabel": false,
21
42
  "hideTicks": false,
22
- "size": "68",
23
- "gridLines": true,
24
- "min": "",
25
- "max": "",
43
+ "size": "75",
44
+ "gridLines": false,
45
+ "enablePadding": false,
46
+ "min": "0.1",
47
+ "max": "3",
26
48
  "labelColor": "#333",
27
49
  "tickLabelColor": "#333",
28
50
  "tickColor": "#333",
29
51
  "rightHideAxis": true,
30
- "rightAxisSize": 50,
52
+ "rightAxisSize": 0,
53
+ "rightLabel": "",
31
54
  "rightLabelOffsetSize": 0,
32
55
  "rightAxisLabelColor": "#333",
33
56
  "rightAxisTickLabelColor": "#333",
34
57
  "rightAxisTickColor": "#333",
35
- "isLegendValue": false,
36
- "numTicks": "",
37
- "label": "Y-Axis Label Example"
58
+ "numTicks": "6",
59
+ "axisPadding": 0,
60
+ "scalePadding": 10,
61
+ "tickRotation": 0,
62
+ "anchors": [],
63
+ "shoMissingDataLabel": true,
64
+ "showMissingDataLine": true,
65
+ "categories": [],
66
+ "label": "Reported cases per 100,000 Population",
67
+ "type": "linear"
38
68
  },
39
- "topAxis": { "hasLine": false },
40
- "barThickness": "0.5",
69
+ "boxplot": {
70
+ "plots": [],
71
+ "borders": "true",
72
+ "plotOutlierValues": false,
73
+ "plotNonOutlierValues": true,
74
+ "labels": {
75
+ "q1": "Lower Quartile",
76
+ "q2": "q2",
77
+ "q3": "Upper Quartile",
78
+ "q4": "q4",
79
+ "minimum": "Minimum",
80
+ "maximum": "Maximum",
81
+ "mean": "Mean",
82
+ "median": "Median",
83
+ "sd": "Standard Deviation",
84
+ "iqr": "Interquartile Range",
85
+ "count": "Count",
86
+ "outliers": "Outliers",
87
+ "values": "Values",
88
+ "lowerBounds": "Lower Bounds",
89
+ "upperBounds": "Upper Bounds"
90
+ }
91
+ },
92
+ "topAxis": {
93
+ "hasLine": false
94
+ },
95
+ "isLegendValue": false,
96
+ "barThickness": 0.35,
41
97
  "barHeight": 25,
42
- "height": "332",
98
+ "barSpace": 15,
99
+ "heights": {
100
+ "vertical": 300,
101
+ "horizontal": 750
102
+ },
43
103
  "xAxis": {
44
- "type": "date",
104
+ "sortDates": false,
105
+ "anchors": [],
106
+ "type": "categorical",
107
+ "showTargetLabel": true,
108
+ "targetLabel": "Target",
45
109
  "hideAxis": false,
46
110
  "hideLabel": false,
47
111
  "hideTicks": false,
48
- "size": "78",
49
- "tickRotation": "25",
112
+ "size": 75,
113
+ "tickRotation": 0,
50
114
  "min": "",
51
115
  "max": "",
52
116
  "labelColor": "#333",
53
117
  "tickLabelColor": "#333",
54
118
  "tickColor": "#333",
55
- "isLegendValue": false,
56
119
  "numTicks": "",
57
- "dataKey": "Date",
58
- "label": "X-Axis Example Label",
59
- "dateParseFormat": "%d/%m/%Y",
60
- "dateDisplayFormat": "%d/%m/%Y"
120
+ "labelOffset": 0,
121
+ "axisPadding": 200,
122
+ "target": 0,
123
+ "maxTickRotation": 0,
124
+ "padding": 5,
125
+ "showYearsOnce": false,
126
+ "sortByRecentDate": false,
127
+ "dataKey": "Year",
128
+ "label": "Year",
129
+ "manual": true,
130
+ "axisBBox": 50.90235137939453,
131
+ "tickWidthMax": 39
132
+ },
133
+ "table": {
134
+ "label": "Data Table",
135
+ "expanded": true,
136
+ "limitHeight": false,
137
+ "height": "",
138
+ "caption": "",
139
+ "showDownloadUrl": false,
140
+ "showDataTableLink": true,
141
+ "showDownloadLinkBelow": true,
142
+ "indexLabel": "",
143
+ "download": true,
144
+ "showVertical": false,
145
+ "dateDisplayFormat": "",
146
+ "showMissingDataLabel": true,
147
+ "showSuppressedSymbol": true,
148
+ "show": true
61
149
  },
62
- "table": { "label": "Data Table", "expanded": true, "limitHeight": false, "height": "", "caption": "", "download": true, "show": true },
63
150
  "orientation": "vertical",
151
+ "color": "pinkpurple",
152
+ "columns": {},
64
153
  "legend": {
65
- "behavior": "highlight",
66
- "position": "right",
67
- "singleRow": false,
154
+ "hide": false,
155
+ "behavior": "isolate",
156
+ "axisAlign": true,
157
+ "singleRow": true,
68
158
  "colorCode": "",
69
159
  "reverseLabelOrder": false,
70
160
  "description": "",
@@ -73,33 +163,473 @@
73
163
  "dynamicLegendItemLimit": 5,
74
164
  "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
75
165
  "dynamicLegendChartMessage": "Select Options from the Legend",
76
- "label": "Data Type"
166
+ "label": "",
167
+ "lineMode": false,
168
+ "verticalSorted": false,
169
+ "highlightOnHover": false,
170
+ "hideSuppressedLabels": false,
171
+ "hideSuppressionLink": false,
172
+ "seriesHighlight": [],
173
+ "style": "boxes",
174
+ "subStyle": "linear blocks",
175
+ "shape": "circle",
176
+ "tickRotation": "",
177
+ "hideBorder": {
178
+ "side": false,
179
+ "topBottom": true
180
+ },
181
+ "position": "top"
182
+ },
183
+ "brush": {
184
+ "height": 25,
185
+ "active": false
186
+ },
187
+ "exclusions": {
188
+ "active": false,
189
+ "keys": []
77
190
  },
78
- "exclusions": { "active": false, "keys": [] },
79
- "palette": "qualitative2",
191
+ "palette": "qualitative-bold",
80
192
  "isPaletteReversed": false,
193
+ "twoColor": {
194
+ "palette": "monochrome-1",
195
+ "isPaletteReversed": false
196
+ },
81
197
  "labels": false,
82
- "dataFormat": { "commas": false, "prefix": "", "suffix": "" },
198
+ "dataFormat": {
199
+ "commas": false,
200
+ "prefix": "",
201
+ "suffix": "",
202
+ "abbreviated": false,
203
+ "bottomSuffix": "",
204
+ "bottomPrefix": "",
205
+ "bottomAbbreviated": false,
206
+ "roundTo": "1"
207
+ },
83
208
  "confidenceKeys": {},
84
- "visual": { "border": true, "accent": true, "background": true },
209
+ "visual": {
210
+ "border": true,
211
+ "accent": true,
212
+ "background": true,
213
+ "verticalHoverLine": false,
214
+ "horizontalHoverLine": false,
215
+ "lineDatapointSymbol": "none",
216
+ "maximumShapeAmount": 7
217
+ },
218
+ "useLogScale": false,
219
+ "filterBehavior": "Filter Change",
220
+ "highlightedBarValues": [],
221
+ "series": [
222
+ {
223
+ "dataKey": "American Indian/Alaska Native",
224
+ "type": "Line",
225
+ "axis": "Left",
226
+ "tooltip": true
227
+ },
228
+ {
229
+ "dataKey": "Asian/Pacific Islander",
230
+ "type": "Line",
231
+ "axis": "Left",
232
+ "tooltip": true
233
+ },
234
+ {
235
+ "dataKey": "Black, non-Hispanic",
236
+ "type": "Line",
237
+ "axis": "Left",
238
+ "tooltip": true
239
+ },
240
+ {
241
+ "dataKey": "White, non-Hispanic",
242
+ "type": "Line",
243
+ "axis": "Left",
244
+ "tooltip": true
245
+ },
246
+ {
247
+ "dataKey": "Hispanic",
248
+ "type": "Line",
249
+ "axis": "Left",
250
+ "tooltip": true
251
+ }
252
+ ],
253
+ "tooltips": {
254
+ "opacity": 90,
255
+ "singleSeries": false,
256
+ "dateDisplayFormat": ""
257
+ },
258
+ "forestPlot": {
259
+ "startAt": 0,
260
+ "colors": {
261
+ "line": "",
262
+ "shape": ""
263
+ },
264
+ "lineOfNoEffect": {
265
+ "show": true
266
+ },
267
+ "type": "",
268
+ "pooledResult": {
269
+ "diamondHeight": 5,
270
+ "column": ""
271
+ },
272
+ "estimateField": "",
273
+ "estimateRadius": "",
274
+ "shape": "square",
275
+ "rowHeight": 20,
276
+ "description": {
277
+ "show": true,
278
+ "text": "description",
279
+ "location": 0
280
+ },
281
+ "result": {
282
+ "show": true,
283
+ "text": "result",
284
+ "location": 100
285
+ },
286
+ "radius": {
287
+ "min": 2,
288
+ "max": 10,
289
+ "scalingColumn": ""
290
+ },
291
+ "regression": {
292
+ "lower": 0,
293
+ "upper": 0,
294
+ "estimateField": 0
295
+ },
296
+ "leftWidthOffset": 0,
297
+ "rightWidthOffset": 0,
298
+ "showZeroLine": false,
299
+ "leftLabel": "",
300
+ "rightLabel": ""
301
+ },
302
+ "area": {
303
+ "isStacked": false
304
+ },
305
+ "sankey": {
306
+ "title": {
307
+ "defaultColor": "black"
308
+ },
309
+ "iterations": 1,
310
+ "rxValue": 0.9,
311
+ "overallSize": {
312
+ "width": 900,
313
+ "height": 700
314
+ },
315
+ "margin": {
316
+ "margin_y": 25,
317
+ "margin_x": 0
318
+ },
319
+ "nodeSize": {
320
+ "nodeWidth": 26,
321
+ "nodeHeight": 40
322
+ },
323
+ "nodePadding": 55,
324
+ "nodeFontColor": "black",
325
+ "nodeColor": {
326
+ "default": "#ff8500",
327
+ "inactive": "#808080"
328
+ },
329
+ "linkColor": {
330
+ "default": "#ffc900",
331
+ "inactive": "#D3D3D3"
332
+ },
333
+ "opacity": {
334
+ "nodeOpacityDefault": 1,
335
+ "nodeOpacityInactive": 0.1,
336
+ "LinkOpacityDefault": 1,
337
+ "LinkOpacityInactive": 0.1
338
+ },
339
+ "storyNodeFontColor": "#006778",
340
+ "storyNodeText": [],
341
+ "nodeValueStyle": {
342
+ "textBefore": "(",
343
+ "textAfter": ")"
344
+ },
345
+ "data": []
346
+ },
347
+ "errors": [],
348
+ "currentViewport": "lg",
349
+ "id": 4,
350
+ "category": "Charts",
351
+ "label": "Line",
352
+ "subType": "Line",
353
+ "icon": {
354
+ "key": null,
355
+ "ref": null,
356
+ "props": {},
357
+ "_owner": null
358
+ },
359
+ "content": "Present one or more data trends over time.",
360
+ "visualizationType": "Line",
361
+ "datasets": {},
362
+ "activeVizButtonID": 4,
85
363
  "data": [
86
- { "Date": "1/15/2016", "Data 1": "N/A", "Data 2": "110", "Data 3": "100", "Data 4": "90", "Monthly-Goal": "100" },
87
- { "Date": "2/15/2016", "Data 1": "100", "Data 2": "goop", "Data 3": "100", "Data 4": "100", "Monthly-Goal": "100" },
88
- { "Date": "3/15/2016", "Data 1": "", "Data 2": "90", "Data 3": "100.5", "Data 4": "120", "Monthly-Goal": "110" },
89
- { "Date": "4/15/2016", "Data 1": "80", "Data 2": "2,00", "Data 3": "110", "Data 4": "120", "Monthly-Goal": "110" },
90
- { "Date": "5/15/2016", "Data 1": "70", "Data 2": "90", "Data 3": "110", "Data 4": "130", "Monthly-Goal": "120" },
91
- { "Date": "6/15/2016", "Data 1": "100", "Data 2": "120", "Data 3": "120", "Data 4": "130", "Monthly-Goal": "120" },
92
- { "Date": "7/15/2016", "Data 1": "zip", "Data 2": null, "Data 3": "120", "Data 4": "130", "Monthly-Goal": "130" },
93
- { "Date": "8/15/2016", "Data 1": "110", "Data 2": "130", "Data 3": "120", "Data 4": "140", "Monthly-Goal": "130" },
94
- { "Date": "9/15/2016", "Data 1": "120", "Data 2": "130", "Data 3": "120", "Data 4": "150", "Monthly-Goal": "140" }
364
+ {
365
+ "Year": "2007",
366
+ "American Indian/Alaska Native": "1.4",
367
+ "Asian/Pacific Islander": "0.9",
368
+ "Black, non-Hispanic": "2.3",
369
+ "White, non-Hispanic": "1",
370
+ "Hispanic": "1"
371
+ },
372
+ {
373
+ "Year": "2008",
374
+ "American Indian/Alaska Native": "1.8",
375
+ "Asian/Pacific Islander": "0.8",
376
+ "Black, non-Hispanic": "2.2",
377
+ "White, non-Hispanic": "0.9",
378
+ "Hispanic": "0.8"
379
+ },
380
+ {
381
+ "Year": "2009",
382
+ "American Indian/Alaska Native": "1",
383
+ "Asian/Pacific Islander": "0.7",
384
+ "Black, non-Hispanic": "1.7",
385
+ "White, non-Hispanic": "0.8",
386
+ "Hispanic": "0.7"
387
+ },
388
+ {
389
+ "Year": "2010",
390
+ "American Indian/Alaska Native": "1.1",
391
+ "Asian/Pacific Islander": "0.6",
392
+ "Black, non-Hispanic": "1.7",
393
+ "White, non-Hispanic": "0.8",
394
+ "Hispanic": "0.6"
395
+ },
396
+ {
397
+ "Year": "2011",
398
+ "American Indian/Alaska Native": "0.5",
399
+ "Asian/Pacific Islander": "0.4",
400
+ "Black, non-Hispanic": "1.4",
401
+ "White, non-Hispanic": "0.8",
402
+ "Hispanic": "0.4"
403
+ },
404
+ {
405
+ "Year": "2012",
406
+ "American Indian/Alaska Native": "0.7",
407
+ "Asian/Pacific Islander": "0.4",
408
+ "Black, non-Hispanic": "1.1",
409
+ "White, non-Hispanic": "0.8",
410
+ "Hispanic": "0.4"
411
+ },
412
+ {
413
+ "Year": "2013",
414
+ "American Indian/Alaska Native": "0.7",
415
+ "Asian/Pacific Islander": "0.3",
416
+ "Black, non-Hispanic": "0.9",
417
+ "White, non-Hispanic": "0.9",
418
+ "Hispanic": "0.4"
419
+ },
420
+ {
421
+ "Year": "2014",
422
+ "American Indian/Alaska Native": "0.8",
423
+ "Asian/Pacific Islander": "0.3",
424
+ "Black, non-Hispanic": "0.8",
425
+ "White, non-Hispanic": "0.9",
426
+ "Hispanic": "0.3"
427
+ },
428
+ {
429
+ "Year": "2015",
430
+ "American Indian/Alaska Native": "0.7",
431
+ "Asian/Pacific Islander": "0.4",
432
+ "Black, non-Hispanic": "1",
433
+ "White, non-Hispanic": "1.1",
434
+ "Hispanic": "0.3"
435
+ },
436
+ {
437
+ "Year": "2016",
438
+ "American Indian/Alaska Native": "0.5",
439
+ "Asian/Pacific Islander": "0.3",
440
+ "Black, non-Hispanic": "0.9",
441
+ "White, non-Hispanic": "1",
442
+ "Hispanic": "0.3"
443
+ },
444
+ {
445
+ "Year": "2017",
446
+ "American Indian/Alaska Native": "0.7",
447
+ "Asian/Pacific Islander": "0.3",
448
+ "Black, non-Hispanic": "1",
449
+ "White, non-Hispanic": "1.1",
450
+ "Hispanic": "0.3"
451
+ },
452
+ {
453
+ "Year": "2018",
454
+ "American Indian/Alaska Native": "0.9",
455
+ "Asian/Pacific Islander": "0.3",
456
+ "Black, non-Hispanic": "1",
457
+ "White, non-Hispanic": "1",
458
+ "Hispanic": "0.4"
459
+ },
460
+ {
461
+ "Year": "2019",
462
+ "American Indian/Alaska Native": "0.6",
463
+ "Asian/Pacific Islander": "0.3",
464
+ "Black, non-Hispanic": "0.9",
465
+ "White, non-Hispanic": "1",
466
+ "Hispanic": "0.4"
467
+ },
468
+ {
469
+ "Year": "2020",
470
+ "American Indian/Alaska Native": "0.4",
471
+ "Asian/Pacific Islander": "0.2",
472
+ "Black, non-Hispanic": "0.7",
473
+ "White, non-Hispanic": "0.7",
474
+ "Hispanic": "0.3"
475
+ },
476
+ {
477
+ "Year": "2021",
478
+ "American Indian/Alaska Native": "0.4",
479
+ "Asian/Pacific Islander": "0.2",
480
+ "Black, non-Hispanic": "0.9",
481
+ "White, non-Hispanic": "0.6",
482
+ "Hispanic": "0.4"
483
+ },
484
+ {
485
+ "Year": "2022",
486
+ "American Indian/Alaska Native": "0.4",
487
+ "Asian/Pacific Islander": "0.3",
488
+ "Black, non-Hispanic": "1",
489
+ "White, non-Hispanic": "0.6",
490
+ "Hispanic": "0.4"
491
+ }
95
492
  ],
96
- "visualizationType": "Combo",
97
- "series": [
98
- { "dataKey": "Data 1", "type": "Bar" },
99
- { "dataKey": "Data 2", "type": "Bar" },
100
- { "dataKey": "Data 3", "type": "Bar" },
101
- { "dataKey": "Data 4", "type": "Bar" },
102
- { "dataKey": "Monthly-Goal", "type": "dashed-sm", "axis": "Left" }
493
+ "dataFileName": "chart_data 2-6.csv",
494
+ "dataFileSourceType": "file",
495
+ "dataDescription": {
496
+ "horizontal": false,
497
+ "series": false
498
+ },
499
+ "version": "4.25.1",
500
+ "dynamicMarginTop": 0,
501
+ "formattedData": [
502
+ {
503
+ "Year": "2007",
504
+ "American Indian/Alaska Native": "1.4",
505
+ "Asian/Pacific Islander": "0.9",
506
+ "Black, non-Hispanic": "2.3",
507
+ "White, non-Hispanic": "1",
508
+ "Hispanic": "1"
509
+ },
510
+ {
511
+ "Year": "2008",
512
+ "American Indian/Alaska Native": "1.8",
513
+ "Asian/Pacific Islander": "0.8",
514
+ "Black, non-Hispanic": "2.2",
515
+ "White, non-Hispanic": "0.9",
516
+ "Hispanic": "0.8"
517
+ },
518
+ {
519
+ "Year": "2009",
520
+ "American Indian/Alaska Native": "1",
521
+ "Asian/Pacific Islander": "0.7",
522
+ "Black, non-Hispanic": "1.7",
523
+ "White, non-Hispanic": "0.8",
524
+ "Hispanic": "0.7"
525
+ },
526
+ {
527
+ "Year": "2010",
528
+ "American Indian/Alaska Native": "1.1",
529
+ "Asian/Pacific Islander": "0.6",
530
+ "Black, non-Hispanic": "1.7",
531
+ "White, non-Hispanic": "0.8",
532
+ "Hispanic": "0.6"
533
+ },
534
+ {
535
+ "Year": "2011",
536
+ "American Indian/Alaska Native": "0.5",
537
+ "Asian/Pacific Islander": "0.4",
538
+ "Black, non-Hispanic": "1.4",
539
+ "White, non-Hispanic": "0.8",
540
+ "Hispanic": "0.4"
541
+ },
542
+ {
543
+ "Year": "2012",
544
+ "American Indian/Alaska Native": "0.7",
545
+ "Asian/Pacific Islander": "0.4",
546
+ "Black, non-Hispanic": "1.1",
547
+ "White, non-Hispanic": "0.8",
548
+ "Hispanic": "0.4"
549
+ },
550
+ {
551
+ "Year": "2013",
552
+ "American Indian/Alaska Native": "0.7",
553
+ "Asian/Pacific Islander": "0.3",
554
+ "Black, non-Hispanic": "0.9",
555
+ "White, non-Hispanic": "0.9",
556
+ "Hispanic": "0.4"
557
+ },
558
+ {
559
+ "Year": "2014",
560
+ "American Indian/Alaska Native": "0.8",
561
+ "Asian/Pacific Islander": "0.3",
562
+ "Black, non-Hispanic": "0.8",
563
+ "White, non-Hispanic": "0.9",
564
+ "Hispanic": "0.3"
565
+ },
566
+ {
567
+ "Year": "2015",
568
+ "American Indian/Alaska Native": "0.7",
569
+ "Asian/Pacific Islander": "0.4",
570
+ "Black, non-Hispanic": "1",
571
+ "White, non-Hispanic": "1.1",
572
+ "Hispanic": "0.3"
573
+ },
574
+ {
575
+ "Year": "2016",
576
+ "American Indian/Alaska Native": "0.5",
577
+ "Asian/Pacific Islander": "0.3",
578
+ "Black, non-Hispanic": "0.9",
579
+ "White, non-Hispanic": "1",
580
+ "Hispanic": "0.3"
581
+ },
582
+ {
583
+ "Year": "2017",
584
+ "American Indian/Alaska Native": "0.7",
585
+ "Asian/Pacific Islander": "0.3",
586
+ "Black, non-Hispanic": "1",
587
+ "White, non-Hispanic": "1.1",
588
+ "Hispanic": "0.3"
589
+ },
590
+ {
591
+ "Year": "2018",
592
+ "American Indian/Alaska Native": "0.9",
593
+ "Asian/Pacific Islander": "0.3",
594
+ "Black, non-Hispanic": "1",
595
+ "White, non-Hispanic": "1",
596
+ "Hispanic": "0.4"
597
+ },
598
+ {
599
+ "Year": "2019",
600
+ "American Indian/Alaska Native": "0.6",
601
+ "Asian/Pacific Islander": "0.3",
602
+ "Black, non-Hispanic": "0.9",
603
+ "White, non-Hispanic": "1",
604
+ "Hispanic": "0.4"
605
+ },
606
+ {
607
+ "Year": "2020",
608
+ "American Indian/Alaska Native": "0.4",
609
+ "Asian/Pacific Islander": "0.2",
610
+ "Black, non-Hispanic": "0.7",
611
+ "White, non-Hispanic": "0.7",
612
+ "Hispanic": "0.3"
613
+ },
614
+ {
615
+ "Year": "2021",
616
+ "American Indian/Alaska Native": "0.4",
617
+ "Asian/Pacific Islander": "0.2",
618
+ "Black, non-Hispanic": "0.9",
619
+ "White, non-Hispanic": "0.6",
620
+ "Hispanic": "0.4"
621
+ },
622
+ {
623
+ "Year": "2022",
624
+ "American Indian/Alaska Native": "0.4",
625
+ "Asian/Pacific Islander": "0.3",
626
+ "Black, non-Hispanic": "1",
627
+ "White, non-Hispanic": "0.6",
628
+ "Hispanic": "0.4"
629
+ }
103
630
  ],
104
- "description": "Note: There is an option to make the line dotted as demonstrated above"
631
+ "filters": [],
632
+ "migrations": {
633
+ "addColorMigration": true
634
+ }
105
635
  }