-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeath.html
73 lines (54 loc) · 1.72 KB
/
death.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
<head>
<style>
body {
font-family: Helvetica;
font-size: 15px;
/* background-image: linear-gradient(#000000,#FFFFFF,#FFFFFF );*/
}
.slice {
cursor: pointer;
}
.tooltip {
color:black;
font-size: 18;
}
.slice .main-arc {
stroke: #fff;
stroke-width: 1px;
}
.slice .hidden-arc {
fill: none;
}
.slice text {
pointer-events: none;
dominant-baseline: middle;
text-anchor: middle;
}
.browser text {
text-anchor: end;
}
.focus circle {
fill: black;
stroke: white;
}
.overlay {
fill: none;
pointer-events: all;
}
.bar {
fill: steelblue;
}
.axis path {
display: none;
}
</style>
<script src='https://d3js.org/d3.v4.min.js'></script>
</head>
<body >
<h1 style="text-align: center"> How people tend to die</h1>
<h3 style="text-align: center">By Mahdi Mohamed</h3>
<h4>Information:</h4>
<p>This data is from the <a href="https://wonder.cdc.gov/ucd-icd10.html"> Underlying Cause of Death database </a> maintained by the Centers for Disease Control and Prevention. It provides data for the number of people who died in the United States between 1996 and 2016. The records are based on death certificates. This interaction below covers the main categories, or chapters, of death as they are referred to by the ICD. It shows how causes of death vary across sex, race, and age.</p>
<h4>Interaction:</h4>
<div><script src='death.js'></script></div>
</body>