@cdc/map 4.25.7 → 4.25.8

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 (44) hide show
  1. package/CLAUDE.local.md +0 -0
  2. package/dist/cdcmap.js +22037 -22074
  3. package/examples/private/filter-map.json +909 -0
  4. package/examples/private/rsv-data.json +532 -0
  5. package/examples/private/test.json +222 -640
  6. package/index.html +34 -35
  7. package/package.json +3 -3
  8. package/src/CdcMap.tsx +7 -2
  9. package/src/CdcMapComponent.tsx +26 -8
  10. package/src/_stories/CdcMap.stories.tsx +8 -11
  11. package/src/_stories/_mock/multi-state.json +21389 -0
  12. package/src/components/CityList.tsx +4 -4
  13. package/src/components/DataTable.tsx +8 -4
  14. package/src/components/EditorPanel/components/EditorPanel.tsx +24 -38
  15. package/src/components/Legend/components/Legend.tsx +23 -35
  16. package/src/components/Modal.tsx +2 -8
  17. package/src/components/NavigationMenu.tsx +4 -1
  18. package/src/components/UsaMap/components/SingleState/SingleState.StateOutput.tsx +21 -15
  19. package/src/components/UsaMap/components/TerritoriesSection.tsx +2 -2
  20. package/src/components/UsaMap/components/UsaMap.County.tsx +6 -1
  21. package/src/components/UsaMap/components/UsaMap.SingleState.tsx +36 -24
  22. package/src/components/UsaMap/helpers/map.ts +16 -8
  23. package/src/components/WorldMap/WorldMap.tsx +17 -0
  24. package/src/context.ts +1 -0
  25. package/src/data/initial-state.js +8 -6
  26. package/src/data/supported-geos.js +185 -2
  27. package/src/helpers/addUIDs.ts +8 -8
  28. package/src/helpers/applyColorToLegend.ts +24 -43
  29. package/src/helpers/applyLegendToRow.ts +5 -7
  30. package/src/helpers/displayGeoName.ts +11 -6
  31. package/src/helpers/formatLegendLocation.ts +1 -3
  32. package/src/helpers/generateRuntimeLegend.ts +149 -333
  33. package/src/helpers/getStatesPicked.ts +11 -0
  34. package/src/helpers/handleMapAriaLabels.ts +2 -2
  35. package/src/hooks/useStateZoom.tsx +116 -86
  36. package/src/index.jsx +6 -1
  37. package/src/scss/main.scss +23 -12
  38. package/src/store/map.actions.ts +2 -2
  39. package/src/store/map.reducer.ts +4 -4
  40. package/src/types/MapConfig.ts +2 -3
  41. package/src/types/MapContext.ts +2 -1
  42. package/src/types/runtimeLegend.ts +1 -15
  43. package/src/_stories/_mock/floating-point.json +0 -427
  44. package/src/helpers/getStatePicked.ts +0 -8
@@ -1,645 +1,227 @@
1
1
  {
2
- "annotations": [],
3
- "general": {
4
- "navigationTarget": "_self",
5
- "noStateFoundMessage": "Map Unavailable",
6
- "annotationDropdownText": "Annotations",
7
- "geoBorderColor": "darkGray",
8
- "headerColor": "theme-blue",
9
- "title": "<em>4.25.05</em> ",
10
- "showTitle": true,
11
- "showSidebar": true,
12
- "showDownloadMediaButton": false,
13
- "displayAsHex": false,
14
- "displayStateLabels": true,
15
- "territoriesAlwaysShow": true,
16
- "language": "en",
17
- "geoType": "us",
18
- "geoLabelOverride": "",
19
- "hasRegions": false,
20
- "fullBorder": false,
21
- "type": "data",
22
- "convertFipsCodes": true,
23
- "palette": {
24
- "isReversed": false
25
- },
26
- "allowMapZoom": true,
27
- "hideGeoColumnInTooltip": false,
28
- "hidePrimaryColumnInTooltip": false,
29
- "statePicked": {
30
- "fipsCode": "01",
31
- "stateName": "Alabama"
32
- },
33
- "expandDataTable": false,
34
- "superTitle": "<sup>Super</sup> Title",
35
- "introText": "Message: Lorem ipsum dolor sit amet, <em>consectetur adipiscing elit</em>, sed do eiusmod tempor incididunt ut labore et <strong>dolore magna aliqua</strong>. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. <sup> 40</sup>",
36
- "subtext": "Sub: Lorem ipsum dolor sit amet, <em>consectetur adipiscing elit</em>, sed do eiusmod tempor incididunt ut labore et <strong>dolore magna aliqua</strong>. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. <sup> 40</sup>",
37
- "footnotes": "Foot: Lorem ipsum dolor sit amet, <em>consectetur adipiscing elit</em>, sed do eiusmod tempor incididunt ut labore et <strong>dolore magna aliqua</strong>. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. <sup> 40</sup>"
38
- },
39
- "type": "map",
40
- "color": "yellowpurple",
41
- "columns": {
42
- "geo": {
43
- "name": "State",
44
- "label": "Location",
45
- "tooltip": false,
46
- "dataTable": true
47
- },
48
- "primary": {
49
- "dataTable": true,
50
- "tooltip": true,
51
- "prefix": "",
52
- "suffix": "",
53
- "name": "Activity Level",
54
- "label": "Activity Level",
55
- "roundToPlace": 0
56
- },
57
- "navigate": {
58
- "name": "URL"
59
- },
60
- "latitude": {
61
- "name": ""
2
+ "annotations": [],
3
+ "general": {
4
+ "navigationTarget": "_self",
5
+ "noStateFoundMessage": "Map Unavailable",
6
+ "annotationDropdownText": "Annotations",
7
+ "geoBorderColor": "darkGray",
8
+ "headerColor": "theme-blue",
9
+ "title": "",
10
+ "showTitle": true,
11
+ "showSidebar": true,
12
+ "showDownloadMediaButton": false,
13
+ "displayAsHex": false,
14
+ "displayStateLabels": false,
15
+ "territoriesAlwaysShow": false,
16
+ "language": "en",
17
+ "geoType": "us",
18
+ "geoLabelOverride": "State/Territory",
19
+ "hasRegions": false,
20
+ "fullBorder": false,
21
+ "type": "map",
22
+ "convertFipsCodes": true,
23
+ "palette": {
24
+ "isReversed": true
25
+ },
26
+ "allowMapZoom": true,
27
+ "hideGeoColumnInTooltip": false,
28
+ "hidePrimaryColumnInTooltip": false,
29
+ "statePicked": {
30
+ "fipsCode": "01",
31
+ "stateName": "Alabama"
32
+ },
33
+ "equalNumberOptIn": true,
34
+ "subtext": "</div><div class=\"text-left ml-3 pb-3\">* Based on a small segment (less than 5%) of the population and may not be representative of the state/territory.</div> </div><div class=\"text-left ml-3 pb-3\">Data last updated <span class=\"date\">FromDB</span></div>\n\n<p class=\"float-right\"><a href=\"https://wcms-wp.cdc.gov/wcms/vizdata/NCEZID_DIDRI/rsv/nwssrsvstatemapDL.json\">Link to Dataset</a>  <a href=\"https://wcms-wp.cdc.gov/wcms/vizdata/NCEZID_DIDRI/rsv/nwssrsvstatemapDL.csv\">Download Data (CSV)</a>",
35
+ "introText": "",
36
+ "footnotes": "",
37
+ "expandDataTable": false
38
+ },
39
+ "type": "map",
40
+ "color": "greenbluereverse",
41
+ "columns": {
42
+ "geo": {
43
+ "name": "State/Territory",
44
+ "label": "Location",
45
+ "tooltip": false,
46
+ "dataTable": true
47
+ },
48
+ "primary": {
49
+ "dataTable": true,
50
+ "tooltip": true,
51
+ "prefix": "",
52
+ "suffix": "",
53
+ "name": "WVAL_Category",
54
+ "label": "Viral Activity Level",
55
+ "roundToPlace": 0
56
+ },
57
+ "navigate": {
58
+ "name": ""
59
+ },
60
+ "latitude": {
61
+ "name": ""
62
+ },
63
+ "longitude": {
64
+ "name": ""
65
+ },
66
+ "additionalColumn1": {
67
+ "label": "Sites Currently Reporting",
68
+ "dataTable": true,
69
+ "tooltips": false,
70
+ "prefix": "",
71
+ "suffix": "",
72
+ "name": "Number_of_Sites",
73
+ "tooltip": true
74
+ },
75
+ "additionalColumn2": {
76
+ "label": "Limited Coverage",
77
+ "dataTable": true,
78
+ "tooltips": false,
79
+ "prefix": "",
80
+ "suffix": "",
81
+ "name": "Coverage"
82
+ },
83
+ "additionalColumn3": {
84
+ "label": "",
85
+ "dataTable": false,
86
+ "tooltips": false,
87
+ "prefix": "",
88
+ "suffix": "",
89
+ "tooltip": true,
90
+ "name": "hatch"
91
+ }
92
+ },
93
+ "legend": {
94
+ "descriptions": {},
95
+ "specialClasses": [],
96
+ "unified": false,
97
+ "singleColumn": false,
98
+ "singleRow": true,
99
+ "verticalSorted": false,
100
+ "showSpecialClassesLast": true,
101
+ "dynamicDescription": false,
102
+ "type": "category",
103
+ "numberOfItems": 8,
104
+ "position": "bottom",
105
+ "title": "RSV Wastewater Viral Activity Levels",
106
+ "style": "circles",
107
+ "subStyle": "linear blocks",
108
+ "tickRotation": "",
109
+ "singleColumnLegend": false,
110
+ "hideBorder": false,
111
+ "groupBy": "",
112
+ "categoryValuesOrder": [
113
+ "Very High",
114
+ "High",
115
+ "Moderate",
116
+ "Low",
117
+ "Very Low",
118
+ "No Data",
119
+ "Minimal"
120
+ ],
121
+ "additionalCategories": [
122
+ "No Data",
123
+ "Very Low",
124
+ "Low",
125
+ "Moderate",
126
+ "High",
127
+ "Very High"
128
+ ],
129
+ "description": "Select a level to add or remove from map."
130
+ },
131
+ "filters": [],
132
+ "table": {
133
+ "wrapColumns": false,
134
+ "label": "Data Table",
135
+ "expanded": false,
136
+ "limitHeight": true,
137
+ "height": "500",
138
+ "caption": "",
139
+ "showDownloadUrl": true,
140
+ "showDataTableLink": true,
141
+ "showDownloadLinkBelow": true,
142
+ "showFullGeoNameInCSV": false,
143
+ "forceDisplay": true,
144
+ "download": true,
145
+ "indexLabel": "State/Territory",
146
+ "cellMinWidth": "0"
147
+ },
148
+ "tooltips": {
149
+ "appearanceType": "hover",
150
+ "linkLabel": "Learn More",
151
+ "capitalizeLabels": true,
152
+ "opacity": 90
153
+ },
154
+ "visual": {
155
+ "minBubbleSize": 1,
156
+ "maxBubbleSize": 20,
157
+ "extraBubbleBorder": false,
158
+ "cityStyle": "circle",
159
+ "cityStyleLabel": "",
160
+ "showBubbleZeros": false,
161
+ "additionalCityStyles": [],
162
+ "geoCodeCircleSize": 2
163
+ },
164
+ "mapPosition": {
165
+ "coordinates": [
166
+ 0,
167
+ 30
168
+ ],
169
+ "zoom": 1
170
+ },
171
+ "map": {
172
+ "layers": [],
173
+ "patterns": [
174
+ {
175
+ "dataKey": "Coverage",
176
+ "pattern": "lines",
177
+ "dataValue": "Limited Coverage",
178
+ "label": "*Limited Coverage",
179
+ "size": "medium"
180
+ }
181
+ ]
62
182
  },
63
- "longitude": {
64
- "name": ""
183
+ "hexMap": {
184
+ "type": "",
185
+ "shapeGroups": [
186
+ {
187
+ "legendTitle": "",
188
+ "legendDescription": "",
189
+ "items": [
190
+ {
191
+ "key": "",
192
+ "shape": "Arrow up",
193
+ "column": "",
194
+ "operator": "=",
195
+ "value": ""
196
+ }
197
+ ]
198
+ }
199
+ ]
65
200
  },
66
- "additionalColumn1": {
67
- "label": "Funding Status",
68
- "dataTable": true,
69
- "tooltips": false,
70
- "prefix": "",
71
- "suffix": "",
72
- "name": "Funding Status",
73
- "tooltip": true
74
- }
75
- },
76
- "legend": {
77
- "descriptions": {},
78
- "specialClasses": [
79
- {
80
- "key": "Funding Status",
81
- "value": "*",
82
- "label": "Not Funded"
83
- },
84
- {
85
- "key": "Funding Status",
86
- "value": "NA",
87
- "label": "Not Applicable"
88
- }
201
+ "filterBehavior": "Filter Change",
202
+ "filterIntro": "",
203
+ "customColors": [
204
+ "#34547B",
205
+ "#4B7F9B",
206
+ "#4B7F9B",
207
+ "#6BB0BD",
208
+ "#9FDAD0",
209
+ "#C8EFDA",
210
+ "#B4B4B4",
211
+ "#B4B4B4",
212
+ "#B4B4B4",
213
+ "#B4B4B4"
89
214
  ],
90
- "unified": false,
91
- "singleColumn": false,
92
- "singleRow": false,
93
- "verticalSorted": false,
94
- "showSpecialClassesLast": true,
95
- "dynamicDescription": false,
96
- "type": "category",
97
- "numberOfItems": 3,
98
- "position": "top",
99
- "title": "Lorem <em>ipsum dolor</em> sit amet",
100
- "style": "circles",
101
- "subStyle": "linear blocks",
102
- "tickRotation": "",
103
- "singleColumnLegend": false,
104
- "hideBorder": true,
105
- "groupBy": "",
106
- "description": "Lorem ipsum dolor sit amet, <em>consectetur adipiscing elit</em>, sed do eiusmod tempor incididunt ut labore et <strong>dolore magna aliqua</strong>. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. <sup> 40</sup>",
107
- "categoryValuesOrder": [
108
- "Zero",
109
- "Minimal",
110
- "Very Low",
111
- "Low",
112
- "Moderate",
113
- "High",
114
- "Very High",
115
- "Super Duper High"
116
- ]
117
- },
118
- "filters": [],
119
- "data": [
120
- {
121
- "State": "AL",
122
- "Activity Level": "Very High",
123
- "Funding Status": "*",
124
- "URL": "https://www.cdc.gov/flu/",
125
- "uid": "US-AL"
126
- },
127
- {
128
- "State": "AK",
129
- "Activity Level": "High",
130
- "Funding Status": "Current",
131
- "URL": "https://www.cdc.gov/mmwr/",
132
- "uid": "US-AK"
133
- },
134
- {
135
- "State": "AS",
136
- "Activity Level": "Moderate",
137
- "Funding Status": "Current",
138
- "URL": "https://www.cdc.gov/flu/",
139
- "uid": null
140
- },
141
- {
142
- "State": "AZ",
143
- "Activity Level": "Low",
144
- "Funding Status": "Current",
145
- "URL": "https://www.cdc.gov/flu/",
146
- "uid": "US-AZ"
147
- },
148
- {
149
- "State": "AR",
150
- "Activity Level": "Minimal",
151
- "Funding Status": "Current",
152
- "URL": "https://www.cdc.gov/mmwr/",
153
- "uid": "US-AR"
154
- },
155
- {
156
- "State": "CA",
157
- "Activity Level": "Very High",
158
- "Funding Status": "NA",
159
- "URL": "https://www.cdc.gov/flu/",
160
- "uid": "US-CA"
161
- },
162
- {
163
- "State": "CO",
164
- "Activity Level": "High",
165
- "Funding Status": "Current",
166
- "URL": "https://www.cdc.gov/flu/",
167
- "uid": "US-CO"
168
- },
169
- {
170
- "State": "CT",
171
- "Activity Level": "Moderate",
172
- "Funding Status": "Current",
173
- "URL": "https://www.cdc.gov/mmwr/",
174
- "uid": "US-CT"
175
- },
176
- {
177
- "State": "DE",
178
- "Activity Level": "Very Low",
179
- "Funding Status": "Current",
180
- "URL": "https://www.cdc.gov/flu/",
181
- "uid": "US-DE"
182
- },
183
- {
184
- "State": "DC",
185
- "Activity Level": "Minimal",
186
- "Funding Status": "Current",
187
- "URL": "https://www.cdc.gov/flu/",
188
- "uid": "US-DC"
189
- },
190
- {
191
- "State": "FL",
192
- "Activity Level": "Very High",
193
- "Funding Status": "Current",
194
- "URL": "https://www.cdc.gov/mmwr/",
195
- "uid": "US-FL"
196
- },
197
- {
198
- "State": "GA",
199
- "Activity Level": "High",
200
- "Funding Status": "Current",
201
- "URL": "https://www.cdc.gov/flu/",
202
- "uid": "US-GA"
203
- },
204
- {
205
- "State": "GU",
206
- "Activity Level": "Moderate",
207
- "Funding Status": "*",
208
- "URL": "https://www.cdc.gov/flu/",
209
- "uid": null
210
- },
211
- {
212
- "State": "HI",
213
- "Activity Level": "Low",
214
- "Funding Status": "Current",
215
- "URL": "https://www.cdc.gov/mmwr/",
216
- "uid": "US-HI"
217
- },
218
- {
219
- "State": "ID",
220
- "Activity Level": "Zero",
221
- "Funding Status": "Current",
222
- "URL": "https://www.cdc.gov/flu/",
223
- "uid": "US-ID"
224
- },
225
- {
226
- "State": "IL",
227
- "Activity Level": "Very High",
228
- "Funding Status": "Current",
229
- "URL": "https://www.cdc.gov/flu/",
230
- "uid": "US-IL"
231
- },
232
- {
233
- "State": "IN",
234
- "Activity Level": "High",
235
- "Funding Status": "Current",
236
- "URL": "https://www.cdc.gov/mmwr/",
237
- "uid": "US-IN"
238
- },
239
- {
240
- "State": "IA",
241
- "Activity Level": "Moderate",
242
- "Funding Status": "Current",
243
- "URL": "https://www.cdc.gov/flu/",
244
- "uid": "US-IA"
245
- },
246
- {
247
- "State": "KS",
248
- "Activity Level": "Low",
249
- "Funding Status": "Current",
250
- "URL": "https://www.cdc.gov/flu/",
251
- "uid": "US-KS"
252
- },
253
- {
254
- "State": "KY",
255
- "Activity Level": "Minimal",
256
- "Funding Status": "Current",
257
- "URL": "https://www.cdc.gov/mmwr/",
258
- "uid": "US-KY"
259
- },
260
- {
261
- "State": "LA",
262
- "Activity Level": "Very High",
263
- "Funding Status": "*",
264
- "URL": "https://www.cdc.gov/flu/",
265
- "uid": "US-LA"
266
- },
267
- {
268
- "State": "ME",
269
- "Activity Level": "High",
270
- "Funding Status": "Current",
271
- "URL": "https://www.cdc.gov/flu/",
272
- "uid": "US-ME"
273
- },
274
- {
275
- "State": "MH",
276
- "Activity Level": "Moderate",
277
- "Funding Status": "Current",
278
- "URL": "https://www.cdc.gov/mmwr/",
279
- "uid": null
280
- },
281
- {
282
- "State": "MD",
283
- "Activity Level": "Low",
284
- "Funding Status": "Current",
285
- "URL": "https://www.cdc.gov/flu/",
286
- "uid": "US-MD"
287
- },
288
- {
289
- "State": "MA",
290
- "Activity Level": "Minimal",
291
- "Funding Status": "Current",
292
- "URL": "https://www.cdc.gov/flu/",
293
- "uid": "US-MA"
294
- },
295
- {
296
- "State": "MI",
297
- "Activity Level": "Very High",
298
- "Funding Status": "Current",
299
- "URL": "https://www.cdc.gov/mmwr/",
300
- "uid": "US-MI"
301
- },
302
- {
303
- "State": "FM",
304
- "Activity Level": "High",
305
- "Funding Status": "Current",
306
- "URL": "https://www.cdc.gov/flu/",
307
- "uid": null
308
- },
309
- {
310
- "State": "MN",
311
- "Activity Level": "Moderate",
312
- "Funding Status": "NA",
313
- "URL": "https://www.cdc.gov/flu/",
314
- "uid": "US-MN"
315
- },
316
- {
317
- "State": "MS",
318
- "Activity Level": "Very Low",
319
- "Funding Status": "Current",
320
- "URL": "https://www.cdc.gov/mmwr/",
321
- "uid": "US-MS"
322
- },
323
- {
324
- "State": "MO",
325
- "Activity Level": "Zero",
326
- "Funding Status": "Current",
327
- "URL": "https://www.cdc.gov/flu/",
328
- "uid": "US-MO"
329
- },
330
- {
331
- "State": "MT",
332
- "Activity Level": "Very High",
333
- "Funding Status": "Current",
334
- "URL": "https://www.cdc.gov/flu/",
335
- "uid": "US-MT"
336
- },
337
- {
338
- "State": "NE",
339
- "Activity Level": "High",
340
- "Funding Status": "Current",
341
- "URL": "https://www.cdc.gov/mmwr/",
342
- "uid": "US-NE"
343
- },
344
- {
345
- "State": "NV",
346
- "Activity Level": "Moderate",
347
- "Funding Status": "Current",
348
- "URL": "https://www.cdc.gov/flu/",
349
- "uid": "US-NV"
350
- },
351
- {
352
- "State": "NH",
353
- "Activity Level": "Low",
354
- "Funding Status": "Current",
355
- "URL": "https://www.cdc.gov/flu/",
356
- "uid": "US-NH"
357
- },
358
- {
359
- "State": "NJ",
360
- "Activity Level": "Minimal",
361
- "Funding Status": "Current",
362
- "URL": "https://www.cdc.gov/mmwr/",
363
- "uid": "US-NJ"
364
- },
365
- {
366
- "State": "NM",
367
- "Activity Level": "Very High",
368
- "Funding Status": "NA",
369
- "URL": "https://www.cdc.gov/flu/",
370
- "uid": "US-NM"
371
- },
372
- {
373
- "State": "NY",
374
- "Activity Level": "High",
375
- "Funding Status": "Current",
376
- "URL": "https://www.cdc.gov/flu/",
377
- "uid": "US-NY"
378
- },
379
- {
380
- "State": "NC",
381
- "Activity Level": "Zero",
382
- "Funding Status": "Current",
383
- "URL": "https://www.cdc.gov/mmwr/",
384
- "uid": "US-NC"
385
- },
386
- {
387
- "State": "ND",
388
- "Activity Level": "Low",
389
- "Funding Status": "Current",
390
- "URL": "https://www.cdc.gov/flu/",
391
- "uid": "US-ND"
392
- },
393
- {
394
- "State": "MP",
395
- "Activity Level": "Minimal",
396
- "Funding Status": "Current",
397
- "URL": "https://www.cdc.gov/flu/",
398
- "uid": null
399
- },
400
- {
401
- "State": "OH",
402
- "Activity Level": "Very High",
403
- "Funding Status": "Current",
404
- "URL": "https://www.cdc.gov/mmwr/",
405
- "uid": "US-OH"
406
- },
407
- {
408
- "State": "OK",
409
- "Activity Level": "High",
410
- "Funding Status": "Current",
411
- "URL": "https://www.cdc.gov/flu/",
412
- "uid": "US-OK"
413
- },
414
- {
415
- "State": "OR",
416
- "Activity Level": "Moderate",
417
- "Funding Status": "Current",
418
- "URL": "https://www.cdc.gov/flu/",
419
- "uid": "US-OR"
420
- },
421
- {
422
- "State": "PW",
423
- "Activity Level": "Low",
424
- "Funding Status": "Current",
425
- "URL": "https://www.cdc.gov/mmwr/",
426
- "uid": null
427
- },
428
- {
429
- "State": "PA",
430
- "Activity Level": "Minimal",
431
- "Funding Status": "Current",
432
- "URL": "https://www.cdc.gov/flu/",
433
- "uid": "US-PA"
434
- },
435
- {
436
- "State": "PR",
437
- "Activity Level": "Super Duper High",
438
- "Funding Status": "Current",
439
- "URL": "https://www.cdc.gov/flu/",
440
- "uid": null
441
- },
442
- {
443
- "State": "RI",
444
- "Activity Level": "High",
445
- "Funding Status": "Current",
446
- "URL": "https://www.cdc.gov/mmwr/",
447
- "uid": "US-RI"
448
- },
449
- {
450
- "State": "SC",
451
- "Activity Level": "Moderate",
452
- "Funding Status": "Current",
453
- "URL": "https://www.cdc.gov/flu/",
454
- "uid": "US-SC"
455
- },
456
- {
457
- "State": "SD",
458
- "Activity Level": "Low",
459
- "Funding Status": "Current",
460
- "URL": "https://www.cdc.gov/flu/",
461
- "uid": "US-SD"
462
- },
463
- {
464
- "State": "TN",
465
- "Activity Level": "Minimal",
466
- "Funding Status": "Current",
467
- "URL": "https://www.cdc.gov/mmwr/",
468
- "uid": "US-TN"
469
- },
470
- {
471
- "State": "TX",
472
- "Activity Level": "Very High",
473
- "Funding Status": "Current",
474
- "URL": "https://www.cdc.gov/flu/",
475
- "uid": "US-TX"
476
- },
477
- {
478
- "State": "UT",
479
- "Activity Level": "High",
480
- "Funding Status": "Current",
481
- "URL": "https://www.cdc.gov/flu/",
482
- "uid": "US-UT"
483
- },
484
- {
485
- "State": "VT",
486
- "Activity Level": "Moderate",
487
- "Funding Status": "Current",
488
- "URL": "https://www.cdc.gov/mmwr/",
489
- "uid": "US-VT"
490
- },
491
- {
492
- "State": "VI",
493
- "Activity Level": "Low",
494
- "Funding Status": "Current",
495
- "URL": "https://www.cdc.gov/flu/",
496
- "uid": null
497
- },
498
- {
499
- "State": "VA",
500
- "Activity Level": "Minimal",
501
- "Funding Status": "Current",
502
- "URL": "https://www.cdc.gov/flu/",
503
- "uid": "US-VA"
504
- },
505
- {
506
- "State": "WA",
507
- "Activity Level": "Very High",
508
- "Funding Status": "Current",
509
- "URL": "https://www.cdc.gov/mmwr/",
510
- "uid": "US-WA"
511
- },
512
- {
513
- "State": "WV",
514
- "Activity Level": "Super Duper High",
515
- "Funding Status": "Current",
516
- "URL": "https://www.cdc.gov/flu/",
517
- "uid": "US-WV"
518
- },
519
- {
520
- "State": "WI",
521
- "Activity Level": "Moderate",
522
- "Funding Status": "Current",
523
- "URL": "https://www.cdc.gov/flu/",
524
- "uid": "US-WI"
525
- },
526
- {
527
- "State": "WY",
528
- "Activity Level": "Low",
529
- "Funding Status": "Current",
530
- "URL": "https://www.cdc.gov/mmwr/",
531
- "uid": "US-WY"
215
+ "dataFileName": "/wcms/vizdata/NCEZID_DIDRI/rsv/nwssrsvstatemap.json",
216
+ "dataFileSourceType": "url",
217
+ "dataDescription": {
218
+ "horizontal": false,
219
+ "series": false
220
+ },
221
+ "validated": 4.23,
222
+ "dataUrl": "/examples/private/rsv-data.json",
223
+ "version": "4.25.7",
224
+ "migrations": {
225
+ "addColorMigration": true
532
226
  }
533
- ],
534
- "table": {
535
- "wrapColumns": false,
536
- "label": "Data Table",
537
- "expanded": false,
538
- "limitHeight": false,
539
- "height": "",
540
- "caption": "",
541
- "showDownloadUrl": false,
542
- "showDataTableLink": true,
543
- "showDownloadLinkBelow": true,
544
- "showFullGeoNameInCSV": false,
545
- "forceDisplay": true,
546
- "download": true,
547
- "indexLabel": "",
548
- "cellMinWidth": "0"
549
- },
550
- "tooltips": {
551
- "appearanceType": "click",
552
- "linkLabel": "Learn More",
553
- "capitalizeLabels": true,
554
- "opacity": 90
555
- },
556
- "runtime": {
557
- "editorErrorMessage": []
558
- },
559
- "visual": {
560
- "minBubbleSize": 1,
561
- "maxBubbleSize": 20,
562
- "extraBubbleBorder": false,
563
- "cityStyle": "circle",
564
- "cityStyleLabel": "",
565
- "showBubbleZeros": false,
566
- "additionalCityStyles": [],
567
- "geoCodeCircleSize": 8
568
- },
569
- "mapPosition": {
570
- "coordinates": [
571
- 0,
572
- 30
573
- ],
574
- "zoom": 1
575
- },
576
- "map": {
577
- "layers": [
578
- {
579
- "name": "Oregon",
580
- "url": "https://wcms-wp-test.cdc.gov/newtest/adam/custom_map_layers/oregon-topojson.json",
581
- "namespace": "cove (1)",
582
- "fill": "aqua",
583
- "fillOpacity": 1,
584
- "stroke": "black",
585
- "strokeWidth": "3",
586
- "tooltip": "Oregon"
587
- }
588
- ],
589
- "patterns": [
590
- {
591
- "dataKey": "URL",
592
- "pattern": "circles",
593
- "contrastCheck": true,
594
- "dataValue": "https://www.cdc.gov/mmwr/",
595
- "color": "white"
596
- }
597
- ]
598
- },
599
- "hexMap": {
600
- "type": "",
601
- "shapeGroups": [
602
- {
603
- "legendTitle": "",
604
- "legendDescription": "",
605
- "items": [
606
- {
607
- "key": "",
608
- "shape": "Arrow Up",
609
- "column": "",
610
- "operator": "=",
611
- "value": ""
612
- }
613
- ]
614
- }
615
- ]
616
- },
617
- "filterBehavior": "Filter Change",
618
- "filterIntro": "",
619
- "errors": [],
620
- "currentViewport": "lg",
621
- "id": 19,
622
- "category": "Maps",
623
- "label": "United States (State- or County-Level)",
624
- "subType": "us",
625
- "icon": {
626
- "key": null,
627
- "ref": null,
628
- "props": {},
629
- "_owner": null
630
- },
631
- "content": "Present a U.S. choropleth map at state or county level.",
632
- "position": "right",
633
- "datasets": {},
634
- "activeVizButtonID": 19,
635
- "dataFileName": "https://wwwdev.cdc.gov/wcms/4.0/cdc-wp/data-presentation/data/indexed-data-files/09-map-US-categorical-with-lookup-column.csv",
636
- "dataFileSourceType": "url",
637
- "dataDescription": {
638
- "horizontal": false,
639
- "series": false
640
- },
641
- "version": "4.25.4",
642
- "migrations": {
643
- "addColorMigration": true
644
- }
645
- }
227
+ }