forked from hamilton/slopegraphs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slopegraph.html
46 lines (40 loc) · 1.35 KB
/
slopegraph.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
<html>
<head>
<!--[if lt IE 7]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
<script type="text/javascript">
if (!window.console) console = {log: function() {}};
</script>
<link type="text/css" rel="stylesheet" href="slopegraph.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://d3js.org/d3.v2.min.js"></script>
<script type="text/javascript" src = "slopegraph.js"></script>
</head>
<body>
<section id="wrapper">
<div id='slopegraph'></div>
<div id = 'infobox'>
<h2 id="c_name">County</h2>
<h1 id="difference">+18.1</h1>
<h4><span class = "num" id = "num_left">11.7</span>-<span class = "num" id = "num_right">17.1</span></h4>
</div>
</section>
<section id="contols">
<select id = "data_set1">
</select>
<select id = "year1">
</select>
<select id = "data_set2">
</select>
<select id = "year2">
</select>
</section>
</body>
</html>