-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
91 lines (78 loc) · 4.91 KB
/
index.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
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>Spectrum - Autism Prevalence Map</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- CSS libraries
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
<!-- Custom CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/style.css">
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="shortcut icon" href="https://www.spectrumnews.org/wp-content/themes/sfari-spectrum/img/favicon.png" />
</head>
<body>
<!-- Navbar
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<nav class="navbar fixed-top navbar-light" style="background-color: #fff;">
<a class="navbar-brand" href="#">
<img src="img/spectrum-mark-orange.png" width="30" height="30" class="d-inline-block align-top" alt="">
Spectrum Global Autism Prevalence Map
</a>
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" href="#">Map View</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">List View</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
</ul>
</nav>
<!-- Main Container
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container-fluid">
<div class="row">
<div class="col">
<!-- Map div
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div id="map"></div>
</div>
</div>
</div>
<!-- Zoom buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div id="zoom-buttons" class="zoom-buttons btn-group-vertical">
<button type="button" id="zoom-in" class="btn btn-dark"><i class="fas fa-plus"></i></button>
<button type="button" id="zoom-out" class="btn btn-dark"><i class="fas fa-minus"></i></button>
</div>
<!-- JS libraries
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://unpkg.com/topojson@3"></script>
<script src="https://d3js.org/d3-array.v1.min.js"></script>
<script src="https://d3js.org/d3-geo.v1.min.js"></script>
<script src="https://d3js.org/d3-geo-projection.v2.min.js"></script>
<!-- Custom JS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script src="js/map.js"></script>
</body>
</html>