-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (48 loc) · 2.55 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
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
</head>
<div id=all>
<div id=explainer_container>
<h2>Changes in DC Neighborhoods, by the block</h2>
<p>
This map uses data from the <em>American Community Surveys</em> to explore the changing dynamics of DC neighborhoods, showing whether a block group underwent a <b style="color:#8e0152">decrease</b> or <b style="color:#276419">increase</b> in specific socio-economic indicators.
</p>
</div>
<div id=legend_container>
<h6>Percent Change in </h6>
<select name="indicators" id="selector"></select>
<h6>from 2009 to 2016</h6>
</div>
<div id=indicators_container>
<p>
Click on another block to see changes in each indicator from 2009 to 2016.
</p>
<h5 id=neighborhood_name></h5>
<h5 id=block_name></h5>
</div>
<div id=map_container>
<div id="tooltip" class="hidden">
<p><span id="tooltip_name"></span></p>
<p>2009: <span id="tooltip_09"></span></p>
<p>2016: <span id="tooltip_16"></span></p>
<p><span id="tooltip_delta"></span></p>
</p>
</div>
</div>
</div>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/css/bootstrap-select.min.css"> -->
<!-- Latest compiled and minified JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/js/bootstrap-select.min.js"></script> -->
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/d3-selection-multi.v0.4.min.js"></script>
<script src="https://d3js.org/d3-scale-chromatic.v1.min.js"></script>
<script src="https://d3js.org/topojson.v2.min.js"></script>
<script src="js/map.js"></script>