This repository has been archived by the owner on Jun 28, 2020. It is now read-only.
forked from lbondaryk/PlayerProto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathManzaHealth.html
546 lines (519 loc) · 23.2 KB
/
ManzaHealth.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="Author" content="Leslie Bondaryk" />
<meta name="Owner" content="Pearson" />
<meta name="Copyright" content="Copyright (c) 2013 Pearson. All rights reserved." />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="Carmen Santiago, Demo Book" name="description" />
<title class="setTitle"></title>
<!-- bootstrap_plus.css contains styling for the dropdown menu and other common core styles -->
<link href="css/bootstrap_plus.css" rel="stylesheet" media="screen">
<!-- widgets.css contains styling for the interactive brix -->
<link href="css/widgets.css" rel="stylesheet">
<!-- eCourse-master.css contains styling for all the navigation -->
<link href="css/eCourse-master.css" rel="stylesheet" media="screen">
<!-- content_styles.css contains styling for the narrative layout and responsive design -->
<link href="css/content_styles.css" rel="stylesheet" media="screen">
</head>
<body>
<!-- Body Content -->
<div class="container">
<div class="span12 lc_ec_page">
<section class="lc_ec_fiftyFifty lc_ec_pageInner">
<div class="lc_ec_content">
<h2 class="lc_ec_bHead"><span class='number setId'></span>
<span class="setTitle">Why do disparities in health exist among racial groups?</span>
</h2>
<div class="lc_ec_leading">
<p>Racial inequality is not just reflected in socioeconomic indicators like income, wealth, and education; racial and ethnic groups also show disparities in a variety of indicators related to heath. For example, coronary heart disease is the leading cause of death in the United States, but African Americans are much more likely to die from this condition than any other racial group (Centers for Disease Control and Prevention 2011). African Americans also have the highest rate of infant mortality in the United States, more than double that of whites, Asians, and Hispanics. </p>
<div id="graphGrouped"></div>
</div>
<div class="lc_ec_trailing">
<p class="lc_ec_trailing">Many of these disparities in health are leated to differences in healthcare coverage. According to the US Census Bureas (2011), about 30% of Hispanics and 20% of African Americans lack a regular source of healthcare, compared to less than 12% of whites. As a result, African Americans and Latinos are far more likely than whites to rely on hospitals and clinics for their usual source of health care (US Department of Health and Human Services 2000).</p>
<div id="table0"></div>
<p>Select rows in the table to see the relationship between each racial group and their insured rate (US Department of Health and Human Services 2012 http://aspe.hhs.gov/health/reports/2012/uninsuredintheus/ib.shtml) correlated with the mortality rates shown in the graph.
</p>
<p>One of the most striking disparities in mortality is in the area of homicide. For example, in 2007 the homicide rate for black males was over 10 times the rate for white and Asian males and about 4 times the rate for Latinos and Native Americans. Moreover, blacks have by far the highest rates of HIV infection among any racial or ethnic group in the US.</p>
<div id="mcQuestion0"></div>
</div>
</div>
</section>
</div>
</div>
<script src="js/jquery-latest.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery-ui-1.10.2.custom.js"></script>
<script src="js/toc-structure.js"></script>
<script src="js/eCourse-master.js"></script>
<script src="js/d3.v3.min.js"></script>
<!--
<script src="js/brixlib-compiled.js"></script>
-->
<script src="../closure/closure-library/closure/goog/base.js"></script>
<script src="../closure/closure-library/closure/goog/deps.js"></script>
<script src="js/eventmanager.js"></script>
<script src="js/answerman.js"></script>
<script src="js/submitmanager.js"></script>
<script src="js/mortar-base.js"></script>
<script src="js/widget-base.js"></script>
<script src="js/bricworks.js"></script>
<script src="js/widget-numeric.js"></script>
<script src="js/widget-legend.js"></script>
<script src="js/widget-callouts.js"></script>
<script src="js/widget-button.js"></script>
<script src="js/widget-sketch.js"></script>
<script src="js/widget-prototype-axes.js"></script>
<script src="js/widget-linegraph.js"></script>
<script src="js/widget-barchart.js"></script>
<script src="js/widget-piechart.js"></script>
<script src="js/widget-image.js"></script>
<script src="js/widget-carousel.js"></script>
<script src="js/widget-imageviewer.js"></script>
<script src="js/widget-labelgroup.js"></script>
<script src="js/widget-markergroup.js"></script>
<script src="js/widget-radiogroup.js"></script>
<script src="js/widget-checkgroup.js"></script>
<script src="js/widget-selectgroup.js"></script>
<script src="js/widget-multiplechoicequestion.js"></script>
<script src="js/widget-multiselectquestion.js"></script>
<script src="js/widget-numericquestion.js"></script>
<script src="js/widget-slider.js"></script>
<script src="js/mortar-hilite.js"></script>
<script src="js/briclayer.js"></script>
<script>
// Create an object that will contain the objects needed for the activities
// on this page.
pearson.brix.activity = {};
var a = pearson.brix.activity;
// The activity config that defines the brix and mortar for this page
a.config =
{
"description": "The Neff Age Structure activity, w/ a pyramid chart, a slider and a readout.",
"sequenceNodeKey": "b3d5b510-34dd-480f-b8e1-b474522c9b03",
"containerConfig":
[
{
"description": "container for the cause of death by race chart",
"containerId": "graphGrouped",
"brixConfig":
[
{
"bricId": "groupGraph",
"bricType": "BarChart",
"config":
{
"id": "death",
//"Data": [whites, blacks, hispanics, asians],
"type": "grouped",
"xAxisFormat":
{
"type": "linear",
"ticks": 4,
"orientation": "bottom",
"label": "Mortality Rate (deaths per 100,000/year)"
},
"yAxisFormat":
{
"type": "ordinal",
"orientation": "left",
"label": "Cause of Death"
},
},
"configFixup":
[
{
"type": "set-property",
"name": "Data",
"value":
{
"type": "array",
"elements":
[
{ "type": "ref", "domain": "data", "refId": "whites" },
{ "type": "ref", "domain": "data", "refId": "blacks" },
{ "type": "ref", "domain": "data", "refId": "hispanics" },
{ "type": "ref", "domain": "data", "refId": "asians" }
]
}
}
]
},
{
"bricId": "legBar",
"bricType": "Legend",
"config":
{
"id": "legdeath",
"type": "box",
"xPos": "right",
"yPos": "top",
"labels":
[
{"content": "White"},
{"content": "Black"},
{"content": "Hispanic"},
{"content": "Asian"}
],
}
},
{
"bricId": "cntr1",
"bricType": "SvgContainer",
"config":
{
//"node": d3.select("#graph0"),
"maxSize": {"height": 600, "width": 477},
},
"configFixup":
[
{
"type": "set-property",
"name": "node",
"value":
{
"type": "d3select",
"selector": "#graphGrouped"
}
}
]
}
],
"mortarConfig":
[
{
"mortarId": "hilite1",
"mortarType": "Hilite",
"config":
{
"eventDetailsProperty": "selectKey"
},
"configFixup":
[
{
"type": "set-property",
"name": "topic",
"value":
{
"type": "brix-topic",
"bricType": "Legend",
"instanceId": "legdeath",
"eventName": "selected"
}
},
{
"type": "set-property",
"name": "targetBric",
"value": { "type": "ref", "domain": "brix", "refId": "groupGraph" }
}
]
},
{
"mortarId": "hilite2",
"mortarType": "Hilite",
"config":
{
"eventDetailsProperty": "selectKey"
},
"configFixup":
[
{
"type": "set-property",
"name": "topic",
"value":
{
"type": "brix-topic",
"bricType": "BarChart",
"instanceId": "death",
"eventName": "selected"
}
},
{
"type": "set-property",
"name": "targetBric",
"value": { "type": "ref", "domain": "brix", "refId": "legBar" }
}
]
},
{
"mortarId": "hilite3",
"mortarType": "Hilite",
"config":
{
"eventDetailsProperty": "selectKey"
},
"configFixup":
[
{
"type": "set-property",
"name": "topic",
"value":
{
"type": "brix-topic",
"bricType": "Callouts",
"instanceId": "insTbl",
"eventName": "selected"
}
},
{
"type": "set-property",
"name": "targetBric",
"value": { "type": "ref", "domain": "brix", "refId": "legBar" }
}
]
}
],
"hookupActions":
[
{
"description": "Append the death chart to the svg container",
"type": "method-call",
"instance": {"type": "ref", "domain": "brix", "refId": "cntr1"},
"methodName": "append",
"args":
[
{ "type": "ref", "domain": "brix", "refId": "groupGraph" },
]
},
{
"description": "Append the death chart's legend to the svg container",
"type": "method-call",
"instance": {"type": "ref", "domain": "brix", "refId": "cntr1"},
"methodName": "append",
"args":
[
{ "type": "ref", "domain": "brix", "refId": "legBar" },
]
}
]
},
{
"description": "container for the race insurance table",
"containerId": "table0",
"brixConfig":
[
{
"bricId": "insTable",
"bricType": "Callouts",
"config":
{
"id": "insTbl",
"show": "all",
"headers": ["Race", "Uninsured Rate (%)"],
"textBits":
[
{"cols": ["White", "11.1%"]},
{"cols": ["Black", "19.5%"]},
{"cols": ["Hispanic", "30.1%"]},
{"cols": ["Asian", "16.8%"]}
]
}
}
],
"mortarConfig":
[
{
"mortarId": "hilite4",
"mortarType": "Hilite",
"config":
{
"eventDetailsProperty": "selectKey"
},
"configFixup":
[
{
"type": "set-property",
"name": "topic",
"value":
{
"type": "brix-topic",
"bricType": "Legend",
"instanceId": "legdeath",
"eventName": "selected"
}
},
{
"type": "set-property",
"name": "targetBric",
"value": { "type": "ref", "domain": "brix", "refId": "insTable" }
}
]
},
{
"mortarId": "hilite5",
"mortarType": "Hilite",
"config":
{
"eventDetailsProperty": "selectKey"
},
"configFixup":
[
{
"type": "set-property",
"name": "topic",
"value":
{
"type": "brix-topic",
"bricType": "BarChart",
"instanceId": "death",
"eventName": "selected"
}
},
{
"type": "set-property",
"name": "targetBric",
"value": { "type": "ref", "domain": "brix", "refId": "insTable" }
}
]
}
],
"hookupActions":
[
{
"description": "Draw the insurance table",
"type": "method-call",
"instance": {"type": "ref", "domain": "brix", "refId": "insTable"},
"methodName": "draw",
"args":
[
{ "type": "d3select", "selector": "#table0" },
]
}
]
},
{
"description": "container for the homicide question",
"containerId": "mcQuestion0",
"brixConfig":
[
{
"bricId": "Q0",
"bricType": "MultipleChoiceQuestion",
"config":
{
"id": "homicideQ",
//"questionId": "homicide",
"order": "randomized",
"presenterType": "SelectGroup",
"presenterConfig":
{
"numberFormat": "none",
"question": true
},
"question": "Does the difference in insurance rates explain the high mortality rate from homicide for African Americans?",
"choices":
[
{
"content": "Yes, some homicides might not be fatal if health care were available.",
"answerKey": "answer000"
},
{
"content": "No, that's a different socioeconomic indicator.",
"answerKey": "answer001"
},
]
},
"configFixup":
[
{
"type": "set-property",
"name": "questionId",
"value": { "type": "ref", "domain": "info", "refId": "sequenceNodeKey" }
}
],
"answerKey":
{
"assessmentType": "multiplechoice",
"answers":
{
"answer000":
{
"score": 1,
"response": "Wow, that's a surprise."
},
"answer001":
{
"score": 1,
"response": "This does seem more likely, doesn't it?",
}
}
}
}
],
"hookupActions":
[
{
"description": "Hookup the submit manager to evaluate answers",
"type": "method-call",
"instance": { "type": "submit-manager" },
"methodName": "handleRequestsFrom",
"args":
[
{ "type": "ref", "domain": "brix", "refId": "Q0" },
]
},
{
"description": "Draw the homicide question",
"type": "method-call",
"instance": {"type": "ref", "domain": "brix", "refId": "Q0"},
"methodName": "draw",
"args":
[
{ "type": "d3select", "selector": "#mcQuestion0" },
]
}
]
},
],
"data":
{
"insurance":
[
{y: "White", x: 11.1},
{y: "Black", x: 19.5},
{y: "Asian", x: 16.8},
{y: "Hispanic", x: 30.1}
],
"whites":
[
{y: "Coronary Deaths", x: 134.2},
{y: "HIV Deaths", x: 8.2},
{y: "Infant Mortality", x: 5.58},
{y: "Homicide Deaths", x: 2.7},
],
"blacks":
[
{y: "Coronary Deaths", x: 161.6},
{y: "HIV Deaths", x: 73.7},
{y: "Infant Mortality", x: 13.36},
{y: "Homicide Deaths", x: 23.1},
],
"hispanics":
[
{y: "Coronary Deaths", x: 106.4},
{y: "HIV Deaths", x: 25},
{y: "Infant Mortality", x: 5.41},
{y: "Homicide Deaths", x: 7.6},
],
"asians":
[
{y: "Coronary Deaths", x: 77.1},
{y: "HIV Deaths", x: 7.2},
{y: "Infant Mortality", x: 4.55},
{y: "Homicide Deaths", x: 2.4},
]
}
};
// create the eventmanager to be used by the created brix, and the
// bricLayer which will create them, and then tell the bricLayer to build.
a.eventManager = new pearson.utils.EventManager();
a.answerMan = new pearson.brix.utils.LocalAnswerMan();
a.submitManager = new pearson.brix.utils.SubmitManager(a.eventManager, a.answerMan);
a.bricLayer = new pearson.brix.BricLayer(null, a.eventManager, a.submitManager);
a.building = a.bricLayer.build(a.config);
a.answerMan.registerAnswerKey(a.config.sequenceNodeKey,
a.config.containerConfig[2].brixConfig[0].answerKey);
</script>
</body>
</html>