@cdc/chart 4.24.9 → 4.24.11

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 (95) hide show
  1. package/LICENSE +201 -0
  2. package/dist/cdcchart.js +45911 -41739
  3. package/examples/feature/boxplot/boxplot-data.json +88 -22
  4. package/examples/feature/boxplot/boxplot.json +540 -16
  5. package/examples/feature/boxplot/testing.csv +7 -7
  6. package/examples/feature/sankey/sankey-example-data.json +0 -1
  7. package/examples/private/test.json +20092 -0
  8. package/index.html +4 -4
  9. package/package.json +2 -2
  10. package/src/CdcChart.tsx +209 -188
  11. package/src/_stories/Chart.CustomColors.stories.tsx +19 -0
  12. package/src/_stories/Chart.DynamicSeries.stories.tsx +27 -0
  13. package/src/_stories/Chart.Legend.Gradient.stories.tsx +74 -0
  14. package/src/_stories/Chart.stories.tsx +30 -3
  15. package/src/_stories/ChartAxisLabels.stories.tsx +20 -0
  16. package/src/_stories/ChartAxisTitles.stories.tsx +53 -0
  17. package/src/_stories/ChartEditor.stories.tsx +27 -0
  18. package/src/_stories/ChartLine.Suppression.stories.tsx +25 -0
  19. package/src/_stories/ChartPrefixSuffix.stories.tsx +159 -0
  20. package/src/_stories/_mock/boxplot_multiseries.json +647 -0
  21. package/src/_stories/_mock/dynamic_series_bar_config.json +723 -0
  22. package/src/_stories/_mock/dynamic_series_config.json +979 -0
  23. package/src/_stories/_mock/horizontal_bar.json +257 -0
  24. package/src/_stories/_mock/large_x_axis_labels.json +261 -0
  25. package/src/_stories/_mock/paired-bar.json +262 -0
  26. package/src/_stories/_mock/pie_with_data.json +255 -0
  27. package/{examples/feature/scatterplot/scatterplot.json → src/_stories/_mock/scatterplot_mock.json} +62 -92
  28. package/src/_stories/_mock/simplified_line.json +1510 -0
  29. package/src/_stories/_mock/suppression_mock.json +1549 -0
  30. package/src/components/Annotations/components/AnnotationDraggable.tsx +0 -3
  31. package/src/components/Annotations/components/AnnotationDropdown.tsx +1 -1
  32. package/src/components/Axis/Categorical.Axis.tsx +22 -4
  33. package/src/components/BarChart/components/BarChart.Horizontal.tsx +95 -16
  34. package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +41 -17
  35. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +43 -9
  36. package/src/components/BarChart/components/BarChart.Vertical.tsx +123 -47
  37. package/src/components/BarChart/helpers/index.ts +23 -5
  38. package/src/components/BoxPlot/BoxPlot.tsx +189 -0
  39. package/src/components/BrushChart.tsx +3 -2
  40. package/src/components/DeviationBar.jsx +58 -8
  41. package/src/components/EditorPanel/EditorPanel.tsx +127 -102
  42. package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +11 -28
  43. package/src/components/EditorPanel/components/Panels/Panel.BoxPlot.tsx +51 -6
  44. package/src/components/EditorPanel/components/Panels/Panel.General.tsx +21 -4
  45. package/src/components/EditorPanel/components/Panels/Panel.Regions.tsx +40 -9
  46. package/src/components/EditorPanel/components/Panels/Panel.Sankey.tsx +3 -3
  47. package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +121 -56
  48. package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +296 -35
  49. package/src/components/EditorPanel/components/panels.scss +4 -6
  50. package/src/components/EditorPanel/editor-panel.scss +0 -8
  51. package/src/components/EditorPanel/helpers/tests/updateFieldRankByValue.test.ts +38 -0
  52. package/src/components/EditorPanel/helpers/updateFieldRankByValue.ts +42 -0
  53. package/src/components/EditorPanel/useEditorPermissions.ts +16 -1
  54. package/src/components/ForestPlot/ForestPlot.tsx +2 -3
  55. package/src/components/ForestPlot/ForestPlotProps.ts +2 -0
  56. package/src/components/Legend/Legend.Component.tsx +23 -24
  57. package/src/components/Legend/Legend.Suppression.tsx +25 -20
  58. package/src/components/Legend/Legend.tsx +16 -18
  59. package/src/components/Legend/helpers/index.ts +16 -19
  60. package/src/components/LegendWrapper.tsx +3 -1
  61. package/src/components/LineChart/components/LineChart.Circle.tsx +10 -0
  62. package/src/components/LineChart/helpers.ts +48 -43
  63. package/src/components/LineChart/index.tsx +88 -82
  64. package/src/components/LinearChart.tsx +747 -562
  65. package/src/components/PairedBarChart.jsx +50 -10
  66. package/src/components/PieChart/PieChart.tsx +1 -6
  67. package/src/components/Regions/components/Regions.tsx +33 -19
  68. package/src/components/Sankey/index.tsx +50 -32
  69. package/src/components/Sankey/sankey.scss +6 -5
  70. package/src/components/Sankey/useSankeyAlert.tsx +60 -0
  71. package/src/components/ScatterPlot/ScatterPlot.jsx +20 -4
  72. package/src/components/ZoomBrush.tsx +25 -6
  73. package/src/coreStyles_chart.scss +3 -0
  74. package/src/data/initial-state.js +8 -10
  75. package/src/helpers/configHelpers.ts +28 -0
  76. package/src/helpers/handleRankByValue.ts +15 -0
  77. package/src/helpers/sizeHelpers.ts +25 -0
  78. package/src/helpers/tests/handleRankByValue.test.ts +37 -0
  79. package/src/helpers/tests/sizeHelpers.test.ts +80 -0
  80. package/src/hooks/useColorPalette.js +10 -2
  81. package/src/hooks/useLegendClasses.ts +13 -22
  82. package/src/hooks/useMinMax.ts +27 -13
  83. package/src/hooks/useReduceData.ts +43 -10
  84. package/src/hooks/useScales.ts +87 -38
  85. package/src/hooks/useTooltip.tsx +62 -53
  86. package/src/index.jsx +1 -0
  87. package/src/scss/DataTable.scss +5 -4
  88. package/src/scss/main.scss +57 -70
  89. package/src/types/ChartConfig.ts +43 -34
  90. package/src/types/ChartContext.ts +22 -15
  91. package/src/types/ForestPlot.ts +8 -0
  92. package/src/_stories/Chart.Legend.Gradient.tsx +0 -19
  93. package/src/_stories/ChartBrush.stories.tsx +0 -19
  94. package/src/components/BoxPlot/BoxPlot.jsx +0 -111
  95. package/src/components/LinearChart.jsx +0 -817
@@ -0,0 +1,257 @@
1
+ {
2
+ "annotations": [],
3
+ "type": "chart",
4
+ "debugSvg": false,
5
+ "chartMessage": { "noData": "No Data Available" },
6
+ "title": "",
7
+ "showTitle": true,
8
+ "showDownloadMediaButton": false,
9
+ "theme": "theme-blue",
10
+ "animate": false,
11
+ "fontSize": "medium",
12
+ "lineDatapointStyle": "hover",
13
+ "lineDatapointColor": "Same as Line",
14
+ "barHasBorder": "false",
15
+ "isLollipopChart": false,
16
+ "lollipopShape": "circle",
17
+ "lollipopColorStyle": "two-tone",
18
+ "visualizationSubType": "stacked",
19
+ "barStyle": "",
20
+ "roundingStyle": "standard",
21
+ "tipRounding": "top",
22
+ "isResponsiveTicks": false,
23
+ "general": {
24
+ "annotationDropdownText": "Annotations",
25
+ "showDownloadButton": false,
26
+ "showMissingDataLabel": true,
27
+ "showSuppressedSymbol": true,
28
+ "hideNullValue": true
29
+ },
30
+ "padding": { "left": 5, "right": 5 },
31
+ "preliminaryData": [],
32
+ "yAxis": {
33
+ "hideAxis": false,
34
+ "displayNumbersOnBar": false,
35
+ "hideLabel": false,
36
+ "hideTicks": false,
37
+ "size": 50,
38
+ "gridLines": false,
39
+ "enablePadding": false,
40
+ "min": "",
41
+ "max": "",
42
+ "labelColor": "#333",
43
+ "tickLabelColor": "#333",
44
+ "tickColor": "#333",
45
+ "rightHideAxis": true,
46
+ "rightAxisSize": 0,
47
+ "rightLabel": "",
48
+ "rightLabelOffsetSize": 0,
49
+ "rightAxisLabelColor": "#333",
50
+ "rightAxisTickLabelColor": "#333",
51
+ "rightAxisTickColor": "#333",
52
+ "numTicks": "",
53
+ "axisPadding": 0,
54
+ "scalePadding": 10,
55
+ "tickRotation": 0,
56
+ "anchors": [],
57
+ "shoMissingDataLabel": true,
58
+ "showMissingDataLine": true,
59
+ "categories": [],
60
+ "labelPlacement": "Below Bar"
61
+ },
62
+ "boxplot": {
63
+ "plots": [],
64
+ "borders": "true",
65
+ "firstQuartilePercentage": 25,
66
+ "thirdQuartilePercentage": 75,
67
+ "boxWidthPercentage": 40,
68
+ "plotOutlierValues": false,
69
+ "plotNonOutlierValues": true,
70
+ "legend": { "showHowToReadText": false, "howToReadText": "" },
71
+ "labels": {
72
+ "q1": "Lower Quartile",
73
+ "q2": "q2",
74
+ "q3": "Upper Quartile",
75
+ "q4": "q4",
76
+ "minimum": "Minimum",
77
+ "maximum": "Maximum",
78
+ "mean": "Mean",
79
+ "median": "Median",
80
+ "sd": "Standard Deviation",
81
+ "iqr": "Interquartile Range",
82
+ "total": "Total",
83
+ "outliers": "Outliers",
84
+ "values": "Values",
85
+ "lowerBounds": "Lower Bounds",
86
+ "upperBounds": "Upper Bounds"
87
+ }
88
+ },
89
+ "topAxis": { "hasLine": false },
90
+ "isLegendValue": false,
91
+ "barThickness": "0.37",
92
+ "barHeight": 25,
93
+ "barSpace": 15,
94
+ "heights": { "vertical": 300, "horizontal": 308 },
95
+ "xAxis": {
96
+ "sortDates": false,
97
+ "anchors": [],
98
+ "type": "categorical",
99
+ "showTargetLabel": true,
100
+ "targetLabel": "Target",
101
+ "hideAxis": false,
102
+ "hideLabel": false,
103
+ "hideTicks": false,
104
+ "size": 75,
105
+ "tickRotation": 0,
106
+ "min": "",
107
+ "max": "",
108
+ "labelColor": "#333",
109
+ "tickLabelColor": "#333",
110
+ "tickColor": "#333",
111
+ "numTicks": "",
112
+ "labelOffset": 65,
113
+ "axisPadding": 200,
114
+ "target": 0,
115
+ "maxTickRotation": 45,
116
+ "padding": 0,
117
+ "dataKey": "Race",
118
+ "tickWidthMax": 31
119
+ },
120
+ "table": {
121
+ "label": "Data Table",
122
+ "expanded": true,
123
+ "limitHeight": false,
124
+ "height": "",
125
+ "caption": "",
126
+ "showDownloadUrl": false,
127
+ "showDataTableLink": true,
128
+ "showDownloadLinkBelow": true,
129
+ "indexLabel": "",
130
+ "download": true,
131
+ "showVertical": true,
132
+ "dateDisplayFormat": "",
133
+ "showMissingDataLabel": true,
134
+ "showSuppressedSymbol": true,
135
+ "show": true
136
+ },
137
+ "orientation": "horizontal",
138
+ "color": "pinkpurple",
139
+ "columns": {},
140
+ "legend": {
141
+ "hide": false,
142
+ "behavior": "isolate",
143
+ "axisAlign": true,
144
+ "singleRow": true,
145
+ "colorCode": "",
146
+ "reverseLabelOrder": false,
147
+ "description": "",
148
+ "dynamicLegend": false,
149
+ "dynamicLegendDefaultText": "Show All",
150
+ "dynamicLegendItemLimit": 5,
151
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
152
+ "dynamicLegendChartMessage": "Select Options from the Legend",
153
+ "label": "",
154
+ "lineMode": false,
155
+ "verticalSorted": false,
156
+ "highlightOnHover": false,
157
+ "hideSuppressedLabels": false,
158
+ "hideSuppressionLink": false,
159
+ "seriesHighlight": [],
160
+ "style": "circles",
161
+ "subStyle": "linear blocks",
162
+ "tickRotation": "",
163
+ "hideBorder": { "side": false, "topBottom": true }
164
+ },
165
+ "brush": { "height": 25, "active": false },
166
+ "exclusions": { "active": false, "keys": [] },
167
+ "palette": "qualitative-bold",
168
+ "isPaletteReversed": false,
169
+ "twoColor": { "palette": "monochrome-1", "isPaletteReversed": false },
170
+ "labels": false,
171
+ "dataFormat": {
172
+ "commas": false,
173
+ "prefix": "",
174
+ "suffix": "",
175
+ "abbreviated": false,
176
+ "bottomSuffix": "",
177
+ "bottomPrefix": "",
178
+ "bottomAbbreviated": false
179
+ },
180
+ "confidenceKeys": {},
181
+ "visual": {
182
+ "border": true,
183
+ "accent": true,
184
+ "background": true,
185
+ "verticalHoverLine": false,
186
+ "horizontalHoverLine": false
187
+ },
188
+ "useLogScale": false,
189
+ "filterBehavior": "Filter Change",
190
+ "highlightedBarValues": [],
191
+ "series": [{ "dataKey": "Age-adjusted rate", "type": "Bar", "axis": "Left", "tooltip": true }],
192
+ "tooltips": { "opacity": 90, "singleSeries": false, "dateDisplayFormat": "" },
193
+ "forestPlot": {
194
+ "startAt": 0,
195
+ "colors": { "line": "", "shape": "" },
196
+ "lineOfNoEffect": { "show": true },
197
+ "type": "",
198
+ "pooledResult": { "diamondHeight": 5, "column": "" },
199
+ "estimateField": "",
200
+ "estimateRadius": "",
201
+ "shape": "square",
202
+ "rowHeight": 20,
203
+ "description": { "show": true, "text": "description", "location": 0 },
204
+ "result": { "show": true, "text": "result", "location": 100 },
205
+ "radius": { "min": 2, "max": 10, "scalingColumn": "" },
206
+ "regression": { "lower": 0, "upper": 0, "estimateField": 0 },
207
+ "leftWidthOffset": 0,
208
+ "rightWidthOffset": 0,
209
+ "showZeroLine": false,
210
+ "leftLabel": "",
211
+ "rightLabel": ""
212
+ },
213
+ "area": { "isStacked": false },
214
+ "sankey": {
215
+ "title": { "defaultColor": "black" },
216
+ "iterations": 1,
217
+ "rxValue": 0.9,
218
+ "overallSize": { "width": 900, "height": 700 },
219
+ "margin": { "margin_y": 25, "margin_x": 0 },
220
+ "nodeSize": { "nodeWidth": 26, "nodeHeight": 40 },
221
+ "nodePadding": 55,
222
+ "nodeFontColor": "black",
223
+ "nodeColor": { "default": "#ff8500", "inactive": "#808080" },
224
+ "linkColor": { "default": "#ffc900", "inactive": "#D3D3D3" },
225
+ "opacity": {
226
+ "nodeOpacityDefault": 1,
227
+ "nodeOpacityInactive": 0.1,
228
+ "LinkOpacityDefault": 1,
229
+ "LinkOpacityInactive": 0.1
230
+ },
231
+ "storyNodeFontColor": "#006778",
232
+ "storyNodeText": [],
233
+ "nodeValueStyle": { "textBefore": "(", "textAfter": ")" },
234
+ "data": []
235
+ },
236
+ "datasets": {},
237
+ "visualizationType": "Bar",
238
+ "data": [
239
+ { "Race": "Hispanic or Latino", "Age-adjusted rate": "644.2" },
240
+ { "Race": "Non-Hispanic American Indian", "Age-adjusted rate": "636.1" },
241
+ { "Race": "Non-Hispanic Black", "Age-adjusted rate": "563.7" },
242
+ { "Race": "Non-Hispanic Asian or Pacific Islander", "Age-adjusted rate": "202.5" },
243
+ { "Race": "Non-Hispanic White", "Age-adjusted rate": "183.6" }
244
+ ],
245
+ "dataFileName": "valid-data-chart.csv",
246
+ "dataFileSourceType": "file",
247
+ "formattedData": [
248
+ { "Race": "Hispanic or Latino", "Age-adjusted rate": "644.2" },
249
+ { "Race": "Non-Hispanic American Indian", "Age-adjusted rate": "636.1" },
250
+ { "Race": "Non-Hispanic Black", "Age-adjusted rate": "563.7" },
251
+ { "Race": "Non-Hispanic Asian or Pacific Islander", "Age-adjusted rate": "202.5" },
252
+ { "Race": "Non-Hispanic White", "Age-adjusted rate": "183.6" }
253
+ ],
254
+ "dataDescription": { "horizontal": false, "series": false },
255
+ "version": "4.24.10",
256
+ "dynamicMarginTop": 0
257
+ }
@@ -0,0 +1,261 @@
1
+ {
2
+ "annotations": [],
3
+ "type": "chart",
4
+ "debugSvg": false,
5
+ "chartMessage": { "noData": "No Data Available" },
6
+ "title": "",
7
+ "showTitle": true,
8
+ "showDownloadMediaButton": false,
9
+ "theme": "theme-blue",
10
+ "animate": false,
11
+ "fontSize": "medium",
12
+ "lineDatapointStyle": "hover",
13
+ "lineDatapointColor": "Same as Line",
14
+ "barHasBorder": "false",
15
+ "isLollipopChart": false,
16
+ "lollipopShape": "circle",
17
+ "lollipopColorStyle": "two-tone",
18
+ "visualizationSubType": "regular",
19
+ "barStyle": "flat",
20
+ "roundingStyle": "standard",
21
+ "tipRounding": "top",
22
+ "isResponsiveTicks": false,
23
+ "general": {
24
+ "annotationDropdownText": "Annotations",
25
+ "showDownloadButton": false,
26
+ "showMissingDataLabel": true,
27
+ "showSuppressedSymbol": true,
28
+ "hideNullValue": true
29
+ },
30
+ "padding": { "left": 5, "right": 5 },
31
+ "preliminaryData": [],
32
+ "yAxis": {
33
+ "hideAxis": false,
34
+ "displayNumbersOnBar": false,
35
+ "hideLabel": false,
36
+ "hideTicks": false,
37
+ "size": 50,
38
+ "gridLines": false,
39
+ "enablePadding": false,
40
+ "min": "",
41
+ "max": "",
42
+ "labelColor": "#333",
43
+ "tickLabelColor": "#333",
44
+ "tickColor": "#333",
45
+ "rightHideAxis": true,
46
+ "rightAxisSize": 0,
47
+ "rightLabel": "",
48
+ "rightLabelOffsetSize": 0,
49
+ "rightAxisLabelColor": "#333",
50
+ "rightAxisTickLabelColor": "#333",
51
+ "rightAxisTickColor": "#333",
52
+ "numTicks": "",
53
+ "axisPadding": 0,
54
+ "scalePadding": 10,
55
+ "tickRotation": 0,
56
+ "anchors": [],
57
+ "shoMissingDataLabel": true,
58
+ "showMissingDataLine": true,
59
+ "categories": [],
60
+ "dataKey": "Age-adjusted rate"
61
+ },
62
+ "boxplot": {
63
+ "plots": [],
64
+ "borders": "true",
65
+ "firstQuartilePercentage": 25,
66
+ "thirdQuartilePercentage": 75,
67
+ "boxWidthPercentage": 40,
68
+ "plotOutlierValues": false,
69
+ "plotNonOutlierValues": true,
70
+ "legend": { "showHowToReadText": false, "howToReadText": "" },
71
+ "labels": {
72
+ "q1": "Lower Quartile",
73
+ "q2": "q2",
74
+ "q3": "Upper Quartile",
75
+ "q4": "q4",
76
+ "minimum": "Minimum",
77
+ "maximum": "Maximum",
78
+ "mean": "Mean",
79
+ "median": "Median",
80
+ "sd": "Standard Deviation",
81
+ "iqr": "Interquartile Range",
82
+ "total": "Total",
83
+ "outliers": "Outliers",
84
+ "values": "Values",
85
+ "lowerBounds": "Lower Bounds",
86
+ "upperBounds": "Upper Bounds"
87
+ }
88
+ },
89
+ "topAxis": { "hasLine": false },
90
+ "isLegendValue": false,
91
+ "barThickness": "0.37",
92
+ "barHeight": 25,
93
+ "barSpace": 15,
94
+ "heights": { "vertical": 300, "horizontal": 750 },
95
+ "xAxis": {
96
+ "sortDates": false,
97
+ "anchors": [],
98
+ "type": "categorical",
99
+ "showTargetLabel": true,
100
+ "targetLabel": "Target",
101
+ "hideAxis": false,
102
+ "hideLabel": false,
103
+ "hideTicks": false,
104
+ "size": 35,
105
+ "tickRotation": 0,
106
+ "min": "",
107
+ "max": "",
108
+ "labelColor": "#333",
109
+ "tickLabelColor": "#333",
110
+ "tickColor": "#333",
111
+ "numTicks": "",
112
+ "labelOffset": 0,
113
+ "axisPadding": 200,
114
+ "target": 0,
115
+ "maxTickRotation": 45,
116
+ "padding": 0,
117
+ "dataKey": "Race",
118
+ "tickWidthMax": 307
119
+ },
120
+ "table": {
121
+ "label": "Data Table",
122
+ "expanded": true,
123
+ "limitHeight": false,
124
+ "height": "",
125
+ "caption": "",
126
+ "showDownloadUrl": false,
127
+ "showDataTableLink": true,
128
+ "showDownloadLinkBelow": true,
129
+ "indexLabel": "",
130
+ "download": true,
131
+ "showVertical": true,
132
+ "dateDisplayFormat": "",
133
+ "showMissingDataLabel": true,
134
+ "showSuppressedSymbol": true,
135
+ "show": true
136
+ },
137
+ "orientation": "vertical",
138
+ "color": "pinkpurple",
139
+ "columns": {},
140
+ "legend": {
141
+ "hide": false,
142
+ "behavior": "isolate",
143
+ "axisAlign": true,
144
+ "singleRow": true,
145
+ "colorCode": "",
146
+ "reverseLabelOrder": false,
147
+ "description": "",
148
+ "dynamicLegend": false,
149
+ "dynamicLegendDefaultText": "Show All",
150
+ "dynamicLegendItemLimit": 5,
151
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
152
+ "dynamicLegendChartMessage": "Select Options from the Legend",
153
+ "label": "",
154
+ "lineMode": false,
155
+ "verticalSorted": false,
156
+ "highlightOnHover": false,
157
+ "hideSuppressedLabels": false,
158
+ "hideSuppressionLink": false,
159
+ "seriesHighlight": [],
160
+ "style": "circles",
161
+ "subStyle": "linear blocks",
162
+ "tickRotation": "",
163
+ "hideBorder": { "side": false, "topBottom": false },
164
+ "position": "bottom"
165
+ },
166
+ "brush": { "height": 25, "active": false },
167
+ "exclusions": { "active": false, "keys": [] },
168
+ "palette": "qualitative-bold",
169
+ "isPaletteReversed": false,
170
+ "twoColor": { "palette": "monochrome-1", "isPaletteReversed": false },
171
+ "labels": false,
172
+ "dataFormat": {
173
+ "commas": false,
174
+ "prefix": "",
175
+ "suffix": "",
176
+ "abbreviated": false,
177
+ "bottomSuffix": "",
178
+ "bottomPrefix": "",
179
+ "bottomAbbreviated": false
180
+ },
181
+ "confidenceKeys": {},
182
+ "visual": {
183
+ "border": true,
184
+ "accent": true,
185
+ "background": true,
186
+ "verticalHoverLine": false,
187
+ "horizontalHoverLine": false
188
+ },
189
+ "useLogScale": false,
190
+ "filterBehavior": "Filter Change",
191
+ "highlightedBarValues": [],
192
+ "series": [{ "dataKey": "Age-adjusted rate", "type": "Line", "axis": "Left", "tooltip": true }],
193
+ "tooltips": { "opacity": 90, "singleSeries": false, "dateDisplayFormat": "" },
194
+ "forestPlot": {
195
+ "startAt": 0,
196
+ "colors": { "line": "", "shape": "" },
197
+ "lineOfNoEffect": { "show": true },
198
+ "type": "",
199
+ "pooledResult": { "diamondHeight": 5, "column": "" },
200
+ "estimateField": "",
201
+ "estimateRadius": "",
202
+ "shape": "square",
203
+ "rowHeight": 20,
204
+ "description": { "show": true, "text": "description", "location": 0 },
205
+ "result": { "show": true, "text": "result", "location": 100 },
206
+ "radius": { "min": 2, "max": 10, "scalingColumn": "" },
207
+ "regression": { "lower": 0, "upper": 0, "estimateField": 0 },
208
+ "leftWidthOffset": 0,
209
+ "rightWidthOffset": 0,
210
+ "showZeroLine": false,
211
+ "leftLabel": "",
212
+ "rightLabel": ""
213
+ },
214
+ "area": { "isStacked": false },
215
+ "sankey": {
216
+ "title": { "defaultColor": "black" },
217
+ "iterations": 1,
218
+ "rxValue": 0.9,
219
+ "overallSize": { "width": 900, "height": 700 },
220
+ "margin": { "margin_y": 25, "margin_x": 0 },
221
+ "nodeSize": { "nodeWidth": 26, "nodeHeight": 40 },
222
+ "nodePadding": 55,
223
+ "nodeFontColor": "black",
224
+ "nodeColor": { "default": "#ff8500", "inactive": "#808080" },
225
+ "linkColor": { "default": "#ffc900", "inactive": "#D3D3D3" },
226
+ "opacity": {
227
+ "nodeOpacityDefault": 1,
228
+ "nodeOpacityInactive": 0.1,
229
+ "LinkOpacityDefault": 1,
230
+ "LinkOpacityInactive": 0.1
231
+ },
232
+ "storyNodeFontColor": "#006778",
233
+ "storyNodeText": [],
234
+ "nodeValueStyle": { "textBefore": "(", "textAfter": ")" },
235
+ "data": []
236
+ },
237
+ "datasets": {},
238
+ "visualizationType": "Line",
239
+ "data": [
240
+ { "Race": "Hispanic or Latino", "Age-adjusted rate": "644.2" },
241
+ { "Race": "Non-Hispanic American Indian", "Age-adjusted rate": "636.1" },
242
+ { "Race": "Non-Hispanic Black", "Age-adjusted rate": "563.7" },
243
+ { "Race": "Non-Hispanic Asian or Pacific Islander", "Age-adjusted rate": "202.5" },
244
+ { "Race": "Non-Hispanic White", "Age-adjusted rate": "183.6" }
245
+ ],
246
+ "dataFileName": "valid-data-chart.csv",
247
+ "dataFileSourceType": "file",
248
+ "formattedData": [
249
+ { "Race": "Hispanic or Latino", "Age-adjusted rate": "644.2" },
250
+ { "Race": "Non-Hispanic American Indian", "Age-adjusted rate": "636.1" },
251
+ { "Race": "Non-Hispanic Black", "Age-adjusted rate": "563.7" },
252
+ { "Race": "Non-Hispanic Asian or Pacific Islander", "Age-adjusted rate": "202.5" },
253
+ { "Race": "Non-Hispanic White", "Age-adjusted rate": "183.6" }
254
+ ],
255
+ "dataDescription": { "horizontal": false, "series": false },
256
+ "version": "4.24.10",
257
+ "superTitle": "",
258
+ "description": "subtext subtext subtext subtext subtext subtext subtext subtext subtext subtext subtext subtext subtext subtext",
259
+ "footnotes": "footnotes",
260
+ "dynamicMarginTop": 0
261
+ }