@cdc/chart 4.26.7 → 4.26.10

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 (255) hide show
  1. package/CONFIG.md +502 -368
  2. package/dist/cdcchart-CYc-Kayd.es.js +22488 -0
  3. package/dist/cdcchart-DCKn8NmI.es.js +20695 -0
  4. package/dist/cdcchart-Dyui9nk_.es.js +45828 -0
  5. package/dist/cdcchart.js +4 -97406
  6. package/examples/__data__/vega-remote-data.json +6 -0
  7. package/examples/dendrogram.json +18 -0
  8. package/examples/feature/bar/bar-chart-race-annual-change.json +68 -0
  9. package/examples/feature/heatmap/average-age-categorical.json +2 -2
  10. package/examples/feature/heatmap/calendar-heatmap.json +2 -2
  11. package/examples/feature/heatmap/cell-values-bottom-axis.json +2 -2
  12. package/examples/feature/heatmap/sparse-aggregation.json +2 -2
  13. package/examples/feature/line/line-chart-race.json +50 -0
  14. package/examples/feature/sankey/sankey-example-data.json +40 -1441
  15. package/examples/feature/sankey/sankey_chart_data.csv +9 -20
  16. package/examples/network.json +31 -0
  17. package/examples/private/box-plot.json +573 -0
  18. package/examples/private/custom-color-issue.json +625 -0
  19. package/examples/private/custom-colors.json +522 -0
  20. package/examples/private/cutoff.json +10750 -0
  21. package/examples/private/overlay-legend.json +485 -0
  22. package/examples/private/pie-test.json +469 -0
  23. package/examples/vega-remote.json +22 -0
  24. package/package.json +11 -5
  25. package/src/CdcChartComponent.tsx +405 -208
  26. package/src/_stories/Chart.BarRace.stories.tsx +443 -0
  27. package/src/_stories/Chart.BoxPlotNumericSort.stories.tsx +189 -0
  28. package/src/_stories/Chart.BoxPlotStatsParity.stories.tsx +207 -0
  29. package/src/_stories/Chart.ColorDistribution.stories.tsx +299 -0
  30. package/src/_stories/Chart.DataCutoff.stories.tsx +147 -0
  31. package/src/_stories/Chart.DataTableDownloadFilename.stories.tsx +60 -0
  32. package/src/_stories/Chart.Dendrogram.stories.tsx +373 -0
  33. package/src/_stories/Chart.Forecast.CILegend.stories.tsx +236 -0
  34. package/src/_stories/Chart.HeatMap.stories.tsx +170 -4
  35. package/src/_stories/Chart.Legend.AxisAlign.stories.tsx +119 -0
  36. package/src/_stories/Chart.LineRace.stories.tsx +149 -0
  37. package/src/_stories/Chart.Network.stories.tsx +432 -0
  38. package/src/_stories/Chart.PaletteConversion.Editor.stories.tsx +208 -0
  39. package/src/_stories/Chart.Patterns.smoke.stories.tsx +31 -0
  40. package/src/_stories/Chart.PercentageValue.stories.tsx +311 -0
  41. package/src/_stories/Chart.PieLabels.stories.tsx +4 -2
  42. package/src/_stories/Chart.RankByValueMutation.stories.tsx +206 -0
  43. package/src/_stories/Chart.RequiredFields.stories.tsx +681 -0
  44. package/src/_stories/Chart.Sankey.stories.tsx +417 -0
  45. package/src/_stories/Chart.SeriesColorAssignments.stories.tsx +47 -0
  46. package/src/_stories/Chart.SmallMultiplesNumericTileOrder.stories.tsx +137 -0
  47. package/src/_stories/Chart.TooltipSeriesLabels.stories.tsx +43 -0
  48. package/src/_stories/Chart.VegaRemoteData.stories.tsx +31 -0
  49. package/src/_stories/ChartAnnotation.Editor.stories.tsx +78 -0
  50. package/src/_stories/ChartAxisTitles.smoke.stories.tsx +48 -0
  51. package/src/_stories/ChartBar.Editor.stories.tsx +499 -57
  52. package/src/_stories/ChartBrush.Editor.stories.tsx +46 -67
  53. package/src/_stories/ChartBrush.Regression.stories.tsx +135 -0
  54. package/src/_stories/ChartEditor.Editor.stories.tsx +33 -3
  55. package/src/_stories/ChartLine.EffectCompatibility.stories.tsx +120 -0
  56. package/src/_stories/_mock/annotation_event-line_mock.json +2 -2
  57. package/src/_stories/_mock/editor-test-configs.json +20 -10
  58. package/src/_stories/_mock/editor-test-datasets.json +38 -42
  59. package/src/_stories/_mock/heatmap-average-age-categorical.json +2 -2
  60. package/src/_stories/_mock/heatmap.json +2 -2
  61. package/src/_stories/_mock/legend-axis-align-stacked-bar.json +125 -0
  62. package/src/_stories/_mock/sankey_mock.json +23 -27
  63. package/src/components/Annotations/components/AnnotationDraggable.styles.css +52 -0
  64. package/src/components/Annotations/components/AnnotationDraggable.tsx +639 -139
  65. package/src/components/Annotations/components/AnnotationDropdown.styles.css +44 -4
  66. package/src/components/Annotations/components/AnnotationDropdown.tsx +10 -32
  67. package/src/components/Annotations/helpers/resolveAnnotationLayout.ts +212 -0
  68. package/src/components/Annotations/tests/AnnotationDraggable.test.tsx +612 -19
  69. package/src/components/Annotations/tests/AnnotationDropdown.test.tsx +50 -0
  70. package/src/components/Annotations/tests/resolveAnnotationLayout.test.ts +203 -0
  71. package/src/components/Axis/BottomAxis.tsx +1 -1
  72. package/src/components/Axis/Categorical.Axis.tsx +3 -3
  73. package/src/components/Axis/RightAxis.tsx +21 -13
  74. package/src/components/BarChart/components/BarChart.Horizontal.tsx +38 -6
  75. package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +12 -3
  76. package/src/components/BarChart/components/BarChart.StackedVertical.test.ts +28 -0
  77. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +29 -25
  78. package/src/components/BarChart/components/BarChart.Vertical.tsx +37 -26
  79. package/src/components/BarChart/components/PortionPatternOverlay.tsx +61 -0
  80. package/src/components/BarChart/components/context.tsx +6 -0
  81. package/src/components/BarChart/helpers/getPatternUrl.ts +2 -5
  82. package/src/components/BarChart/helpers/index.ts +8 -0
  83. package/src/components/BarChart/helpers/portionPattern.ts +243 -0
  84. package/src/components/BarChart/helpers/tests/addMinimumBarHeights.test.ts +42 -0
  85. package/src/components/BarChart/helpers/tests/getPatternUrl.test.ts +13 -0
  86. package/src/components/BarChart/helpers/tests/portionPattern.test.ts +280 -0
  87. package/src/components/BarChart/helpers/tests/useBarChart.test.tsx +104 -0
  88. package/src/components/BarChart/helpers/useBarChart.ts +60 -59
  89. package/src/components/BarChartRace/BarChartRace.test.tsx +199 -0
  90. package/src/components/BarChartRace/BarChartRace.tsx +230 -0
  91. package/src/components/BarChartRace/BarChartRaceFallback.test.tsx +61 -0
  92. package/src/components/BarChartRace/BarChartRaceFallback.tsx +48 -0
  93. package/src/components/BarChartRace/bar-chart-race.css +160 -0
  94. package/src/components/BarChartRace/helpers.test.ts +114 -0
  95. package/src/components/BarChartRace/helpers.ts +185 -0
  96. package/src/components/BarChartRace/index.ts +3 -0
  97. package/src/components/BoxPlot/helpers/index.ts +11 -82
  98. package/src/components/Brush/BrushSelector.tsx +9 -23
  99. package/src/components/Brush/MiniChartPreview.tsx +33 -1
  100. package/src/components/Dendrogram/components/Dendrogram.tsx +374 -0
  101. package/src/components/Dendrogram/dendrogram.css +113 -0
  102. package/src/components/Dendrogram/helpers/layoutDendrogram.test.ts +95 -0
  103. package/src/components/Dendrogram/helpers/layoutDendrogram.ts +56 -0
  104. package/src/components/Dendrogram/helpers/prepareDendrogramData.test.ts +135 -0
  105. package/src/components/Dendrogram/helpers/prepareDendrogramData.ts +166 -0
  106. package/src/components/Dendrogram/helpers/resolveDendrogramLabels.test.ts +196 -0
  107. package/src/components/Dendrogram/helpers/resolveDendrogramLabels.ts +418 -0
  108. package/src/components/Dendrogram/index.tsx +1 -0
  109. package/src/components/Dendrogram/types/index.ts +66 -0
  110. package/src/components/EditorPanel/EditorPanel.tsx +1005 -760
  111. package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +50 -5
  112. package/src/components/EditorPanel/components/Panels/Panel.Dendrogram.css +10 -0
  113. package/src/components/EditorPanel/components/Panels/Panel.Dendrogram.tsx +211 -0
  114. package/src/components/EditorPanel/components/Panels/Panel.ForestPlotSettings.tsx +19 -8
  115. package/src/components/EditorPanel/components/Panels/Panel.General.tsx +88 -54
  116. package/src/components/EditorPanel/components/Panels/Panel.Network.css +9 -0
  117. package/src/components/EditorPanel/components/Panels/Panel.Network.tsx +202 -0
  118. package/src/components/EditorPanel/components/Panels/Panel.PatternSettings.tsx +233 -33
  119. package/src/components/EditorPanel/components/Panels/Panel.Radar.tsx +6 -1
  120. package/src/components/EditorPanel/components/Panels/Panel.Sankey.tsx +89 -105
  121. package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +2 -2
  122. package/src/components/EditorPanel/components/Panels/Panel.SmallMultiples.tsx +1 -1
  123. package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +8 -66
  124. package/src/components/EditorPanel/components/Panels/RacingControls.test.tsx +131 -0
  125. package/src/components/EditorPanel/components/Panels/RacingControls.tsx +185 -0
  126. package/src/components/EditorPanel/components/Panels/SeriesColorAssignments.tsx +2 -2
  127. package/src/components/EditorPanel/components/Panels/index.tsx +4 -0
  128. package/src/components/EditorPanel/helpers/getVisualizationTypeConfigUpdate.ts +20 -7
  129. package/src/components/EditorPanel/helpers/tests/getVisualizationTypeConfigUpdate.test.ts +25 -2
  130. package/src/components/EditorPanel/helpers/updateFieldRankByValue.ts +2 -1
  131. package/src/components/EditorPanel/useEditorPermissions.test.tsx +62 -0
  132. package/src/components/EditorPanel/useEditorPermissions.ts +70 -24
  133. package/src/components/Forecasting/Forecasting.tsx +15 -6
  134. package/src/components/HeatMap/components/HeatMap.tsx +511 -178
  135. package/src/components/HeatMap/heatmap.constants.ts +7 -3
  136. package/src/components/HeatMap/heatmap.css +101 -2
  137. package/src/components/HeatMap/helpers/layout.ts +80 -0
  138. package/src/components/HeatMap/tests/HeatMap.test.tsx +339 -16
  139. package/src/components/HeatMap/tests/helpers.test.ts +79 -0
  140. package/src/components/Legend/Legend.Component.tsx +110 -90
  141. package/src/components/Legend/LegendGroup/LegendGroup.styles.css +7 -0
  142. package/src/components/Legend/LegendGroup/LegendGroup.tsx +47 -34
  143. package/src/components/Legend/helpers/createFormatLabels.test.ts +226 -0
  144. package/src/components/Legend/helpers/createFormatLabels.tsx +45 -51
  145. package/src/components/LineChart/components/LineChart.Circle.tsx +3 -3
  146. package/src/components/LineChart/helpers.test.ts +126 -38
  147. package/src/components/LineChart/helpers.ts +9 -4
  148. package/src/components/LineChart/index.tsx +69 -24
  149. package/src/components/LineChart/tests/LineChart.test.tsx +630 -0
  150. package/src/components/LineChartRace/LineChartRace.test.tsx +275 -0
  151. package/src/components/LineChartRace/LineChartRace.tsx +134 -0
  152. package/src/components/LineChartRace/LineChartRaceFallback.tsx +28 -0
  153. package/src/components/LineChartRace/helpers.test.ts +88 -0
  154. package/src/components/LineChartRace/helpers.ts +157 -0
  155. package/src/components/LineChartRace/index.ts +3 -0
  156. package/src/components/LineChartRace/line-chart-race.css +16 -0
  157. package/src/components/LinearChart/ValueAxisAnchors.tsx +58 -0
  158. package/src/components/LinearChart/VisualizationRenderer.tsx +18 -23
  159. package/src/components/LinearChart/tests/LinearChart.test.tsx +412 -13
  160. package/src/components/LinearChart/tests/VisualizationRenderer.test.tsx +141 -0
  161. package/src/components/LinearChart/tests/mockConfigContext.ts +2 -1
  162. package/src/components/LinearChart.tsx +81 -51
  163. package/src/components/Network/components/Network.tsx +372 -0
  164. package/src/components/Network/helpers/layoutNetwork.test.ts +68 -0
  165. package/src/components/Network/helpers/layoutNetwork.ts +87 -0
  166. package/src/components/Network/helpers/prepareNetworkData.test.ts +116 -0
  167. package/src/components/Network/helpers/prepareNetworkData.ts +101 -0
  168. package/src/components/Network/helpers/resolveNetworkLabels.test.ts +112 -0
  169. package/src/components/Network/helpers/resolveNetworkLabels.ts +206 -0
  170. package/src/components/Network/index.tsx +3 -0
  171. package/src/components/Network/network.css +107 -0
  172. package/src/components/Network/types/index.ts +56 -0
  173. package/src/components/PairedBarChart.jsx +5 -10
  174. package/src/components/PairedBarChart.test.tsx +71 -0
  175. package/src/components/PieChart/PieChart.tsx +9 -8
  176. package/src/components/RacingChartRenderer.tsx +44 -0
  177. package/src/components/Regions/components/Regions.test.tsx +179 -0
  178. package/src/components/Regions/components/Regions.tsx +104 -69
  179. package/src/components/Regions/index.tsx +2 -3
  180. package/src/components/Sankey/components/Sankey.tsx +264 -437
  181. package/src/components/Sankey/helpers/getSankeyTooltip.ts +12 -0
  182. package/src/components/Sankey/helpers/prepareSankeyData.test.ts +71 -0
  183. package/src/components/Sankey/helpers/prepareSankeyData.ts +90 -0
  184. package/src/components/Sankey/sankey.scss +57 -116
  185. package/src/components/Sankey/types/index.ts +41 -4
  186. package/src/components/ScatterPlot/ScatterPlot.jsx +28 -4
  187. package/src/components/ScatterPlot/ScatterPlot.test.tsx +60 -0
  188. package/src/components/SmallMultiples/SmallMultiples.tsx +12 -12
  189. package/src/components/SmallMultiples/tests/SmallMultipleTile.test.tsx +7 -5
  190. package/src/components/raceTiming.ts +18 -0
  191. package/src/data/initial-state.js +77 -31
  192. package/src/helpers/applyChartTypeContract.ts +71 -0
  193. package/src/helpers/axisLabelFontSize.ts +2 -2
  194. package/src/helpers/boxPlotStats.ts +60 -0
  195. package/src/helpers/bumpChartTooltip.ts +2 -1
  196. package/src/helpers/calculateHorizontalBarCategoryLabelWidth.test.ts +37 -0
  197. package/src/helpers/calculateHorizontalBarCategoryLabelWidth.ts +3 -2
  198. package/src/helpers/calculateRightYAxisWidth.ts +60 -0
  199. package/src/helpers/colorAssignmentHelpers.ts +2 -2
  200. package/src/helpers/createNewChartConfig.ts +56 -0
  201. package/src/helpers/dataDrivenYAxisCategories.ts +18 -0
  202. package/src/helpers/forecastLegend.ts +88 -0
  203. package/src/helpers/getBoxPlotConfig.ts +18 -37
  204. package/src/helpers/getChartTypeDefaultPalette.ts +29 -0
  205. package/src/helpers/getColorCodeCategoryColorMap.ts +26 -0
  206. package/src/helpers/getColorScale.ts +31 -22
  207. package/src/helpers/getDynamicYAxisCategories.ts +69 -0
  208. package/src/helpers/getMinMax.ts +9 -7
  209. package/src/helpers/getNewRuntime.ts +5 -2
  210. package/src/helpers/getStackedSeriesMax.ts +51 -0
  211. package/src/helpers/getV21ChartDistributionColors.ts +57 -0
  212. package/src/helpers/handleRankByValue.ts +15 -15
  213. package/src/helpers/seriesColumnSettings.ts +10 -0
  214. package/src/helpers/sizeHelpers.ts +4 -3
  215. package/src/helpers/smallMultiplesHelpers.ts +10 -13
  216. package/src/helpers/tests/applyChartTypeContract.test.ts +37 -0
  217. package/src/helpers/tests/boxPlotStats.test.ts +31 -0
  218. package/src/helpers/tests/bumpChartTooltip.test.ts +29 -0
  219. package/src/helpers/tests/calculateRightYAxisWidth.test.ts +105 -0
  220. package/src/helpers/tests/countNumOfTicks.test.ts +11 -0
  221. package/src/helpers/tests/createNewChartConfig.test.ts +182 -0
  222. package/src/helpers/tests/getBoxPlotConfig.test.ts +70 -0
  223. package/src/helpers/tests/getColorCodeCategoryColorMap.test.ts +113 -0
  224. package/src/helpers/tests/getColorScale.test.ts +226 -1
  225. package/src/helpers/tests/getDynamicYAxisCategories.test.ts +61 -0
  226. package/src/helpers/tests/getMinMax.test.ts +41 -0
  227. package/src/helpers/tests/getStackedSeriesMax.test.ts +26 -0
  228. package/src/helpers/tests/handleRankByValue.test.ts +55 -37
  229. package/src/helpers/tests/seriesColumnSettings.test.ts +23 -0
  230. package/src/helpers/tests/smallMultiplesHelpers.test.ts +37 -1
  231. package/src/helpers/tests/tooltipHelpers.test.ts +80 -0
  232. package/src/helpers/tooltipHelpers.ts +16 -0
  233. package/src/hooks/tests/useTooltip.test.tsx +353 -1
  234. package/src/hooks/usePrefersReducedMotion.ts +22 -0
  235. package/src/hooks/useReduceData.ts +4 -36
  236. package/src/hooks/useScales.ts +15 -0
  237. package/src/hooks/useTooltip.tsx +95 -64
  238. package/src/scss/main.scss +74 -2
  239. package/src/store/chart.reducer.ts +4 -3
  240. package/src/test/CdcChart.dataTable.test.tsx +490 -16
  241. package/src/test/CdcChart.dendrogram.test.tsx +277 -0
  242. package/src/test/CdcChart.finalization.test.tsx +143 -0
  243. package/src/test/CdcChart.network.test.tsx +271 -0
  244. package/src/types/ChartConfig.ts +91 -54
  245. package/src/types/ChartContext.ts +5 -0
  246. package/src/types/Horizon.ts +1 -1
  247. package/LICENSE +0 -201
  248. package/dist/cdcchart-BWVIUcAF.es.js +0 -4802
  249. package/src/_stories/Chart.Sankey.smoke.stories.tsx +0 -62
  250. package/src/components/Sankey/components/ColumnList.tsx +0 -19
  251. package/src/components/Sankey/helpers/getSankeyTooltip.tsx +0 -34
  252. package/src/components/Sankey/useSankeyAlert.tsx +0 -60
  253. package/src/data/legacy-defaults.ts +0 -18
  254. package/src/helpers/ensureSpecialChartAxisTypes.ts +0 -11
  255. package/src/helpers/tests/ensureSpecialChartAxisTypes.test.ts +0 -30
@@ -1,1476 +1,75 @@
1
1
  {
2
- "annotations": [],
3
2
  "type": "chart",
4
- "debugSvg": false,
5
- "chartMessage": {
6
- "noData": "No Data Available"
7
- },
8
- "title": "",
3
+ "visualizationType": "Sankey",
4
+ "title": "Patient Care Pathway",
9
5
  "showTitle": true,
10
- "showDownloadMediaButton": false,
6
+ "enableTooltips": true,
11
7
  "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": "",
22
- "roundingStyle": "standard",
23
- "tipRounding": "top",
24
- "isResponsiveTicks": false,
25
- "general": {
26
- "annotationDropdownText": "Annotations",
27
- "showDownloadButton": false,
28
- "showMissingDataLabel": true,
29
- "showSuppressedSymbol": true,
30
- "showZeroValueData": true,
31
- "hideNullValue": true
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": 50,
44
- "gridLines": false,
45
- "enablePadding": false,
46
- "min": "",
47
- "max": "",
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": "",
59
- "axisPadding": 0,
60
- "scalePadding": 10,
61
- "tickRotation": 0,
62
- "anchors": [],
63
- "shoMissingDataLabel": true,
64
- "showMissingDataLine": true,
65
- "categories": []
66
- },
67
- "boxplot": {
68
- "plots": [],
69
- "borders": "true",
70
- "plotOutlierValues": false,
71
- "plotNonOutlierValues": true,
72
- "labels": {
73
- "q1": "Lower Quartile",
74
- "q2": "q2",
75
- "q3": "Upper Quartile",
76
- "q4": "q4",
77
- "minimum": "Minimum",
78
- "maximum": "Maximum",
79
- "mean": "Mean",
80
- "median": "Median",
81
- "sd": "Standard Deviation",
82
- "iqr": "Interquartile Range",
83
- "count": "Count",
84
- "outliers": "Outliers",
85
- "values": "Values",
86
- "lowerBounds": "Lower Bounds",
87
- "upperBounds": "Upper Bounds"
88
- }
89
- },
90
- "topAxis": {
91
- "hasLine": false
92
- },
93
- "isLegendValue": false,
94
- "barThickness": 0.35,
95
- "barHeight": 25,
96
- "barSpace": 15,
97
8
  "heights": {
98
- "vertical": "647",
9
+ "vertical": 500,
99
10
  "horizontal": 750
100
11
  },
101
- "xAxis": {
102
- "sortDates": false,
103
- "anchors": [],
104
- "type": "categorical",
105
- "showTargetLabel": true,
106
- "targetLabel": "Target",
107
- "hideAxis": false,
108
- "hideLabel": false,
109
- "hideTicks": false,
110
- "size": 75,
111
- "tickRotation": 0,
112
- "min": "",
113
- "max": "",
114
- "labelColor": "#333",
115
- "tickLabelColor": "#333",
116
- "tickColor": "#333",
117
- "numTicks": "",
118
- "labelOffset": 0,
119
- "axisPadding": 0,
120
- "target": 0,
121
- "maxTickRotation": 0,
122
- "padding": 5,
123
- "showYearsOnce": false,
124
- "sortByRecentDate": false
125
- },
126
- "table": {
127
- "label": "Data Table",
128
- "expanded": true,
129
- "limitHeight": false,
130
- "height": "",
131
- "caption": "",
132
- "showDownloadUrl": false,
133
- "showDataTableLink": true,
134
- "showDownloadLinkBelow": true,
135
- "indexLabel": "",
136
- "download": true,
137
- "showVertical": true,
138
- "dateDisplayFormat": "",
139
- "showMissingDataLabel": true,
140
- "showSuppressedSymbol": true,
141
- "show": true,
142
- "customTableConfig": true
143
- },
144
- "orientation": "vertical",
145
- "color": "pinkpurple",
146
- "columns": {},
147
- "legend": {
148
- "hide": false,
149
- "behavior": "isolate",
150
- "axisAlign": true,
151
- "singleRow": true,
152
- "colorCode": "",
153
- "reverseLabelOrder": false,
154
- "description": "",
155
- "dynamicLegend": false,
156
- "dynamicLegendDefaultText": "Show All",
157
- "dynamicLegendItemLimit": 5,
158
- "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
159
- "dynamicLegendChartMessage": "Select Options from the Legend",
160
- "label": "",
161
- "lineMode": false,
162
- "verticalSorted": false,
163
- "highlightOnHover": false,
164
- "hideSuppressedLabels": false,
165
- "hideSuppressionLink": false,
166
- "seriesHighlight": [],
167
- "style": "circles",
168
- "subStyle": "linear blocks",
169
- "tickRotation": "",
170
- "hideBorder": {
171
- "side": false,
172
- "topBottom": true
12
+ "general": {
13
+ "palette": {
14
+ "isReversed": true,
15
+ "version": "2.0",
16
+ "name": "sequential_bluereverse"
173
17
  }
174
18
  },
175
- "brush": {
176
- "height": 25,
177
- "active": false,
178
- "data": []
179
- },
180
- "exclusions": {
181
- "active": false,
182
- "keys": []
183
- },
184
- "palette": "qualitative-bold",
185
- "isPaletteReversed": false,
186
- "twoColor": {
187
- "palette": "monochrome-1",
188
- "isPaletteReversed": false
189
- },
190
- "labels": false,
191
- "dataFormat": {
192
- "commas": false,
193
- "prefix": "",
194
- "suffix": "",
195
- "abbreviated": false,
196
- "bottomSuffix": "",
197
- "bottomPrefix": "",
198
- "bottomAbbreviated": false
199
- },
200
- "confidenceKeys": {},
201
- "visual": {
202
- "border": true,
203
- "accent": true,
204
- "background": true,
205
- "verticalHoverLine": false,
206
- "horizontalHoverLine": false
207
- },
208
- "useLogScale": false,
209
- "filterBehavior": "Filter Change",
210
- "highlightedBarValues": [],
211
- "series": [],
212
- "tooltips": {
213
- "opacity": 90,
214
- "singleSeries": false,
215
- "dateDisplayFormat": ""
216
- },
217
- "forestPlot": {
218
- "startAt": 0,
219
- "colors": {
220
- "line": "",
221
- "shape": ""
222
- },
223
- "lineOfNoEffect": {
224
- "show": true
225
- },
226
- "type": "",
227
- "pooledResult": {
228
- "diamondHeight": 5,
229
- "column": ""
230
- },
231
- "estimateField": "",
232
- "estimateRadius": "",
233
- "shape": "square",
234
- "rowHeight": 20,
235
- "description": {
236
- "show": true,
237
- "text": "description",
238
- "location": 0
239
- },
240
- "result": {
241
- "show": true,
242
- "text": "result",
243
- "location": 100
244
- },
245
- "radius": {
246
- "min": 2,
247
- "max": 10,
248
- "scalingColumn": ""
249
- },
250
- "regression": {
251
- "lower": 0,
252
- "upper": 0,
253
- "estimateField": 0
254
- },
255
- "leftWidthOffset": 0,
256
- "rightWidthOffset": 0,
257
- "showZeroLine": false,
258
- "leftLabel": "",
259
- "rightLabel": ""
260
- },
261
- "area": {
262
- "isStacked": false
263
- },
19
+ "data": [
20
+ { "example_source": "Screened", "example_target": "Eligible", "example_value": 850 },
21
+ { "example_source": "Screened", "example_target": "Ineligible", "example_value": 150 },
22
+ { "example_source": "Eligible", "example_target": "Enrolled", "example_value": 700 },
23
+ { "example_source": "Eligible", "example_target": "Declined", "example_value": 150 },
24
+ { "example_source": "Enrolled", "example_target": "Completed Treatment", "example_value": 580 },
25
+ { "example_source": "Enrolled", "example_target": "Dropped Out", "example_value": 120 },
26
+ { "example_source": "Completed Treatment", "example_target": "Recovered", "example_value": 460 },
27
+ { "example_source": "Completed Treatment", "example_target": "Ongoing Care", "example_value": 120 }
28
+ ],
264
29
  "sankey": {
265
- "title": {
266
- "defaultColor": "black"
267
- },
268
30
  "iterations": 1,
269
31
  "rxValue": 0.9,
270
- "overallSize": {
271
- "width": 900,
272
- "height": 700
273
- },
32
+ "horizontalScrollWidth": 900,
274
33
  "margin": {
275
34
  "margin_y": 25,
276
35
  "margin_x": 0
277
36
  },
37
+ "columns": {
38
+ "source": "example_source",
39
+ "target": "example_target",
40
+ "value": "example_value"
41
+ },
278
42
  "nodeSize": {
279
- "nodeWidth": 26,
280
- "nodeHeight": 40
43
+ "nodeWidth": 26
281
44
  },
282
45
  "nodePadding": 55,
283
46
  "nodeFontColor": "black",
284
47
  "nodeColor": {
285
- "default": "#ff8500",
48
+ "default": "#005eaa",
286
49
  "inactive": "#808080"
287
50
  },
288
51
  "linkColor": {
289
- "default": "#ffc900",
52
+ "default": "#7bafd4",
290
53
  "inactive": "#D3D3D3"
291
54
  },
292
55
  "opacity": {
293
- "nodeOpacityDefault": 1,
56
+ "nodeOpacityDefault": 1.0,
294
57
  "nodeOpacityInactive": 0.1,
295
- "LinkOpacityDefault": 1,
58
+ "LinkOpacityDefault": 0.6,
296
59
  "LinkOpacityInactive": 0.1
297
60
  },
298
- "storyNodeFontColor": "#006778",
299
- "storyNodeText": [],
300
61
  "nodeValueStyle": {
301
62
  "textBefore": "(",
302
63
  "textAfter": ")"
303
- },
304
- "data": []
305
- },
306
- "enableTooltips": true,
307
- "suppressedData": [],
308
- "datasets": {},
309
- "visualizationType": "Sankey",
310
- "data": [
311
- {
312
- "links": [
313
- {
314
- "source": "Suicide EMS Responses",
315
- "target": "Dead at Scene",
316
- "value": 4088
317
- },
318
- {
319
- "source": "Suicide EMS Responses",
320
- "target": "Treated",
321
- "value": 438974
322
- },
323
- {
324
- "source": "Suicide EMS Responses",
325
- "target": "Assisted",
326
- "value": 5701
327
- },
328
- {
329
- "source": "Suicide EMS Responses",
330
- "target": "No patient contact",
331
- "value": 459
332
- },
333
- {
334
- "source": "Suicide EMS Responses",
335
- "target": "Refused evaluation care",
336
- "value": 12641
337
- },
338
- {
339
- "source": "Suicide EMS Responses",
340
- "target": "Evaluated no treatment required",
341
- "value": 5169
342
- },
343
- {
344
- "source": "Suicide EMS Responses",
345
- "target": "Unknown",
346
- "value": 104
347
- },
348
- {
349
- "source": "Dead at Scene",
350
- "target": "Dead",
351
- "value": 4088
352
- },
353
- {
354
- "source": "Treated",
355
- "target": "Dead",
356
- "value": 648
357
- },
358
- {
359
- "source": "Treated",
360
- "target": "Transported to hospital",
361
- "value": 423520
362
- },
363
- {
364
- "source": "Treated",
365
- "target": "Transported to facility",
366
- "value": 4504
367
- },
368
- {
369
- "source": "Treated",
370
- "target": "Released",
371
- "value": 10302
372
- },
373
- {
374
- "source": "Refused evaluation care",
375
- "target": "Released",
376
- "value": 11781
377
- },
378
- {
379
- "source": "Refused evaluation care",
380
- "target": "Transported to hospital",
381
- "value": 860
382
- },
383
- {
384
- "source": "Evaluated no treatment required",
385
- "target": "Released",
386
- "value": 5169
387
- }
388
- ],
389
- "storyNodeText": [
390
- {
391
- "StoryNode": "Suicide EMS Responses",
392
- "segmentTextBefore": "In 2022, there were",
393
- "segmentTextAfter": "Suicide EMS Responses"
394
- },
395
- {
396
- "StoryNode": "Treated",
397
- "segmentTextBefore": "of which,",
398
- "segmentTextAfter": "were treated"
399
- }
400
- ],
401
- "tooltips": [
402
- {
403
- "node": "Suicide EMS Responses",
404
- "value": "467,136 (100%)",
405
- "summary": "Total number of suicide EMS responses.",
406
- "column1Label": "Gender",
407
- "column2Label": "Race and Ethnicity",
408
- "column1": [
409
- {
410
- "label": "Female",
411
- "value": "218,195",
412
- "additional_info": "46.71"
413
- },
414
- {
415
- "label": "Male",
416
- "value": "243,481",
417
- "additional_info": "52.12"
418
- },
419
- {
420
- "label": "Unknown",
421
- "value": "5,460",
422
- "additional_info": "1.17"
423
- }
424
- ],
425
- "column2": [
426
- {
427
- "label": "Non-Hispanic White",
428
- "value": "245,998",
429
- "additional_info": "52.66"
430
- },
431
- {
432
- "label": "Non-Hispanic Black",
433
- "value": "93,244",
434
- "additional_info": "19.96"
435
- },
436
- {
437
- "label": "Hispanic",
438
- "value": "41,396",
439
- "additional_info": "8.86"
440
- },
441
- {
442
- "label": "Non-Hispanic American Indian or Alaska Native",
443
- "value": "4,470",
444
- "additional_info": "0.96"
445
- },
446
- {
447
- "label": "Non-Hispanic Asian",
448
- "value": "6,160",
449
- "additional_info": "1.32"
450
- },
451
- {
452
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
453
- "value": "1,287",
454
- "additional_info": "0.28"
455
- },
456
- {
457
- "label": "Missing",
458
- "value": "74,581",
459
- "additional_info": "15.97"
460
- }
461
- ]
462
- },
463
- {
464
- "node": "Dead",
465
- "value": "4,736 (1.01%)",
466
- "summary": "Patient Died",
467
- "column1Label": "Gender",
468
- "column2Label": "Race and Ethnicity",
469
- "column1": [
470
- {
471
- "label": "Female",
472
- "value": "1,244",
473
- "additional_info": "26.47"
474
- },
475
- {
476
- "label": "Male",
477
- "value": "3,440",
478
- "additional_info": "72.64"
479
- },
480
- {
481
- "label": "Unknown",
482
- "value": "52",
483
- "additional_info": "1.1"
484
- }
485
- ],
486
- "column2": [
487
- {
488
- "label": "Non-Hispanic White",
489
- "value": "3,235",
490
- "additional_info": "68.31"
491
- },
492
- {
493
- "label": "Non-Hispanic Black",
494
- "value": "307",
495
- "additional_info": "6.48"
496
- },
497
- {
498
- "label": "Hispanic",
499
- "value": "242",
500
- "additional_info": "5.11"
501
- },
502
- {
503
- "label": "Non-Hispanic American Indian or Alaska Native",
504
- "value": "26",
505
- "additional_info": "0.55"
506
- },
507
- {
508
- "label": "Non-Hispanic Asian",
509
- "value": "81",
510
- "additional_info": "1.71"
511
- },
512
- {
513
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
514
- "value": "**",
515
- "additional_info": "**"
516
- },
517
- {
518
- "label": "Missing",
519
- "value": "834",
520
- "additional_info": "17.61"
521
- }
522
- ]
523
- },
524
- {
525
- "node": "Released",
526
- "value": "27,252 (5.83%)",
527
- "value_pct": "5.83",
528
- "summary": "Patient was released.",
529
- "column1Label": "Gender",
530
- "column2Label": "Race and Ethnicity",
531
- "column1": [
532
- {
533
- "label": "Female",
534
- "value": "13,835",
535
- "additional_info": "50.77"
536
- },
537
- {
538
- "label": "Male",
539
- "value": "12,900",
540
- "additional_info": "47.34"
541
- },
542
- {
543
- "label": "Unknown",
544
- "value": "517",
545
- "additional_info": "1.9"
546
- }
547
- ],
548
- "column2": [
549
- {
550
- "label": "Non-Hispanic White",
551
- "value": "15,088",
552
- "additional_info": "55.36"
553
- },
554
- {
555
- "label": "Non-Hispanic Black",
556
- "value": "4,749",
557
- "additional_info": "17.43"
558
- },
559
- {
560
- "label": "Hispanic",
561
- "value": "2,177",
562
- "additional_info": "7.99"
563
- },
564
- {
565
- "label": "Non-Hispanic American Indian or Alaska Native",
566
- "value": "287",
567
- "additional_info": "1.05"
568
- },
569
- {
570
- "label": "Non-Hispanic Asian",
571
- "value": "321",
572
- "additional_info": "1.18"
573
- },
574
- {
575
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
576
- "value": "65",
577
- "additional_info": "0.24"
578
- },
579
- {
580
- "label": "Missing",
581
- "value": "4,565",
582
- "additional_info": "16.75"
583
- }
584
- ]
585
- },
586
- {
587
- "node": "Transported to facility",
588
- "value": "4,504 (0.96%)",
589
- "summary": "Patient was transported to a facility.",
590
- "column1Label": "Gender",
591
- "column2Label": "Race and Ethnicity",
592
- "column1": [
593
- {
594
- "label": "Female",
595
- "value": "1,938",
596
- "additional_info": "43.03"
597
- },
598
- {
599
- "label": "Male",
600
- "value": "2,522",
601
- "additional_info": "55.99"
602
- },
603
- {
604
- "label": "Unknown",
605
- "value": "44",
606
- "additional_info": "0.98"
607
- }
608
- ],
609
- "column2": [
610
- {
611
- "label": "Non-Hispanic White",
612
- "value": "2,093",
613
- "additional_info": "46.47"
614
- },
615
- {
616
- "label": "Non-Hispanic Black",
617
- "value": "1,113",
618
- "additional_info": "24.71"
619
- },
620
- {
621
- "label": "Hispanic",
622
- "value": "608",
623
- "additional_info": "13.5"
624
- },
625
- {
626
- "label": "Non-Hispanic American Indian or Alaska Native",
627
- "value": "73",
628
- "additional_info": "1.62"
629
- },
630
- {
631
- "label": "Non-Hispanic Asian",
632
- "value": "48",
633
- "additional_info": "1.07"
634
- },
635
- {
636
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
637
- "value": "**",
638
- "additional_info": "**"
639
- },
640
- {
641
- "label": "Missing",
642
- "value": "564",
643
- "additional_info": "12.52"
644
- }
645
- ]
646
- },
647
- {
648
- "node": "Transported to hospital",
649
- "value": "424,380 (90.85%)",
650
- "summary": "Patient was transported to the hospital by the EMS Unit or another EMS unit.",
651
- "column1Label": "Gender",
652
- "column2Label": "Race and Ethnicity",
653
- "column1": [
654
- {
655
- "label": "Female",
656
- "value": "199,301",
657
- "additional_info": "46.96"
658
- },
659
- {
660
- "label": "Male",
661
- "value": "222,583",
662
- "additional_info": "52.45"
663
- },
664
- {
665
- "label": "Unknown",
666
- "value": "2,496",
667
- "additional_info": "0.59"
668
- }
669
- ],
670
- "column2": [
671
- {
672
- "label": "Non-Hispanic White",
673
- "value": "223,907",
674
- "additional_info": "52.76"
675
- },
676
- {
677
- "label": "Non-Hispanic Black",
678
- "value": "86,562",
679
- "additional_info": "20.4"
680
- },
681
- {
682
- "label": "Hispanic",
683
- "value": "38,084",
684
- "additional_info": "8.97"
685
- },
686
- {
687
- "label": "Non-Hispanic American Indian or Alaska Native",
688
- "value": "4,036",
689
- "additional_info": "0.95"
690
- },
691
- {
692
- "label": "Non-Hispanic Asian",
693
- "value": "5,650",
694
- "additional_info": "1.33"
695
- },
696
- {
697
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
698
- "value": "1,193",
699
- "additional_info": "0.28"
700
- },
701
- {
702
- "label": "Missing",
703
- "value": "64,954",
704
- "additional_info": "15.31"
705
- }
706
- ]
707
- },
708
- {
709
- "node": "Assisted",
710
- "value": "5,701 (1.22%)",
711
- "value_pct": "1.22",
712
- "summary": "EMS unit only provided assistance (e.g., manpower, equipment) to another agency, member of the public, or another EMS unit.",
713
- "column1Label": "Gender",
714
- "column2Label": "Race and Ethnicity",
715
- "column1": [
716
- {
717
- "label": "Female",
718
- "value": "1,791",
719
- "additional_info": "31.42"
720
- },
721
- {
722
- "label": "Male",
723
- "value": "1,910",
724
- "additional_info": "33.5"
725
- },
726
- {
727
- "label": "Unknown",
728
- "value": "2,000",
729
- "additional_info": "35.08"
730
- }
731
- ],
732
- "column2": [
733
- {
734
- "label": "Non-Hispanic White",
735
- "value": "1,593",
736
- "additional_info": "27.94"
737
- },
738
- {
739
- "label": "Non-Hispanic Black",
740
- "value": "491",
741
- "additional_info": "8.61"
742
- },
743
- {
744
- "label": "Hispanic",
745
- "value": "270",
746
- "additional_info": "4.74"
747
- },
748
- {
749
- "label": "Non-Hispanic American Indian or Alaska Native",
750
- "value": "41",
751
- "additional_info": "0.72"
752
- },
753
- {
754
- "label": "Non-Hispanic Asian",
755
- "value": "57",
756
- "additional_info": "1"
757
- },
758
- {
759
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
760
- "value": "**",
761
- "additional_info": "**"
762
- },
763
- {
764
- "label": "Missing",
765
- "value": "3,237",
766
- "additional_info": "56.78"
767
- }
768
- ]
769
- },
770
- {
771
- "node": "Dead at Scene",
772
- "value": "4,088 (0.88%)",
773
- "value_pct": "0.88",
774
- "summary": "Patient showed obvious signs of death or Do Not Resuscitate (DNR) order was presented, and no attempt was made to resuscitate the patient.",
775
- "column1Label": "Gender",
776
- "column2Label": "Race and Ethnicity",
777
- "column1": [
778
- {
779
- "label": "Female",
780
- "value": "1,023",
781
- "additional_info": "25.02"
782
- },
783
- {
784
- "label": "Male",
785
- "value": "3,014",
786
- "additional_info": "73.73"
787
- },
788
- {
789
- "label": "Unknown",
790
- "value": "51",
791
- "additional_info": "1.25"
792
- }
793
- ],
794
- "column2": [
795
- {
796
- "label": "Non-Hispanic White",
797
- "value": "2,802",
798
- "additional_info": "68.54"
799
- },
800
- {
801
- "label": "Non-Hispanic Black",
802
- "value": "273",
803
- "additional_info": "6.68"
804
- },
805
- {
806
- "label": "Hispanic",
807
- "value": "207",
808
- "additional_info": "5.06"
809
- },
810
- {
811
- "label": "Non-Hispanic American Indian or Alaska Native",
812
- "value": "**",
813
- "additional_info": "**"
814
- },
815
- {
816
- "label": "Non-Hispanic Asian",
817
- "value": "65",
818
- "additional_info": "1.59"
819
- },
820
- {
821
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
822
- "value": "**",
823
- "additional_info": "**"
824
- },
825
- {
826
- "label": "Missing",
827
- "value": "712",
828
- "additional_info": "17.42"
829
- }
830
- ]
831
- },
832
- {
833
- "node": "Evaluated no treatment required",
834
- "value": "5,169 (1.11%)",
835
- "value_pct": "1.11",
836
- "summary": "Patient was evaluated and no further treatment/transportation to the hospital was required",
837
- "column1Label": "Gender",
838
- "column2Label": "Race and Ethnicity",
839
- "column1": [
840
- {
841
- "label": "Female",
842
- "value": "2,545",
843
- "additional_info": "49.24"
844
- },
845
- {
846
- "label": "Male",
847
- "value": "2,505",
848
- "additional_info": "48.46"
849
- },
850
- {
851
- "label": "Unknown",
852
- "value": "119",
853
- "additional_info": "2.3"
854
- }
855
- ],
856
- "column2": [
857
- {
858
- "label": "Non-Hispanic White",
859
- "value": "2,783",
860
- "additional_info": "53.84"
861
- },
862
- {
863
- "label": "Non-Hispanic Black",
864
- "value": "885",
865
- "additional_info": "17.12"
866
- },
867
- {
868
- "label": "Hispanic",
869
- "value": "351",
870
- "additional_info": "6.79"
871
- },
872
- {
873
- "label": "Non-Hispanic American Indian or Alaska Native",
874
- "value": "59",
875
- "additional_info": "1.14"
876
- },
877
- {
878
- "label": "Non-Hispanic Asian",
879
- "value": "87",
880
- "additional_info": "1.68"
881
- },
882
- {
883
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
884
- "value": "**",
885
- "additional_info": "**"
886
- },
887
- {
888
- "label": "Missing",
889
- "value": "988",
890
- "additional_info": "19.11"
891
- }
892
- ]
893
- },
894
- {
895
- "node": "No patient contact",
896
- "value": "459 (0.1%)",
897
- "summary": "No patient contact was made (e.g., EMS unit was on standby in case of a medical/traumatic emergency, response was for the purpose of transporting objects, personnel, or equipment not involving a patient).",
898
- "column1Label": "Gender",
899
- "column2Label": "Race and Ethnicity",
900
- "column1": [
901
- {
902
- "label": "Female",
903
- "value": "50",
904
- "additional_info": "10.89"
905
- },
906
- {
907
- "label": "Male",
908
- "value": "70",
909
- "additional_info": "15.25"
910
- },
911
- {
912
- "label": "Unknown",
913
- "value": "339",
914
- "additional_info": "73.86"
915
- }
916
- ],
917
- "column2": [
918
- {
919
- "label": "Non-Hispanic White",
920
- "value": "41",
921
- "additional_info": "8.93"
922
- },
923
- {
924
- "label": "Non-Hispanic Black",
925
- "value": "**",
926
- "additional_info": "**"
927
- },
928
- {
929
- "label": "Hispanic",
930
- "value": "**",
931
- "additional_info": "**"
932
- },
933
- {
934
- "label": "Non-Hispanic American Indian or Alaska Native",
935
- "value": "**",
936
- "additional_info": "**"
937
- },
938
- {
939
- "label": "Non-Hispanic Asian",
940
- "value": "**",
941
- "additional_info": "**"
942
- },
943
- {
944
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
945
- "value": "**",
946
- "additional_info": "**"
947
- },
948
- {
949
- "label": "Missing",
950
- "value": "388",
951
- "additional_info": "84.53"
952
- }
953
- ]
954
- },
955
- {
956
- "node": "Refused evaluation care",
957
- "value": "12,641 (2.71%)",
958
- "summary": "Patient refused any evaluation or care.",
959
- "column1Label": "Gender",
960
- "column2Label": "Race and Ethnicity",
961
- "column1": [
962
- {
963
- "label": "Female",
964
- "value": "6,314",
965
- "additional_info": "49.95"
966
- },
967
- {
968
- "label": "Male",
969
- "value": "6,009",
970
- "additional_info": "47.54"
971
- },
972
- {
973
- "label": "Unknown",
974
- "value": "318",
975
- "additional_info": "2.52"
976
- }
977
- ],
978
- "column2": [
979
- {
980
- "label": "Non-Hispanic White",
981
- "value": "7,112",
982
- "additional_info": "56.26"
983
- },
984
- {
985
- "label": "Non-Hispanic Black",
986
- "value": "2,366",
987
- "additional_info": "18.72"
988
- },
989
- {
990
- "label": "Hispanic",
991
- "value": "1,056",
992
- "additional_info": "8.35"
993
- },
994
- {
995
- "label": "Non-Hispanic American Indian or Alaska Native",
996
- "value": "130",
997
- "additional_info": "1.03"
998
- },
999
- {
1000
- "label": "Non-Hispanic Asian",
1001
- "value": "128",
1002
- "additional_info": "1.01"
1003
- },
1004
- {
1005
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
1006
- "value": "26",
1007
- "additional_info": "0.21"
1008
- },
1009
- {
1010
- "label": "Missing",
1011
- "value": "1,823",
1012
- "additional_info": "14.42"
1013
- }
1014
- ]
1015
- },
1016
- {
1017
- "node": "Treated",
1018
- "value": "438,974 (93.97%)",
1019
- "value_pct": "93.97",
1020
- "summary": "Patient was evaluated and treatment was provided.",
1021
- "column1Label": "Gender",
1022
- "column2Label": "Race and Ethnicity",
1023
- "column1": [
1024
- {
1025
- "label": "Female",
1026
- "value": "206,436",
1027
- "additional_info": "47.03"
1028
- },
1029
- {
1030
- "label": "Male",
1031
- "value": "229,917",
1032
- "additional_info": "52.38"
1033
- },
1034
- {
1035
- "label": "Unknown",
1036
- "value": "2,621",
1037
- "additional_info": "0.6"
1038
- }
1039
- ],
1040
- "column2": [
1041
- {
1042
- "label": "Non-Hispanic White",
1043
- "value": "231,620",
1044
- "additional_info": "52.76"
1045
- },
1046
- {
1047
- "label": "Non-Hispanic Black",
1048
- "value": "89,207",
1049
- "additional_info": "20.32"
1050
- },
1051
- {
1052
- "label": "Hispanic",
1053
- "value": "39,497",
1054
- "additional_info": "9"
1055
- },
1056
- {
1057
- "label": "Non-Hispanic American Indian or Alaska Native",
1058
- "value": "4,214",
1059
- "additional_info": "0.96"
1060
- },
1061
- {
1062
- "label": "Non-Hispanic Asian",
1063
- "value": "5,820",
1064
- "additional_info": "1.33"
1065
- },
1066
- {
1067
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
1068
- "value": "1,222",
1069
- "additional_info": "0.28"
1070
- },
1071
- {
1072
- "label": "Missing",
1073
- "value": "67,394",
1074
- "additional_info": "15.35"
1075
- }
1076
- ]
1077
- },
1078
- {
1079
- "node": "Unknown",
1080
- "value": "104 (0.02%)",
1081
- "summary": "Type of treatment provided is unknown.",
1082
- "column1Label": "Gender",
1083
- "column2Label": "Race and Ethnicity",
1084
- "column1": [
1085
- {
1086
- "label": "Female",
1087
- "value": "36",
1088
- "additional_info": "34.62"
1089
- },
1090
- {
1091
- "label": "Male",
1092
- "value": "56",
1093
- "additional_info": "53.85"
1094
- },
1095
- {
1096
- "label": "Unknown",
1097
- "value": "**",
1098
- "additional_info": "**"
1099
- }
1100
- ],
1101
- "column2": [
1102
- {
1103
- "label": "Non-Hispanic White",
1104
- "value": "47",
1105
- "additional_info": "45.19"
1106
- },
1107
- {
1108
- "label": "Non-Hispanic Black",
1109
- "value": "",
1110
- "additional_info": ""
1111
- },
1112
- {
1113
- "label": "Hispanic",
1114
- "value": "",
1115
- "additional_info": ""
1116
- },
1117
- {
1118
- "label": "Non-Hispanic American Indian or Alaska Native",
1119
- "value": "",
1120
- "additional_info": ""
1121
- },
1122
- {
1123
- "label": "Non-Hispanic Asian",
1124
- "value": "",
1125
- "additional_info": ""
1126
- },
1127
- {
1128
- "label": "Non-Hispanic Native Hawaiian or Other Pacific Islander",
1129
- "value": "",
1130
- "additional_info": ""
1131
- },
1132
- {
1133
- "label": "Missing",
1134
- "value": "39",
1135
- "additional_info": "37.5"
1136
- }
1137
- ]
1138
- }
1139
- ],
1140
- "tableData": [
1141
- {
1142
- "Disposition": "Assist, Agency",
1143
- "Type of Treatment": "Assisted",
1144
- "Final Outcome": "N/A",
1145
- "Number of Patients": "2,356"
1146
- },
1147
- {
1148
- "Disposition": "Assist, Public",
1149
- "Type of Treatment": "Assisted",
1150
- "Final Outcome": "N/A",
1151
- "Number of Patients": "859"
1152
- },
1153
- {
1154
- "Disposition": "Assist, Unit",
1155
- "Type of Treatment": "Assisted",
1156
- "Final Outcome": "N/A",
1157
- "Number of Patients": "2,486"
1158
- },
1159
- {
1160
- "Disposition": "Patient Dead at Scene-No Resuscitation Attempted (With Transport)",
1161
- "Type of Treatment": "Dead at scene",
1162
- "Final Outcome": "Dead",
1163
- "Number of Patients": "123"
1164
- },
1165
- {
1166
- "Disposition": "Patient Dead at Scene-No Resuscitation Attempted (Without Transport)",
1167
- "Type of Treatment": "Dead at scene",
1168
- "Final Outcome": "Dead",
1169
- "Number of Patients": "3,965"
1170
- },
1171
- {
1172
- "Disposition": "Patient Dead at Scene-Resuscitation Attempted (With Transport)",
1173
- "Type of Treatment": "Treated",
1174
- "Final Outcome": "Dead",
1175
- "Number of Patients": "**"
1176
- },
1177
- {
1178
- "Disposition": "Patient Dead at Scene-Resuscitation Attempted (Without Transport)",
1179
- "Type of Treatment": "Treated",
1180
- "Final Outcome": "Dead",
1181
- "Number of Patients": "631"
1182
- },
1183
- {
1184
- "Disposition": "Patient Evaluated, No Treatment/Transport Required",
1185
- "Type of Treatment": "Evaluated no treatment required",
1186
- "Final Outcome": "Released",
1187
- "Number of Patients": "5,169"
1188
- },
1189
- {
1190
- "Disposition": "Patient Refused Evaluation/Care (With Transport)",
1191
- "Type of Treatment": "Refused evaluation care",
1192
- "Final Outcome": "Transported to hospital",
1193
- "Number of Patients": "860"
1194
- },
1195
- {
1196
- "Disposition": "Patient Refused Evaluation/Care (Without Transport)",
1197
- "Type of Treatment": "Refused evaluation care",
1198
- "Final Outcome": "Released",
1199
- "Number of Patients": "11,781"
1200
- },
1201
- {
1202
- "Disposition": "Patient Treated, Released (AMA)",
1203
- "Type of Treatment": "Treated",
1204
- "Final Outcome": "Released",
1205
- "Number of Patients": "6,780"
1206
- },
1207
- {
1208
- "Disposition": "Patient Treated, Released (per protocol)",
1209
- "Type of Treatment": "Treated",
1210
- "Final Outcome": "Released",
1211
- "Number of Patients": "3,522"
1212
- },
1213
- {
1214
- "Disposition": "Patient Treated, Transferred Care to Another EMS Unit",
1215
- "Type of Treatment": "Treated",
1216
- "Final Outcome": "Transported to hospital",
1217
- "Number of Patients": "24,432"
1218
- },
1219
- {
1220
- "Disposition": "Patient Treated, Transported by Law Enforcement",
1221
- "Type of Treatment": "Treated",
1222
- "Final Outcome": "Transported to facility",
1223
- "Number of Patients": "4,227"
1224
- },
1225
- {
1226
- "Disposition": "Patient Treated, Transported by Private Vehicle",
1227
- "Type of Treatment": "Treated",
1228
- "Final Outcome": "Transported to facility",
1229
- "Number of Patients": "277"
1230
- },
1231
- {
1232
- "Disposition": "Patient Treated, Transported by this EMS Unit",
1233
- "Type of Treatment": "Treated",
1234
- "Final Outcome": "Transported to hospital",
1235
- "Number of Patients": "399,088"
1236
- },
1237
- {
1238
- "Disposition": "Standby-Public Safety, Fire, or EMS Operational Support Provided",
1239
- "Type of Treatment": "No patient contact",
1240
- "Final Outcome": "N/A",
1241
- "Number of Patients": "458"
1242
- },
1243
- {
1244
- "Disposition": "Transport Non-Patient, Organs, etc.",
1245
- "Type of Treatment": "No patient contact",
1246
- "Final Outcome": "N/A",
1247
- "Number of Patients": "**"
1248
- },
1249
- {
1250
- "Disposition": "Unknown",
1251
- "Type of Treatment": "Unknown",
1252
- "Final Outcome": "N/A",
1253
- "Number of Patients": "104"
1254
- }
1255
- ]
1256
- }
1257
- ],
1258
- "dataFileName": "valid-sankey-data.json",
1259
- "dataFileSourceType": "file",
1260
- "formattedData": [
1261
- {
1262
- "links": [
1263
- {
1264
- "source": "Suicide EMS Responses",
1265
- "target": "Dead at Scene",
1266
- "value": 4088
1267
- },
1268
- {
1269
- "source": "Suicide EMS Responses",
1270
- "target": "Treated",
1271
- "value": 438974
1272
- },
1273
- {
1274
- "source": "Suicide EMS Responses",
1275
- "target": "Assisted",
1276
- "value": 5701
1277
- },
1278
- {
1279
- "source": "Suicide EMS Responses",
1280
- "target": "No patient contact",
1281
- "value": 459
1282
- },
1283
- {
1284
- "source": "Suicide EMS Responses",
1285
- "target": "Refused evaluation care",
1286
- "value": 12641
1287
- },
1288
- {
1289
- "source": "Suicide EMS Responses",
1290
- "target": "Evaluated no treatment required",
1291
- "value": 5169
1292
- },
1293
- {
1294
- "source": "Suicide EMS Responses",
1295
- "target": "Unknown",
1296
- "value": 104
1297
- },
1298
- {
1299
- "source": "Dead at Scene",
1300
- "target": "Dead",
1301
- "value": 4088
1302
- },
1303
- {
1304
- "source": "Treated",
1305
- "target": "Dead",
1306
- "value": 648
1307
- },
1308
- {
1309
- "source": "Treated",
1310
- "target": "Transported to hospital",
1311
- "value": 423520
1312
- },
1313
- {
1314
- "source": "Treated",
1315
- "target": "Transported to facility",
1316
- "value": 4504
1317
- },
1318
- {
1319
- "source": "Treated",
1320
- "target": "Released",
1321
- "value": 10302
1322
- },
1323
- {
1324
- "source": "Refused evaluation care",
1325
- "target": "Released",
1326
- "value": 11781
1327
- },
1328
- {
1329
- "source": "Refused evaluation care",
1330
- "target": "Transported to hospital",
1331
- "value": 860
1332
- },
1333
- {
1334
- "source": "Evaluated no treatment required",
1335
- "target": "Released",
1336
- "value": 5169
1337
- }
1338
- ],
1339
- "storyNodeText": [
1340
- {
1341
- "StoryNode": "Suicide EMS Responses",
1342
- "segmentTextBefore": "In 2022, there were",
1343
- "segmentTextAfter": "Suicide EMS Responses"
1344
- },
1345
- {
1346
- "StoryNode": "Treated",
1347
- "segmentTextBefore": "of which,",
1348
- "segmentTextAfter": "were treated"
1349
- }
1350
- ],
1351
- "tableData": [
1352
- {
1353
- "Disposition": "Assist, Agency",
1354
- "Type of Treatment": "Assisted",
1355
- "Final Outcome": "N/A",
1356
- "Number of Patients": "2,356"
1357
- },
1358
- {
1359
- "Disposition": "Assist, Public",
1360
- "Type of Treatment": "Assisted",
1361
- "Final Outcome": "N/A",
1362
- "Number of Patients": "859"
1363
- },
1364
- {
1365
- "Disposition": "Assist, Unit",
1366
- "Type of Treatment": "Assisted",
1367
- "Final Outcome": "N/A",
1368
- "Number of Patients": "2,486"
1369
- },
1370
- {
1371
- "Disposition": "Patient Dead at Scene-No Resuscitation Attempted (With Transport)",
1372
- "Type of Treatment": "Dead at scene",
1373
- "Final Outcome": "Dead",
1374
- "Number of Patients": "123"
1375
- },
1376
- {
1377
- "Disposition": "Patient Dead at Scene-No Resuscitation Attempted (Without Transport)",
1378
- "Type of Treatment": "Dead at scene",
1379
- "Final Outcome": "Dead",
1380
- "Number of Patients": "3,965"
1381
- },
1382
- {
1383
- "Disposition": "Patient Dead at Scene-Resuscitation Attempted (With Transport)",
1384
- "Type of Treatment": "Treated",
1385
- "Final Outcome": "Dead",
1386
- "Number of Patients": "**"
1387
- },
1388
- {
1389
- "Disposition": "Patient Dead at Scene-Resuscitation Attempted (Without Transport)",
1390
- "Type of Treatment": "Treated",
1391
- "Final Outcome": "Dead",
1392
- "Number of Patients": "631"
1393
- },
1394
- {
1395
- "Disposition": "Patient Evaluated, No Treatment/Transport Required",
1396
- "Type of Treatment": "Evaluated no treatment required",
1397
- "Final Outcome": "Released",
1398
- "Number of Patients": "5,169"
1399
- },
1400
- {
1401
- "Disposition": "Patient Refused Evaluation/Care (With Transport)",
1402
- "Type of Treatment": "Refused evaluation care",
1403
- "Final Outcome": "Transported to hospital",
1404
- "Number of Patients": "860"
1405
- },
1406
- {
1407
- "Disposition": "Patient Refused Evaluation/Care (Without Transport)",
1408
- "Type of Treatment": "Refused evaluation care",
1409
- "Final Outcome": "Released",
1410
- "Number of Patients": "11,781"
1411
- },
1412
- {
1413
- "Disposition": "Patient Treated, Released (AMA)",
1414
- "Type of Treatment": "Treated",
1415
- "Final Outcome": "Released",
1416
- "Number of Patients": "6,780"
1417
- },
1418
- {
1419
- "Disposition": "Patient Treated, Released (per protocol)",
1420
- "Type of Treatment": "Treated",
1421
- "Final Outcome": "Released",
1422
- "Number of Patients": "3,522"
1423
- },
1424
- {
1425
- "Disposition": "Patient Treated, Transferred Care to Another EMS Unit",
1426
- "Type of Treatment": "Treated",
1427
- "Final Outcome": "Transported to hospital",
1428
- "Number of Patients": "24,432"
1429
- },
1430
- {
1431
- "Disposition": "Patient Treated, Transported by Law Enforcement",
1432
- "Type of Treatment": "Treated",
1433
- "Final Outcome": "Transported to facility",
1434
- "Number of Patients": "4,227"
1435
- },
1436
- {
1437
- "Disposition": "Patient Treated, Transported by Private Vehicle",
1438
- "Type of Treatment": "Treated",
1439
- "Final Outcome": "Transported to facility",
1440
- "Number of Patients": "277"
1441
- },
1442
- {
1443
- "Disposition": "Patient Treated, Transported by this EMS Unit",
1444
- "Type of Treatment": "Treated",
1445
- "Final Outcome": "Transported to hospital",
1446
- "Number of Patients": "399,088"
1447
- },
1448
- {
1449
- "Disposition": "Standby-Public Safety, Fire, or EMS Operational Support Provided",
1450
- "Type of Treatment": "No patient contact",
1451
- "Final Outcome": "N/A",
1452
- "Number of Patients": "458"
1453
- },
1454
- {
1455
- "Disposition": "Transport Non-Patient, Organs, etc.",
1456
- "Type of Treatment": "No patient contact",
1457
- "Final Outcome": "N/A",
1458
- "Number of Patients": "**"
1459
- },
1460
- {
1461
- "Disposition": "Unknown",
1462
- "Type of Treatment": "Unknown",
1463
- "Final Outcome": "N/A",
1464
- "Number of Patients": "104"
1465
- }
1466
- ]
1467
64
  }
1468
- ],
1469
- "dataDescription": {
1470
- "horizontal": false,
1471
- "series": false
1472
65
  },
1473
- "validated": 4.23,
1474
- "footnotes": "**Counts fewer than 20 are suppressed for confidentiality reasons.",
1475
- "version": "4.24.10"
1476
- }
66
+ "table": {
67
+ "show": false,
68
+ "expanded": false,
69
+ "label": "Data Table",
70
+ "caption": ""
71
+ },
72
+ "legend": {
73
+ "hide": true
74
+ }
75
+ }