@cdc/map 4.24.10 → 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.
- package/dist/cdcmap.js +21026 -20881
- package/examples/private/DEV-9644.json +184 -0
- package/package.json +3 -3
- package/src/CdcMap.tsx +11 -4
- package/src/_stories/CdcMapLegend.stories.tsx +86 -0
- package/src/_stories/_mock/usa-state-gradient.json +238 -0
- package/src/_stories/_mock/wastewater-map.json +208 -0
- package/src/components/EditorPanel/components/EditorPanel.tsx +38 -48
- package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +27 -23
- package/src/components/EditorPanel/components/Panels/Panel.PatternSettings.tsx +75 -16
- package/src/components/Legend/components/Legend.tsx +23 -17
- package/src/components/Legend/components/index.scss +9 -2
- package/src/components/UsaMap/components/HexIcon.tsx +7 -1
- package/src/components/UsaMap/components/Territory/Territory.Hexagon.tsx +57 -12
- package/src/components/UsaMap/components/Territory/Territory.Rectangle.tsx +88 -15
- package/src/components/UsaMap/components/Territory/TerritoryShape.ts +13 -0
- package/src/components/UsaMap/components/UsaMap.County.tsx +1 -1
- package/src/components/UsaMap/components/UsaMap.State.tsx +3 -3
- package/src/components/UsaMap/helpers/shapes.ts +5 -4
- package/src/scss/editor-panel.scss +0 -3
- package/src/scss/filters.scss +2 -7
- package/src/scss/main.scss +0 -4
- package/src/scss/map.scss +0 -4
- package/src/types/MapConfig.ts +1 -1
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"annotations": [],
|
|
3
|
+
"general": {
|
|
4
|
+
"geoType": "us",
|
|
5
|
+
"noStateFoundMessage": "Map Unavailable",
|
|
6
|
+
"annotationDropdownText": "Annotations",
|
|
7
|
+
"geoBorderColor": "darkGray",
|
|
8
|
+
"headerColor": "theme-blue",
|
|
9
|
+
"title": "Number, percentage, and proportion of infants born with use of assisted reproductive technology in 2022, by preterm gestational age and female patient’s reporting area of residence at time of treatment",
|
|
10
|
+
"showTitle": false,
|
|
11
|
+
"showSidebar": true,
|
|
12
|
+
"showDownloadButton": true,
|
|
13
|
+
"showDownloadMediaButton": false,
|
|
14
|
+
"displayAsHex": false,
|
|
15
|
+
"displayStateLabels": false,
|
|
16
|
+
"territoriesLabel": "Territories",
|
|
17
|
+
"territoriesAlwaysShow": false,
|
|
18
|
+
"language": "en",
|
|
19
|
+
"geoLabelOverride": "",
|
|
20
|
+
"hasRegions": false,
|
|
21
|
+
"fullBorder": false,
|
|
22
|
+
"type": "data",
|
|
23
|
+
"convertFipsCodes": true,
|
|
24
|
+
"palette": {
|
|
25
|
+
"isReversed": false
|
|
26
|
+
},
|
|
27
|
+
"allowMapZoom": true,
|
|
28
|
+
"hideGeoColumnInTooltip": false,
|
|
29
|
+
"hidePrimaryColumnInTooltip": false,
|
|
30
|
+
"statePicked": {
|
|
31
|
+
"fipsCode": "01",
|
|
32
|
+
"stateName": "Alabama"
|
|
33
|
+
},
|
|
34
|
+
"expandDataTable": false
|
|
35
|
+
},
|
|
36
|
+
"type": "map",
|
|
37
|
+
"color": "sequential-blue-2(MPX)",
|
|
38
|
+
"columns": {
|
|
39
|
+
"geo": {
|
|
40
|
+
"name": "State",
|
|
41
|
+
"label": "Location",
|
|
42
|
+
"tooltip": false,
|
|
43
|
+
"dataTable": true
|
|
44
|
+
},
|
|
45
|
+
"primary": {
|
|
46
|
+
"dataTable": true,
|
|
47
|
+
"tooltip": true,
|
|
48
|
+
"prefix": "",
|
|
49
|
+
"suffix": "",
|
|
50
|
+
"name": "Ranges",
|
|
51
|
+
"label": "",
|
|
52
|
+
"roundToPlace": "1"
|
|
53
|
+
},
|
|
54
|
+
"navigate": {
|
|
55
|
+
"name": ""
|
|
56
|
+
},
|
|
57
|
+
"latitude": {
|
|
58
|
+
"name": ""
|
|
59
|
+
},
|
|
60
|
+
"longitude": {
|
|
61
|
+
"name": ""
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"legend": {
|
|
65
|
+
"descriptions": {
|
|
66
|
+
"0,0": [
|
|
67
|
+
"National Rate: 17.3"
|
|
68
|
+
],
|
|
69
|
+
"0,1": [
|
|
70
|
+
"National Rate: 4.3"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"specialClasses": [],
|
|
74
|
+
"unified": false,
|
|
75
|
+
"singleColumn": true,
|
|
76
|
+
"singleRow": false,
|
|
77
|
+
"verticalSorted": false,
|
|
78
|
+
"showSpecialClassesLast": false,
|
|
79
|
+
"dynamicDescription": true,
|
|
80
|
+
"type": "category",
|
|
81
|
+
"numberOfItems": 5,
|
|
82
|
+
"position": "side",
|
|
83
|
+
"title": "",
|
|
84
|
+
"style": "circles",
|
|
85
|
+
"subStyle": "linear blocks",
|
|
86
|
+
"tickRotation": "",
|
|
87
|
+
"singleColumnLegend": false,
|
|
88
|
+
"hideBorder": false,
|
|
89
|
+
"categoryValuesOrder": [
|
|
90
|
+
"20.6 - 23.3",
|
|
91
|
+
"23.4 - 28.3",
|
|
92
|
+
"18.5 - 20.5",
|
|
93
|
+
"10.2 - 15.5",
|
|
94
|
+
"15.6 - 18.4"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"filters": [
|
|
98
|
+
{
|
|
99
|
+
"order": "asc",
|
|
100
|
+
"label": "Select a Measure",
|
|
101
|
+
"columnName": "Year",
|
|
102
|
+
"values": [
|
|
103
|
+
"Percentages of preterm infants conceived through ART",
|
|
104
|
+
"Proportion of infants conceived through ART that were born preterm among all preterm births "
|
|
105
|
+
],
|
|
106
|
+
"active": "Percentages of preterm infants conceived through ART",
|
|
107
|
+
"filterStyle": "dropdown"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"table": {
|
|
111
|
+
"wrapColumns": false,
|
|
112
|
+
"label": "Data Table",
|
|
113
|
+
"expanded": false,
|
|
114
|
+
"limitHeight": false,
|
|
115
|
+
"height": "",
|
|
116
|
+
"caption": "",
|
|
117
|
+
"showDownloadUrl": false,
|
|
118
|
+
"showDataTableLink": false,
|
|
119
|
+
"showFullGeoNameInCSV": false,
|
|
120
|
+
"forceDisplay": true,
|
|
121
|
+
"download": true,
|
|
122
|
+
"indexLabel": ""
|
|
123
|
+
},
|
|
124
|
+
"tooltips": {
|
|
125
|
+
"appearanceType": "hover",
|
|
126
|
+
"linkLabel": "Learn More",
|
|
127
|
+
"capitalizeLabels": true,
|
|
128
|
+
"opacity": 90
|
|
129
|
+
},
|
|
130
|
+
"visual": {
|
|
131
|
+
"minBubbleSize": 1,
|
|
132
|
+
"maxBubbleSize": 20,
|
|
133
|
+
"extraBubbleBorder": false,
|
|
134
|
+
"cityStyle": "circle",
|
|
135
|
+
"cityStyleLabel": "",
|
|
136
|
+
"showBubbleZeros": false,
|
|
137
|
+
"additionalCityStyles": [],
|
|
138
|
+
"geoCodeCircleSize": 8
|
|
139
|
+
},
|
|
140
|
+
"mapPosition": {
|
|
141
|
+
"coordinates": [
|
|
142
|
+
0,
|
|
143
|
+
30
|
|
144
|
+
],
|
|
145
|
+
"zoom": 1
|
|
146
|
+
},
|
|
147
|
+
"map": {
|
|
148
|
+
"layers": [],
|
|
149
|
+
"patterns": []
|
|
150
|
+
},
|
|
151
|
+
"hexMap": {
|
|
152
|
+
"type": "",
|
|
153
|
+
"shapeGroups": [
|
|
154
|
+
{
|
|
155
|
+
"legendTitle": "",
|
|
156
|
+
"legendDescription": "",
|
|
157
|
+
"items": [
|
|
158
|
+
{
|
|
159
|
+
"key": "",
|
|
160
|
+
"shape": "Arrow Up",
|
|
161
|
+
"column": "",
|
|
162
|
+
"operator": "=",
|
|
163
|
+
"value": ""
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"filterBehavior": "Filter Change",
|
|
170
|
+
"openModal": true,
|
|
171
|
+
"uid": "map1728585388205",
|
|
172
|
+
"dataDescription": {
|
|
173
|
+
"horizontal": false,
|
|
174
|
+
"series": false
|
|
175
|
+
},
|
|
176
|
+
"dataKey": "table - 6 dashboard.csv",
|
|
177
|
+
"version": "4.24.9",
|
|
178
|
+
"editor": {
|
|
179
|
+
"activeFilterValueForDescription": [
|
|
180
|
+
0,
|
|
181
|
+
0
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdc/map",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.11",
|
|
4
4
|
"description": "React component for visualizing tabular data on a map of the United States or the world.",
|
|
5
5
|
"moduleName": "CdcMap",
|
|
6
6
|
"main": "dist/cdcmap",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@cdc/core": "^4.24.
|
|
28
|
+
"@cdc/core": "^4.24.11",
|
|
29
29
|
"@emotion/core": "^10.0.28",
|
|
30
30
|
"@emotion/react": "^11.1.5",
|
|
31
31
|
"@hello-pangea/dnd": "^16.2.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "9ab5ee9b2b0ef7321a66a2104be6ce8899ec3808"
|
|
56
56
|
}
|
package/src/CdcMap.tsx
CHANGED
|
@@ -345,7 +345,6 @@ const CdcMap = ({
|
|
|
345
345
|
const newLegendMemo = new Map() // Reset memoization
|
|
346
346
|
const newLegendSpecialClassLastMemo = new Map() // Reset bin memoization
|
|
347
347
|
let primaryCol = obj.columns.primary.name,
|
|
348
|
-
isSingleState = obj.general.geoType === 'single-state',
|
|
349
348
|
isBubble = obj.general.type === 'bubble',
|
|
350
349
|
categoricalCol = obj.columns.categorical ? obj.columns.categorical.name : undefined,
|
|
351
350
|
type = obj.legend.type,
|
|
@@ -573,7 +572,9 @@ const CdcMap = ({
|
|
|
573
572
|
newLegendMemo.forEach(assignSpecialClassLastIndex)
|
|
574
573
|
legendSpecialClassLastMemo.current = newLegendSpecialClassLastMemo
|
|
575
574
|
|
|
576
|
-
|
|
575
|
+
// filter special classes from results
|
|
576
|
+
const specialValues = result.filter(d => d.special).map(d => d.value)
|
|
577
|
+
return result.filter(d => d.special || !specialValues.includes(d.value))
|
|
577
578
|
}
|
|
578
579
|
|
|
579
580
|
let uniqueValues = {}
|
|
@@ -1833,7 +1834,7 @@ const CdcMap = ({
|
|
|
1833
1834
|
closeModal(e)
|
|
1834
1835
|
}
|
|
1835
1836
|
}}
|
|
1836
|
-
style={{ padding: '15px
|
|
1837
|
+
style={{ padding: '15px 0px', margin: '0px' }}
|
|
1837
1838
|
>
|
|
1838
1839
|
{/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */}
|
|
1839
1840
|
<section className='outline-none geography-container w-100' ref={mapSvg} tabIndex='0'>
|
|
@@ -1853,7 +1854,13 @@ const CdcMap = ({
|
|
|
1853
1854
|
</section>
|
|
1854
1855
|
|
|
1855
1856
|
{general.showSidebar && 'navigation' !== general.type && (
|
|
1856
|
-
<Legend
|
|
1857
|
+
<Legend
|
|
1858
|
+
dimensions={dimensions}
|
|
1859
|
+
ref={legendRef}
|
|
1860
|
+
skipId={tabId}
|
|
1861
|
+
containerWidthPadding={0}
|
|
1862
|
+
currentViewport={currentViewport}
|
|
1863
|
+
/>
|
|
1857
1864
|
)}
|
|
1858
1865
|
</div>
|
|
1859
1866
|
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
+
import CdcMap from '../CdcMap'
|
|
3
|
+
import SingleStateWithFilters from './_mock/DEV-8942.json'
|
|
4
|
+
import UsGradient from './_mock/usa-state-gradient.json'
|
|
5
|
+
import WastewaterMap from './_mock/wastewater-map.json'
|
|
6
|
+
import { editConfigKeys } from '@cdc/chart/src/helpers/configHelpers'
|
|
7
|
+
|
|
8
|
+
const meta: Meta<typeof CdcMap> = {
|
|
9
|
+
title: 'Components/Templates/Map/Legend',
|
|
10
|
+
component: CdcMap
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type Story = StoryObj<typeof CdcMap>
|
|
14
|
+
|
|
15
|
+
export default meta
|
|
16
|
+
|
|
17
|
+
export const Single_State_With_Filters: Story = {
|
|
18
|
+
args: {
|
|
19
|
+
config: editConfigKeys(SingleStateWithFilters, [
|
|
20
|
+
{ path: ['legend', 'style'], value: 'gradient' },
|
|
21
|
+
{ path: ['legend', 'position'], value: 'top' },
|
|
22
|
+
{ path: ['legend', 'hideBorder'], value: true },
|
|
23
|
+
{ path: ['legend', 'title'], value: '' },
|
|
24
|
+
{ path: ['legend', 'description'], value: '' }
|
|
25
|
+
])
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export const Gradient: Story = {
|
|
30
|
+
args: {
|
|
31
|
+
config: UsGradient
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const Gradient_Smooth: Story = {
|
|
36
|
+
args: {
|
|
37
|
+
config: editConfigKeys(UsGradient, [{ path: ['legend', 'subStyle'], value: 'smooth' }])
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export const Gradient_With_Box: Story = {
|
|
41
|
+
args: {
|
|
42
|
+
config: editConfigKeys(UsGradient, [
|
|
43
|
+
{ path: ['legend', 'subStyle'], value: 'linear blocks' },
|
|
44
|
+
{ path: ['legend', 'hideBorder'], value: false }
|
|
45
|
+
])
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const Gradient_With_Text: Story = {
|
|
50
|
+
args: {
|
|
51
|
+
config: editConfigKeys(UsGradient, [
|
|
52
|
+
{ path: ['legend', 'title'], value: 'Title' },
|
|
53
|
+
{ path: ['legend', 'description'], value: 'Description' },
|
|
54
|
+
{ path: ['legend', 'hideBorder'], value: true }
|
|
55
|
+
])
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export const Legend_Right: Story = {
|
|
60
|
+
args: {
|
|
61
|
+
config: editConfigKeys(SingleStateWithFilters, [{ path: ['legend', 'hideBorder'], value: true }])
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export const Gradient_With_Patterns: Story = {
|
|
66
|
+
args: {
|
|
67
|
+
config: WastewaterMap
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export const Gradient_Reversed: Story = {
|
|
71
|
+
args: {
|
|
72
|
+
config: editConfigKeys(WastewaterMap, [
|
|
73
|
+
{
|
|
74
|
+
path: ['customColors'],
|
|
75
|
+
value: undefined
|
|
76
|
+
},
|
|
77
|
+
{ path: ['legend', 'specialClasses'], value: ['No Data'] },
|
|
78
|
+
{ path: ['legend', 'showSpecialClassesLast'], value: false },
|
|
79
|
+
{
|
|
80
|
+
path: ['legend', 'categoryValuesOrder'],
|
|
81
|
+
value: ['No Data', 'Minimal', 'Low', 'Moderate', 'High', 'Very High']
|
|
82
|
+
},
|
|
83
|
+
{ path: ['color'], value: 'greenblue' }
|
|
84
|
+
])
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
{
|
|
2
|
+
"annotations": [],
|
|
3
|
+
"general": {
|
|
4
|
+
"geoType": "us",
|
|
5
|
+
"type": "data",
|
|
6
|
+
"noStateFoundMessage": "Map Unavailable",
|
|
7
|
+
"annotationDropdownText": "Annotations",
|
|
8
|
+
"geoBorderColor": "darkGray",
|
|
9
|
+
"headerColor": "theme-blue",
|
|
10
|
+
"title": "",
|
|
11
|
+
"showTitle": true,
|
|
12
|
+
"showSidebar": true,
|
|
13
|
+
"showDownloadButton": true,
|
|
14
|
+
"showDownloadMediaButton": false,
|
|
15
|
+
"displayAsHex": false,
|
|
16
|
+
"displayStateLabels": false,
|
|
17
|
+
"territoriesLabel": "Territories",
|
|
18
|
+
"territoriesAlwaysShow": false,
|
|
19
|
+
"language": "en",
|
|
20
|
+
"geoLabelOverride": "",
|
|
21
|
+
"hasRegions": false,
|
|
22
|
+
"fullBorder": false,
|
|
23
|
+
"convertFipsCodes": true,
|
|
24
|
+
"palette": { "isReversed": false },
|
|
25
|
+
"allowMapZoom": true,
|
|
26
|
+
"hideGeoColumnInTooltip": false,
|
|
27
|
+
"hidePrimaryColumnInTooltip": false,
|
|
28
|
+
"statePicked": { "fipsCode": "01", "stateName": "Alabama" },
|
|
29
|
+
"expandDataTable": false
|
|
30
|
+
},
|
|
31
|
+
"type": "map",
|
|
32
|
+
"color": "pinkpurple",
|
|
33
|
+
"columns": {
|
|
34
|
+
"geo": { "name": "STATE", "label": "Location", "tooltip": false, "dataTable": true },
|
|
35
|
+
"primary": {
|
|
36
|
+
"dataTable": true,
|
|
37
|
+
"tooltip": true,
|
|
38
|
+
"prefix": "",
|
|
39
|
+
"suffix": "",
|
|
40
|
+
"name": "Rate",
|
|
41
|
+
"label": "",
|
|
42
|
+
"roundToPlace": 0
|
|
43
|
+
},
|
|
44
|
+
"navigate": { "name": "" },
|
|
45
|
+
"latitude": { "name": "" },
|
|
46
|
+
"longitude": { "name": "" }
|
|
47
|
+
},
|
|
48
|
+
"legend": {
|
|
49
|
+
"descriptions": {},
|
|
50
|
+
"specialClasses": [],
|
|
51
|
+
"unified": false,
|
|
52
|
+
"singleColumn": false,
|
|
53
|
+
"singleRow": false,
|
|
54
|
+
"verticalSorted": false,
|
|
55
|
+
"showSpecialClassesLast": false,
|
|
56
|
+
"dynamicDescription": false,
|
|
57
|
+
"type": "equalnumber",
|
|
58
|
+
"numberOfItems": 3,
|
|
59
|
+
"position": "top",
|
|
60
|
+
"title": "",
|
|
61
|
+
"style": "gradient",
|
|
62
|
+
"subStyle": "linear blocks",
|
|
63
|
+
"tickRotation": "",
|
|
64
|
+
"singleColumnLegend": false,
|
|
65
|
+
"hideBorder": true
|
|
66
|
+
},
|
|
67
|
+
"filters": [],
|
|
68
|
+
"table": {
|
|
69
|
+
"wrapColumns": false,
|
|
70
|
+
"label": "Data Table",
|
|
71
|
+
"expanded": false,
|
|
72
|
+
"limitHeight": false,
|
|
73
|
+
"height": "",
|
|
74
|
+
"caption": "",
|
|
75
|
+
"showDownloadUrl": false,
|
|
76
|
+
"showDataTableLink": true,
|
|
77
|
+
"showDownloadLinkBelow": true,
|
|
78
|
+
"showFullGeoNameInCSV": false,
|
|
79
|
+
"forceDisplay": true,
|
|
80
|
+
"download": true,
|
|
81
|
+
"indexLabel": ""
|
|
82
|
+
},
|
|
83
|
+
"tooltips": { "appearanceType": "hover", "linkLabel": "Learn More", "capitalizeLabels": true, "opacity": 90 },
|
|
84
|
+
"runtime": { "editorErrorMessage": [] },
|
|
85
|
+
"visual": {
|
|
86
|
+
"minBubbleSize": 1,
|
|
87
|
+
"maxBubbleSize": 20,
|
|
88
|
+
"extraBubbleBorder": false,
|
|
89
|
+
"cityStyle": "circle",
|
|
90
|
+
"cityStyleLabel": "",
|
|
91
|
+
"showBubbleZeros": false,
|
|
92
|
+
"additionalCityStyles": [],
|
|
93
|
+
"geoCodeCircleSize": 8
|
|
94
|
+
},
|
|
95
|
+
"mapPosition": { "coordinates": [0, 30], "zoom": 1 },
|
|
96
|
+
"map": { "layers": [], "patterns": [] },
|
|
97
|
+
"hexMap": {
|
|
98
|
+
"type": "",
|
|
99
|
+
"shapeGroups": [
|
|
100
|
+
{
|
|
101
|
+
"legendTitle": "",
|
|
102
|
+
"legendDescription": "",
|
|
103
|
+
"items": [{ "key": "", "shape": "Arrow Up", "column": "", "operator": "=", "value": "" }]
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"filterBehavior": "Filter Change",
|
|
108
|
+
"datasets": {},
|
|
109
|
+
"isResponsiveTicks": false,
|
|
110
|
+
"barThickness": "0.37",
|
|
111
|
+
"xAxis": { "type": "categorical", "size": 75, "maxTickRotation": 45, "labelOffset": 0 },
|
|
112
|
+
"data": [
|
|
113
|
+
{ "STATE": "Overall", "Rate": "55", "Location": "Vehicle", "URL": "https://www.cdc.gov" },
|
|
114
|
+
{ "STATE": "Alabama", "Rate": 130, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
115
|
+
{ "STATE": "Alaska", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
116
|
+
{ "STATE": "American Samoa", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
117
|
+
{ "STATE": "Arizona", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
118
|
+
{ "STATE": "Arkansas", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
119
|
+
{ "STATE": "California", "Rate": 30, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
120
|
+
{ "STATE": "Colorado", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
121
|
+
{ "STATE": "Connecticut", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
122
|
+
{ "STATE": "Deleware", "Rate": "57", "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
123
|
+
{ "STATE": "DC", "Rate": 60, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
124
|
+
{ "STATE": "Florida", "Rate": 30, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
125
|
+
{ "STATE": "Georgia", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
126
|
+
{ "STATE": "Guam", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
127
|
+
{ "STATE": "Hawaii", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
128
|
+
{ "STATE": "Idaho", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
129
|
+
{ "STATE": "Illinois", "Rate": 30, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
130
|
+
{ "STATE": "Indiana", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
131
|
+
{ "STATE": "Iowa", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
132
|
+
{ "STATE": "Kansas", "Rate": 57, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
133
|
+
{ "STATE": "Kentucky", "Rate": 60, "Location": "NA", "URL": "https://www.cdc.gov/" },
|
|
134
|
+
{ "STATE": "Louisiana", "Rate": 30, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
135
|
+
{ "STATE": "Maine", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
136
|
+
{ "STATE": "Marshall Islands", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
137
|
+
{ "STATE": "Maryland", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
138
|
+
{ "STATE": "Massachusetts", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
139
|
+
{ "STATE": "Michigan", "Rate": 12, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
140
|
+
{ "STATE": "Micronesia", "Rate": 65, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
141
|
+
{ "STATE": "Minnesota", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
142
|
+
{ "STATE": "Mississippi", "Rate": 57, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
143
|
+
{ "STATE": "Montana", "Rate": 60, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
144
|
+
{ "STATE": "Montana", "Rate": 30, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
145
|
+
{ "STATE": "Nebraska", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
146
|
+
{ "STATE": "Nevada", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
147
|
+
{ "STATE": "New Hampshire", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
148
|
+
{ "STATE": "New Jersey", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
149
|
+
{ "STATE": "New Mexico", "Rate": 12, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
150
|
+
{ "STATE": "New York", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
151
|
+
{ "STATE": "North Carolina", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
152
|
+
{ "STATE": "North Dakota", "Rate": 57, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
153
|
+
{ "STATE": "Northern Mariana Islands", "Rate": "60", "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
154
|
+
{ "STATE": "Ohio", "Rate": 88, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
155
|
+
{ "STATE": "Oklahoma", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
156
|
+
{ "STATE": "Oregon", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
157
|
+
{ "STATE": "Palau", "Rate": 15, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
158
|
+
{ "STATE": "Pennsylvania", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
159
|
+
{ "STATE": "Puerto Rico", "Rate": 30, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
160
|
+
{ "STATE": "Rhode Island", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
161
|
+
{ "STATE": "South Carolina", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
162
|
+
{ "STATE": "South Dakota", "Rate": 86, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
163
|
+
{ "STATE": "Tennessee", "Rate": 60, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
164
|
+
{ "STATE": "Texas", "Rate": 30, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
165
|
+
{ "STATE": "Utah", "Rate": 54, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
166
|
+
{ "STATE": "Vermont", "Rate": 40, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
167
|
+
{ "STATE": "Virgin Islands", "Rate": 55, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
168
|
+
{ "STATE": "Virginia", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
169
|
+
{ "STATE": "Washington", "Rate": 62, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
170
|
+
{ "STATE": "West Virginia", "Rate": 25, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
171
|
+
{ "STATE": "Wyoming", "Rate": 43, "Location": "Vehicle", "URL": "https://www.cdc.gov/" }
|
|
172
|
+
],
|
|
173
|
+
"dataFileName": "valid-data-map.csv",
|
|
174
|
+
"dataFileSourceType": "file",
|
|
175
|
+
"formattedData": [
|
|
176
|
+
{ "STATE": "Overall", "Rate": "55", "Location": "Vehicle", "URL": "https://www.cdc.gov" },
|
|
177
|
+
{ "STATE": "Alabama", "Rate": 130, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
178
|
+
{ "STATE": "Alaska", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
179
|
+
{ "STATE": "American Samoa", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
180
|
+
{ "STATE": "Arizona", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
181
|
+
{ "STATE": "Arkansas", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
182
|
+
{ "STATE": "California", "Rate": 30, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
183
|
+
{ "STATE": "Colorado", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
184
|
+
{ "STATE": "Connecticut", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
185
|
+
{ "STATE": "Deleware", "Rate": "57", "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
186
|
+
{ "STATE": "DC", "Rate": 60, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
187
|
+
{ "STATE": "Florida", "Rate": 30, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
188
|
+
{ "STATE": "Georgia", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
189
|
+
{ "STATE": "Guam", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
190
|
+
{ "STATE": "Hawaii", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
191
|
+
{ "STATE": "Idaho", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
192
|
+
{ "STATE": "Illinois", "Rate": 30, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
193
|
+
{ "STATE": "Indiana", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
194
|
+
{ "STATE": "Iowa", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
195
|
+
{ "STATE": "Kansas", "Rate": 57, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
196
|
+
{ "STATE": "Kentucky", "Rate": 60, "Location": "NA", "URL": "https://www.cdc.gov/" },
|
|
197
|
+
{ "STATE": "Louisiana", "Rate": 30, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
198
|
+
{ "STATE": "Maine", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
199
|
+
{ "STATE": "Marshall Islands", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
200
|
+
{ "STATE": "Maryland", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
201
|
+
{ "STATE": "Massachusetts", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
202
|
+
{ "STATE": "Michigan", "Rate": 12, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
203
|
+
{ "STATE": "Micronesia", "Rate": 65, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
204
|
+
{ "STATE": "Minnesota", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
205
|
+
{ "STATE": "Mississippi", "Rate": 57, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
206
|
+
{ "STATE": "Montana", "Rate": 60, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
207
|
+
{ "STATE": "Montana", "Rate": 30, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
208
|
+
{ "STATE": "Nebraska", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
209
|
+
{ "STATE": "Nevada", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
210
|
+
{ "STATE": "New Hampshire", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
211
|
+
{ "STATE": "New Jersey", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
212
|
+
{ "STATE": "New Mexico", "Rate": 12, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
213
|
+
{ "STATE": "New York", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
214
|
+
{ "STATE": "North Carolina", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
215
|
+
{ "STATE": "North Dakota", "Rate": 57, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
216
|
+
{ "STATE": "Northern Mariana Islands", "Rate": "60", "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
217
|
+
{ "STATE": "Ohio", "Rate": 88, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
218
|
+
{ "STATE": "Oklahoma", "Rate": 40, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
219
|
+
{ "STATE": "Oregon", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
220
|
+
{ "STATE": "Palau", "Rate": 15, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
221
|
+
{ "STATE": "Pennsylvania", "Rate": 60, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
222
|
+
{ "STATE": "Puerto Rico", "Rate": 30, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
223
|
+
{ "STATE": "Rhode Island", "Rate": 40, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
224
|
+
{ "STATE": "South Carolina", "Rate": 55, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
225
|
+
{ "STATE": "South Dakota", "Rate": 86, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
226
|
+
{ "STATE": "Tennessee", "Rate": 60, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
227
|
+
{ "STATE": "Texas", "Rate": 30, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
228
|
+
{ "STATE": "Utah", "Rate": 54, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
229
|
+
{ "STATE": "Vermont", "Rate": 40, "Location": "Home", "URL": "https://www.cdc.gov/" },
|
|
230
|
+
{ "STATE": "Virgin Islands", "Rate": 55, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
231
|
+
{ "STATE": "Virginia", "Rate": 57, "Location": "School", "URL": "https://www.cdc.gov/" },
|
|
232
|
+
{ "STATE": "Washington", "Rate": 62, "Location": "Work", "URL": "https://www.cdc.gov/" },
|
|
233
|
+
{ "STATE": "West Virginia", "Rate": 25, "Location": "Vehicle", "URL": "https://www.cdc.gov/" },
|
|
234
|
+
{ "STATE": "Wyoming", "Rate": 43, "Location": "Vehicle", "URL": "https://www.cdc.gov/" }
|
|
235
|
+
],
|
|
236
|
+
"dataDescription": { "horizontal": false, "series": false },
|
|
237
|
+
"version": "4.24.10"
|
|
238
|
+
}
|