-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgdp.html
67 lines (64 loc) · 1.69 KB
/
gdp.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
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/chartist/0.9.1/chartist.min.css">
<link rel="stylesheet" type="text/css" href="http://www.tampabay.com/iwov-resources/style.css">
<link href='http://fonts.googleapis.com/css?family=Merriweather' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<script src="http://blog.apps.npr.org/pym.js/dist/pym.min.js" type="text/javascript"></script>
<title>Annual U.S. GDP</title>
<style type="text/css">
h3 {
font-family: 'Open Sans', sans-serif;
margin-bottom: 20px;
text-align: center;
}
h5 {
font-family: 'Open Sans', sans-serif;
}
p {
font-family: 'Merriweather', sans-serif;
font-size: .7em;
}
#gdp {
padding: 0 10 10 10;
max-width: 500px;
}
.ct-series-a .ct-line {
stroke: #50a291;
}
.ct-series-a .ct-point {
stroke: #50a291;
}
.ct-label {
font-family: sans-serif;
color: black;
}
</style>
</head>
<body>
<div id="embedgdp">
<div id="gdp">
<h3>The U.S. GDP has risen for the first half of 2015</h3>
<h5>Percentage GDP growth per quarter</h5>
<div class="ct-chart ct-major-twelfth"></div>
<p>Source: U.S. Department of Commerce</p>
<p style="text-align: right;">ARIC CHOKEY | Times</p>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chartist/0.9.1/chartist.min.js"></script>
<script>
var data = {
labels: ['1Q 2014', '2Q 2014', '3Q 2014', '4Q 2014', '1Q 2015', '2Q 2015'],
series: [
[-0.9, 4.6, 4.3, 2.1, 0.6, 2.3]
]
};
var options = {
lineSmooth: false,
};
new Chartist.Line ('.ct-chart', data, options);
var pymChild = new pym.Child();
</script>
</body>
</html>