-
Notifications
You must be signed in to change notification settings - Fork 73
/
exampleMapD3Crossfilter.html
73 lines (67 loc) · 2.44 KB
/
exampleMapD3Crossfilter.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>MapD</title>
<meta charset="UTF-8">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
<!-- mapd3 requires its own css, you may load it from the unpkg cdn -->
<!-- <link href="https://unpkg.com/[email protected]/dist/mapd3.css" rel="stylesheet" type="text/css"> -->
<style>
.title {
font-weight: bold;
text-align:center;
}
.mapd{
position: relative;
top: 2px;
}
.data-count{
padding-right:20px;
}
.filter-count{
font-weight: bold;
color: #45B1E8;
}
/* tmp fix for mapd3 css bug */
.mapd3.mapd3-container > .svg-wrapper {
overflow-x: hidden;
}
</style>
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header" style="margin-top:10px">
<img alt="Brand" src="images/favicon.png" height="30" width="30">
<span class="mapd">MapD Demo</span>
</div>
<div class="navbar-text navbar-right">
<div class="data-count">
<span class="total"><span><span class="filter-count"></span></span>
<span>of <span class="total-count"></span> flights</span>
</div>
</div>
</div>
</nav>
<div class="main-container">
<div class="col-xs-6">
<div class="title"> Total Number of Flights by State </div>
<div class="chart1-example"></div>
</div>
<div class="col-xs-6">
<div class="title"> Carrier Departure Delay by Arrival Delay <small>(Minutes)</small> </div>
<div class="chart2-example"></div>
</div>
<div class="col-xs-12">
<div class="title"> Number of Flights by Departure Time </div>
<div class="chart3-example"></div>
</div>
</div>
<!-- we're loading mapd3 using webpack in this example, but you may also
include the mapd3.js library via the unkpg cdn: -->
<!-- <script src="https://unpkg.com/[email protected]/dist/mapd3.js"></script> -->
<script src="assets/app.bundle.js"></script>
<script src="assets/exampleMapD3Crossfilter.bundle.js"></script>
</body>
</html>