-
Notifications
You must be signed in to change notification settings - Fork 0
/
donut.html
39 lines (33 loc) · 1.1 KB
/
donut.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Crushing Data in JavaScript</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<div class="container">
<h1> 2010 Populations by Generation </h1>
<svg class="chart"> </svg>
<div class="form-group">
<label for="gender">Select gender:</label>
<select class="form-control" id="gender">
<option value = ""></option>
<option value = "females">Female</option>
<option value = "males">Male</option>
<option value = "total">Total</option>
</select>
</div>
</div>
</body>
<script src="https://d3js.org/d3.v4.js"></script>
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script src="js/graph.js"></script>
<script src="js/crush.js"></script>
<script src="js/main2.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</html>