@cdc/chart 4.25.3-6 → 4.25.5-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 (84) hide show
  1. package/dist/cdcchart-1a1724a1.es.js +4886 -0
  2. package/dist/cdcchart.js +50347 -75521
  3. package/index.html +1 -0
  4. package/package.json +22 -27
  5. package/src/CdcChart.tsx +1 -22
  6. package/src/CdcChartComponent.tsx +35 -21
  7. package/src/_stories/Chart.CI.stories.tsx +43 -0
  8. package/src/_stories/Chart.DynamicSeries.stories.tsx +68 -49
  9. package/src/_stories/Chart.Legend.Gradient.stories.tsx +6 -0
  10. package/src/_stories/Chart.stories.tsx +7 -16
  11. package/src/_stories/_mock/bar_chart_ci_labels.json +620 -0
  12. package/src/_stories/_mock/barchart_labels.mock.json +612 -0
  13. package/src/_stories/_mock/dynamic_series_bar_config.json +1 -1
  14. package/src/_stories/_mock/dynamic_series_suppression_mock.json +610 -0
  15. package/{examples/private/line-issue.json → src/_stories/_mock/legend_groupBy_mock.json} +46 -69
  16. package/src/components/Annotations/components/AnnotationDropdown.tsx +2 -2
  17. package/src/components/AreaChart/components/AreaChart.jsx +33 -5
  18. package/src/components/Axis/Categorical.Axis.tsx +2 -2
  19. package/src/components/BarChart/components/BarChart.Horizontal.tsx +51 -41
  20. package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +19 -9
  21. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +20 -9
  22. package/src/components/BarChart/components/BarChart.Vertical.tsx +48 -31
  23. package/src/components/BarChart/components/{BarChart.jsx → BarChart.tsx} +23 -5
  24. package/src/components/BarChart/components/context.tsx +20 -2
  25. package/src/components/BarChart/helpers/getBarHeights.ts +47 -0
  26. package/src/components/BarChart/helpers/index.ts +5 -2
  27. package/src/components/BarChart/helpers/tests/getBarHeights.test.ts +83 -0
  28. package/src/{hooks → components/BarChart/helpers}/useBarChart.ts +11 -47
  29. package/src/components/BoxPlot/BoxPlot.tsx +2 -1
  30. package/src/components/DeviationBar.jsx +2 -1
  31. package/src/components/EditorPanel/EditorPanel.tsx +60 -24
  32. package/src/components/EditorPanel/components/Panels/Panel.General.tsx +34 -34
  33. package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +51 -25
  34. package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +10 -3
  35. package/src/components/EditorPanel/helpers/updateFieldRankByValue.ts +4 -3
  36. package/src/components/EditorPanel/useEditorPermissions.ts +1 -4
  37. package/src/components/ForestPlot/ForestPlot.tsx +2 -2
  38. package/src/components/Legend/Legend.Component.tsx +69 -58
  39. package/src/components/Legend/Legend.Suppression.tsx +12 -22
  40. package/src/components/Legend/Legend.tsx +3 -1
  41. package/src/components/Legend/LegendGroup/LegendGroup.styles.css +40 -0
  42. package/src/components/Legend/LegendGroup/LegendGroup.tsx +103 -0
  43. package/src/components/Legend/LegendGroup/index.tsx +3 -0
  44. package/src/components/Legend/helpers/createFormatLabels.tsx +28 -0
  45. package/src/components/LineChart/LineChartProps.ts +3 -1
  46. package/src/components/LineChart/components/LineChart.Circle.tsx +77 -119
  47. package/src/components/LineChart/helpers.ts +133 -56
  48. package/src/components/LineChart/index.tsx +125 -60
  49. package/src/components/LinearChart.tsx +74 -115
  50. package/src/components/PairedBarChart.jsx +3 -2
  51. package/src/components/PieChart/PieChart.tsx +71 -91
  52. package/src/components/ScatterPlot/ScatterPlot.jsx +5 -0
  53. package/src/components/Sparkline/components/SparkLine.tsx +80 -18
  54. package/src/components/ZoomBrush.tsx +4 -4
  55. package/src/data/initial-state.js +4 -2
  56. package/src/helpers/countNumOfTicks.ts +1 -1
  57. package/src/helpers/dataHelpers.ts +31 -0
  58. package/src/helpers/sizeHelpers.ts +23 -0
  59. package/src/hooks/useMinMax.ts +21 -28
  60. package/src/hooks/useRightAxis.ts +4 -2
  61. package/src/hooks/useScales.ts +12 -14
  62. package/src/hooks/useTooltip.tsx +204 -203
  63. package/src/index.jsx +2 -2
  64. package/src/scss/main.scss +13 -6
  65. package/src/store/chart.actions.ts +1 -1
  66. package/src/types/ChartConfig.ts +7 -1
  67. package/LICENSE +0 -201
  68. package/examples/private/DEV-8850-2.json +0 -493
  69. package/examples/private/DEV-9822.json +0 -574
  70. package/examples/private/DEV-9840.json +0 -553
  71. package/examples/private/DEV-9850-3.json +0 -461
  72. package/examples/private/chart.json +0 -1084
  73. package/examples/private/ci_formatted.json +0 -202
  74. package/examples/private/ci_issue.json +0 -3016
  75. package/examples/private/completed.json +0 -634
  76. package/examples/private/dem-data-long.csv +0 -20
  77. package/examples/private/dem-data-long.json +0 -36
  78. package/examples/private/demographic_data.csv +0 -157
  79. package/examples/private/demographic_data.json +0 -2654
  80. package/examples/private/demographic_dynamic.json +0 -443
  81. package/examples/private/demographic_standard.json +0 -560
  82. package/examples/private/ehdi.json +0 -29939
  83. package/examples/private/not-loading.json +0 -360
  84. package/examples/private/test.json +0 -493
@@ -0,0 +1,612 @@
1
+ {
2
+ "annotations": [],
3
+ "type": "chart",
4
+ "debugSvg": false,
5
+ "chartMessage": {
6
+ "noData": "No Data Available"
7
+ },
8
+ "title": "",
9
+ "showTitle": false,
10
+ "showDownloadMediaButton": false,
11
+ "theme": "theme-blue",
12
+ "animate": false,
13
+ "fontSize": "medium",
14
+ "lineDatapointStyle": "hover",
15
+ "lineDatapointColor": "Same as Line",
16
+ "barHasBorder": "false",
17
+ "isLollipopChart": false,
18
+ "lollipopShape": "circle",
19
+ "lollipopColorStyle": "two-tone",
20
+ "visualizationSubType": "regular",
21
+ "barStyle": "flat",
22
+ "roundingStyle": "standard",
23
+ "tipRounding": "top",
24
+ "isResponsiveTicks": true,
25
+ "general": {
26
+ "annotationDropdownText": "Annotations",
27
+ "showMissingDataLabel": false,
28
+ "showSuppressedSymbol": true,
29
+ "showZeroValueData": false,
30
+ "hideNullValue": true,
31
+ "showDownloadButton": false
32
+ },
33
+ "padding": {
34
+ "left": 5,
35
+ "right": 5
36
+ },
37
+ "preliminaryData": [],
38
+ "yAxis": {
39
+ "hideAxis": false,
40
+ "displayNumbersOnBar": false,
41
+ "hideLabel": false,
42
+ "hideTicks": false,
43
+ "size": "75",
44
+ "gridLines": false,
45
+ "enablePadding": false,
46
+ "min": "0.1",
47
+ "max": "3",
48
+ "labelColor": "#333",
49
+ "tickLabelColor": "#333",
50
+ "tickColor": "#333",
51
+ "rightHideAxis": true,
52
+ "rightAxisSize": 0,
53
+ "rightLabel": "",
54
+ "rightLabelOffsetSize": 0,
55
+ "rightAxisLabelColor": "#333",
56
+ "rightAxisTickLabelColor": "#333",
57
+ "rightAxisTickColor": "#333",
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"
68
+ },
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,
97
+ "barHeight": 25,
98
+ "barSpace": 15,
99
+ "heights": {
100
+ "vertical": 300,
101
+ "horizontal": 750
102
+ },
103
+ "xAxis": {
104
+ "sortDates": false,
105
+ "anchors": [],
106
+ "type": "categorical",
107
+ "showTargetLabel": true,
108
+ "targetLabel": "Target",
109
+ "hideAxis": false,
110
+ "hideLabel": false,
111
+ "hideTicks": false,
112
+ "size": 75,
113
+ "tickRotation": 0,
114
+ "min": "",
115
+ "max": "",
116
+ "labelColor": "#333",
117
+ "tickLabelColor": "#333",
118
+ "tickColor": "#333",
119
+ "numTicks": "",
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": 62.779998779296875,
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
149
+ },
150
+ "orientation": "vertical",
151
+ "color": "pinkpurple",
152
+ "columns": {},
153
+ "legend": {
154
+ "hide": false,
155
+ "behavior": "isolate",
156
+ "axisAlign": true,
157
+ "singleRow": true,
158
+ "colorCode": "",
159
+ "reverseLabelOrder": false,
160
+ "description": "",
161
+ "dynamicLegend": false,
162
+ "dynamicLegendDefaultText": "Show All",
163
+ "dynamicLegendItemLimit": 5,
164
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
165
+ "dynamicLegendChartMessage": "Select Options from the Legend",
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
+ "groupBy": "",
176
+ "shape": "circle",
177
+ "tickRotation": "",
178
+ "hideBorder": {
179
+ "side": false,
180
+ "topBottom": true
181
+ },
182
+ "position": "top"
183
+ },
184
+ "brush": {
185
+ "height": 25,
186
+ "active": false
187
+ },
188
+ "exclusions": {
189
+ "active": false,
190
+ "keys": []
191
+ },
192
+ "palette": "qualitative-bold",
193
+ "isPaletteReversed": false,
194
+ "twoColor": {
195
+ "palette": "monochrome-1",
196
+ "isPaletteReversed": false
197
+ },
198
+ "labels": true,
199
+ "dataFormat": {
200
+ "commas": false,
201
+ "prefix": "",
202
+ "suffix": "",
203
+ "abbreviated": false,
204
+ "bottomSuffix": "",
205
+ "bottomPrefix": "",
206
+ "bottomAbbreviated": false,
207
+ "roundTo": "1"
208
+ },
209
+ "confidenceKeys": {},
210
+ "visual": {
211
+ "border": true,
212
+ "accent": true,
213
+ "background": true,
214
+ "verticalHoverLine": false,
215
+ "horizontalHoverLine": false,
216
+ "lineDatapointSymbol": "none",
217
+ "maximumShapeAmount": 7
218
+ },
219
+ "useLogScale": false,
220
+ "filterBehavior": "Filter Change",
221
+ "highlightedBarValues": [],
222
+ "series": [
223
+ {
224
+ "dataKey": "Hispanic",
225
+ "type": "Line",
226
+ "axis": "Left",
227
+ "tooltip": true
228
+ }
229
+ ],
230
+ "tooltips": {
231
+ "opacity": 90,
232
+ "singleSeries": false,
233
+ "dateDisplayFormat": ""
234
+ },
235
+ "forestPlot": {
236
+ "startAt": 0,
237
+ "colors": {
238
+ "line": "",
239
+ "shape": ""
240
+ },
241
+ "lineOfNoEffect": {
242
+ "show": true
243
+ },
244
+ "type": "",
245
+ "pooledResult": {
246
+ "diamondHeight": 5,
247
+ "column": ""
248
+ },
249
+ "estimateField": "",
250
+ "estimateRadius": "",
251
+ "shape": "square",
252
+ "rowHeight": 20,
253
+ "description": {
254
+ "show": true,
255
+ "text": "description",
256
+ "location": 0
257
+ },
258
+ "result": {
259
+ "show": true,
260
+ "text": "result",
261
+ "location": 100
262
+ },
263
+ "radius": {
264
+ "min": 2,
265
+ "max": 10,
266
+ "scalingColumn": ""
267
+ },
268
+ "regression": {
269
+ "lower": 0,
270
+ "upper": 0,
271
+ "estimateField": 0
272
+ },
273
+ "leftWidthOffset": 0,
274
+ "rightWidthOffset": 0,
275
+ "showZeroLine": false,
276
+ "leftLabel": "",
277
+ "rightLabel": ""
278
+ },
279
+ "area": {
280
+ "isStacked": false
281
+ },
282
+ "sankey": {
283
+ "title": {
284
+ "defaultColor": "black"
285
+ },
286
+ "iterations": 1,
287
+ "rxValue": 0.9,
288
+ "overallSize": {
289
+ "width": 900,
290
+ "height": 700
291
+ },
292
+ "margin": {
293
+ "margin_y": 25,
294
+ "margin_x": 0
295
+ },
296
+ "nodeSize": {
297
+ "nodeWidth": 26,
298
+ "nodeHeight": 40
299
+ },
300
+ "nodePadding": 55,
301
+ "nodeFontColor": "black",
302
+ "nodeColor": {
303
+ "default": "#ff8500",
304
+ "inactive": "#808080"
305
+ },
306
+ "linkColor": {
307
+ "default": "#ffc900",
308
+ "inactive": "#D3D3D3"
309
+ },
310
+ "opacity": {
311
+ "nodeOpacityDefault": 1,
312
+ "nodeOpacityInactive": 0.1,
313
+ "LinkOpacityDefault": 1,
314
+ "LinkOpacityInactive": 0.1
315
+ },
316
+ "storyNodeFontColor": "#006778",
317
+ "storyNodeText": [],
318
+ "nodeValueStyle": {
319
+ "textBefore": "(",
320
+ "textAfter": ")"
321
+ },
322
+ "data": []
323
+ },
324
+ "errors": [],
325
+ "currentViewport": "lg",
326
+ "id": 4,
327
+ "category": "Charts",
328
+ "label": "Line",
329
+ "subType": "Line",
330
+ "icon": {
331
+ "key": null,
332
+ "ref": null,
333
+ "props": {},
334
+ "_owner": null
335
+ },
336
+ "content": "Present one or more data trends over time.",
337
+ "visualizationType": "Bar",
338
+ "datasets": {},
339
+ "activeVizButtonID": 4,
340
+ "data": [
341
+ {
342
+ "Year": "2007",
343
+ "American Indian/Alaska Native": "1.4",
344
+ "Asian/Pacific Islander": "0.9",
345
+ "Black, non-Hispanic": "2.3",
346
+ "White, non-Hispanic": "1",
347
+ "Hispanic": "1"
348
+ },
349
+ {
350
+ "Year": "2008",
351
+ "American Indian/Alaska Native": "1.8",
352
+ "Asian/Pacific Islander": "0.8",
353
+ "Black, non-Hispanic": "2.2",
354
+ "White, non-Hispanic": "0.9",
355
+ "Hispanic": "0.8"
356
+ },
357
+ {
358
+ "Year": "2009",
359
+ "American Indian/Alaska Native": "1",
360
+ "Asian/Pacific Islander": "0.7",
361
+ "Black, non-Hispanic": "1.7",
362
+ "White, non-Hispanic": "0.8",
363
+ "Hispanic": "0.7"
364
+ },
365
+ {
366
+ "Year": "2010",
367
+ "American Indian/Alaska Native": "1.1",
368
+ "Asian/Pacific Islander": "0.6",
369
+ "Black, non-Hispanic": "1.7",
370
+ "White, non-Hispanic": "0.8",
371
+ "Hispanic": "0.6"
372
+ },
373
+ {
374
+ "Year": "2011",
375
+ "American Indian/Alaska Native": "0.5",
376
+ "Asian/Pacific Islander": "0.4",
377
+ "Black, non-Hispanic": "1.4",
378
+ "White, non-Hispanic": "0.8",
379
+ "Hispanic": "0.4"
380
+ },
381
+ {
382
+ "Year": "2012",
383
+ "American Indian/Alaska Native": "0.7",
384
+ "Asian/Pacific Islander": "0.4",
385
+ "Black, non-Hispanic": "1.1",
386
+ "White, non-Hispanic": "0.8",
387
+ "Hispanic": "0.4"
388
+ },
389
+ {
390
+ "Year": "2013",
391
+ "American Indian/Alaska Native": "0.7",
392
+ "Asian/Pacific Islander": "0.3",
393
+ "Black, non-Hispanic": "0.9",
394
+ "White, non-Hispanic": "0.9",
395
+ "Hispanic": "0.4"
396
+ },
397
+ {
398
+ "Year": "2014",
399
+ "American Indian/Alaska Native": "0.8",
400
+ "Asian/Pacific Islander": "0.3",
401
+ "Black, non-Hispanic": "0.8",
402
+ "White, non-Hispanic": "0.9",
403
+ "Hispanic": "0.3"
404
+ },
405
+ {
406
+ "Year": "2015",
407
+ "American Indian/Alaska Native": "0.7",
408
+ "Asian/Pacific Islander": "0.4",
409
+ "Black, non-Hispanic": "1",
410
+ "White, non-Hispanic": "1.1",
411
+ "Hispanic": "0.3"
412
+ },
413
+ {
414
+ "Year": "2016",
415
+ "American Indian/Alaska Native": "0.5",
416
+ "Asian/Pacific Islander": "0.3",
417
+ "Black, non-Hispanic": "0.9",
418
+ "White, non-Hispanic": "1",
419
+ "Hispanic": "0.3"
420
+ },
421
+ {
422
+ "Year": "2017",
423
+ "American Indian/Alaska Native": "0.7",
424
+ "Asian/Pacific Islander": "0.3",
425
+ "Black, non-Hispanic": "1",
426
+ "White, non-Hispanic": "1.1",
427
+ "Hispanic": "0.3"
428
+ },
429
+ {
430
+ "Year": "2018",
431
+ "American Indian/Alaska Native": "0.9",
432
+ "Asian/Pacific Islander": "0.3",
433
+ "Black, non-Hispanic": "1",
434
+ "White, non-Hispanic": "1",
435
+ "Hispanic": "0.4"
436
+ },
437
+ {
438
+ "Year": "2019",
439
+ "American Indian/Alaska Native": "0.6",
440
+ "Asian/Pacific Islander": "0.3",
441
+ "Black, non-Hispanic": "0.9",
442
+ "White, non-Hispanic": "1",
443
+ "Hispanic": "0.4"
444
+ },
445
+ {
446
+ "Year": "2020",
447
+ "American Indian/Alaska Native": "0.4",
448
+ "Asian/Pacific Islander": "0.2",
449
+ "Black, non-Hispanic": "0.7",
450
+ "White, non-Hispanic": "0.7",
451
+ "Hispanic": "0.3"
452
+ },
453
+ {
454
+ "Year": "2021",
455
+ "American Indian/Alaska Native": "0.4",
456
+ "Asian/Pacific Islander": "0.2",
457
+ "Black, non-Hispanic": "0.9",
458
+ "White, non-Hispanic": "0.6",
459
+ "Hispanic": "0.4"
460
+ },
461
+ {
462
+ "Year": "2022",
463
+ "American Indian/Alaska Native": "0.4",
464
+ "Asian/Pacific Islander": "0.3",
465
+ "Black, non-Hispanic": "1",
466
+ "White, non-Hispanic": "0.6",
467
+ "Hispanic": "0.4"
468
+ }
469
+ ],
470
+ "dataFileName": "chart_data 2-6.csv",
471
+ "dataFileSourceType": "file",
472
+ "dataDescription": {
473
+ "horizontal": false,
474
+ "series": false
475
+ },
476
+ "version": "4.25.1",
477
+ "dynamicMarginTop": 0,
478
+ "formattedData": [
479
+ {
480
+ "Year": "2007",
481
+ "American Indian/Alaska Native": "1.4",
482
+ "Asian/Pacific Islander": "0.9",
483
+ "Black, non-Hispanic": "2.3",
484
+ "White, non-Hispanic": "1",
485
+ "Hispanic": "1"
486
+ },
487
+ {
488
+ "Year": "2008",
489
+ "American Indian/Alaska Native": "1.8",
490
+ "Asian/Pacific Islander": "0.8",
491
+ "Black, non-Hispanic": "2.2",
492
+ "White, non-Hispanic": "0.9",
493
+ "Hispanic": "0.8"
494
+ },
495
+ {
496
+ "Year": "2009",
497
+ "American Indian/Alaska Native": "1",
498
+ "Asian/Pacific Islander": "0.7",
499
+ "Black, non-Hispanic": "1.7",
500
+ "White, non-Hispanic": "0.8",
501
+ "Hispanic": "0.7"
502
+ },
503
+ {
504
+ "Year": "2010",
505
+ "American Indian/Alaska Native": "1.1",
506
+ "Asian/Pacific Islander": "0.6",
507
+ "Black, non-Hispanic": "1.7",
508
+ "White, non-Hispanic": "0.8",
509
+ "Hispanic": "0.6"
510
+ },
511
+ {
512
+ "Year": "2011",
513
+ "American Indian/Alaska Native": "0.5",
514
+ "Asian/Pacific Islander": "0.4",
515
+ "Black, non-Hispanic": "1.4",
516
+ "White, non-Hispanic": "0.8",
517
+ "Hispanic": "0.4"
518
+ },
519
+ {
520
+ "Year": "2012",
521
+ "American Indian/Alaska Native": "0.7",
522
+ "Asian/Pacific Islander": "0.4",
523
+ "Black, non-Hispanic": "1.1",
524
+ "White, non-Hispanic": "0.8",
525
+ "Hispanic": "0.4"
526
+ },
527
+ {
528
+ "Year": "2013",
529
+ "American Indian/Alaska Native": "0.7",
530
+ "Asian/Pacific Islander": "0.3",
531
+ "Black, non-Hispanic": "0.9",
532
+ "White, non-Hispanic": "0.9",
533
+ "Hispanic": "0.4"
534
+ },
535
+ {
536
+ "Year": "2014",
537
+ "American Indian/Alaska Native": "0.8",
538
+ "Asian/Pacific Islander": "0.3",
539
+ "Black, non-Hispanic": "0.8",
540
+ "White, non-Hispanic": "0.9",
541
+ "Hispanic": "0.3"
542
+ },
543
+ {
544
+ "Year": "2015",
545
+ "American Indian/Alaska Native": "0.7",
546
+ "Asian/Pacific Islander": "0.4",
547
+ "Black, non-Hispanic": "1",
548
+ "White, non-Hispanic": "1.1",
549
+ "Hispanic": "0.3"
550
+ },
551
+ {
552
+ "Year": "2016",
553
+ "American Indian/Alaska Native": "0.5",
554
+ "Asian/Pacific Islander": "0.3",
555
+ "Black, non-Hispanic": "0.9",
556
+ "White, non-Hispanic": "1",
557
+ "Hispanic": "0.3"
558
+ },
559
+ {
560
+ "Year": "2017",
561
+ "American Indian/Alaska Native": "0.7",
562
+ "Asian/Pacific Islander": "0.3",
563
+ "Black, non-Hispanic": "1",
564
+ "White, non-Hispanic": "1.1",
565
+ "Hispanic": "0.3"
566
+ },
567
+ {
568
+ "Year": "2018",
569
+ "American Indian/Alaska Native": "0.9",
570
+ "Asian/Pacific Islander": "0.3",
571
+ "Black, non-Hispanic": "1",
572
+ "White, non-Hispanic": "1",
573
+ "Hispanic": "0.4"
574
+ },
575
+ {
576
+ "Year": "2019",
577
+ "American Indian/Alaska Native": "0.6",
578
+ "Asian/Pacific Islander": "0.3",
579
+ "Black, non-Hispanic": "0.9",
580
+ "White, non-Hispanic": "1",
581
+ "Hispanic": "0.4"
582
+ },
583
+ {
584
+ "Year": "2020",
585
+ "American Indian/Alaska Native": "0.4",
586
+ "Asian/Pacific Islander": "0.2",
587
+ "Black, non-Hispanic": "0.7",
588
+ "White, non-Hispanic": "0.7",
589
+ "Hispanic": "0.3"
590
+ },
591
+ {
592
+ "Year": "2021",
593
+ "American Indian/Alaska Native": "0.4",
594
+ "Asian/Pacific Islander": "0.2",
595
+ "Black, non-Hispanic": "0.9",
596
+ "White, non-Hispanic": "0.6",
597
+ "Hispanic": "0.4"
598
+ },
599
+ {
600
+ "Year": "2022",
601
+ "American Indian/Alaska Native": "0.4",
602
+ "Asian/Pacific Islander": "0.3",
603
+ "Black, non-Hispanic": "1",
604
+ "White, non-Hispanic": "0.6",
605
+ "Hispanic": "0.4"
606
+ }
607
+ ],
608
+ "filters": [],
609
+ "migrations": {
610
+ "addColorMigration": true
611
+ }
612
+ }
@@ -196,7 +196,7 @@
196
196
  ],
197
197
  "tooltips": {
198
198
  "opacity": 90,
199
- "singleSeries": false,
199
+ "singleSeries": true,
200
200
  "dateDisplayFormat": ""
201
201
  },
202
202
  "area": {