-
Notifications
You must be signed in to change notification settings - Fork 0
/
heat-related-deaths-include.html
79 lines (54 loc) · 2.1 KB
/
heat-related-deaths-include.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Adam Marton</title>
<meta name="description" content="Merrill College of Journalism, UMD">
<meta name="author" content="Adam Marton">
<!-- c3.css -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/c3/0.6.13/c3.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<!-- d3.js and c3.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/c3/0.6.13/c3.min.js"></script>
<!-- Load d3.js -->
<script src="https://d3js.org/d3.v4.js"></script>
<!-- our CSS -->
<link rel="stylesheet" href="css/neighborhood-heat-inequality.css">
<link rel="stylesheet" href="css/common.css">
<!-- Required for sidescroll -->
<link rel="stylesheet" href="css/scroll-style.css">
<!-- graphics CSS -->
<link rel="stylesheet" href="css/graphics-css.css">
<!-- Fontawesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
</head>
<body>
<div id='chart'></div>
<script type = "text/javascript">
var chart = c3.generate(
{
data: { x: 'x',
columns: [
['x', 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019],
['data1', 13, 2, 3, 1, 5, 0, 13],
['data2', 46, 17, 8, 6, 24, 5, 28]
],
names: {
data1: 'City of Baltimore',
data2: 'Maryland'
},
type: 'bar'
},
color: {
pattern: ['#F5A831', '#D9412F']
},
bar: {
width: {
ratio: 0.75
}
}
});
</script>
</body>
</html>