-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
index.html
248 lines (191 loc) · 11.4 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ungentry</title>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" type="text/css">
<link rel="stylesheet" href="./lib/bootstrap/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="./lib/bootstrap-tour/bootstrap-tour.min.css" type="text/css" />
<link rel="stylesheet" href="./lib/css/font-awesome.min.css" type="text/css" />
<link rel="stylesheet" href="./lib/leaflet-0.7.3/leaflet.css" type="text/css" />
<link rel="stylesheet" href="./src/style.css" type="text/css">
<script data-main="src/main.js" src="lib/require.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37610225-7', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<!-- Static navbar -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><h2>Ungentry</h2></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<form class="navbar-form navbar-right" role="search">
<div class="input-group">
<input type="text" id="address" class="form-control" placeholder="Search for addresses">
<span class="input-group-btn">
<button type="button" id="sendaddress" class="btn btn-default">Submit</button>
</span>
</div>
</form>
<ul class="nav navbar-nav navbar-right">
<li id="about"><a data-toggle="modal" href="#aboutModal"><span class="glyphicon glyphicon-info-sign"></span></a></li>
<li id="data-info"><a data-toggle="modal" href="#dataModal"><span class="glyphicon glyphicon-stats"></span></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-share"></span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li style="padding-left:5px;"><a href="https://twitter.com/share" class="twitter-share-button" data-url="http://codeforboston.github.io/ungentry/" data-text="See what data says about your neighborhood" data-lang="en"></a></li>
<li style="padding-left:5px;">
<div class="fb-like" data-href="http://codeforboston.github.io/ungentry/" data-layout="button_count" data-action="like" data-show-faces="false" datashare="true"></div>
</li>
<li class="divider"></li>
<li style="padding-left:5px;" ><iframe src="https://rawgit.com/mdo/github-buttons/master/github-btn.html?user=codeforboston&repo=ungentry&type=fork&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="95" height="20"></iframe></li>
</ul>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container-fluid -->
</nav>
<div class="row">
<ul class="nav nav-tabs hidden-lg hidden-md col-sm-12 col-xs-12" id="small_display">
<li role="presentation" id='link_1990' class='col-sm-2 col-xs-4'><a href="">1990</a></li>
<li role="presentation" id='link_2000' class='col-sm-2 col-xs-4'><a href="">2000</a></li>
<li role="presentation" id='link_2010' class='col-sm-2 col-xs-4'><a href="">2010</a></li>
</ul>
</div>
<div class="row maps ">
<div class="col-sm-8 col-md-9 map-group">
<!-- map0 starts as active (for smaller screens) -->
<div id="map0_col" class="map-segment first map-wrapper active">
<div id="map0" class="map">
<h2 id="date">1990</h2>
</div>
</div>
<div id="map1_col" class="map-segment second map-wrapper">
<div id="map1" class="map" >
<h2>2000</h2>
</div>
</div>
<div id="map2_col" class="map-segment third map-wrapper">
<div id="map2" class="map">
<h2>2010</h2>
</div>
</div>
</div>
<div class="col-sm-4 col-md-3 map-wrapper sidebar-wrapper" id="sidebar">
<div class="sidebar">
<button class="sidebar-toggle">
Toggle Variable Selector
</button>
<div style="height:43px">
<ul class="nav nav-tabs" id="tab-menus">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span><b class="caret"></b></a>
<ul class="dropdown-menu cat-household">
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-usd"></span><b class="caret"></b></a>
<ul class="dropdown-menu cat-income">
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle cat-housing" data-toggle="dropdown"><span class="glyphicon glyphicon-home"></span><b class="caret"></b></a>
<ul class="dropdown-menu cat-housing">
</ul>
</li>
</ul>
</div>
<div class="iwindow-title">
<h4>Data variable definition:</h4>
</div>
<div class="iwindow" id="iWindow">
<div class="iwindow-desc"></div>
<div class="iwindow-tract"></div>
<ul class="iwindow-vals"></ul>
</div>
<div class="lwrapper legend"></div>
</div>
</div>
<div class="row footer">
</div>
<div class="modal fade" id="aboutModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">What is Ungentry?</h4>
</div>
<div class="modal-body container-fixed">
<p>A concern that many of us have is that the rapid gentrification happening in places such as San Francisco is having a negative impact on affordability. Is Boston susceptible? Is it possible that a booming tech industry is contributing to this process? How can we contribute to a policy discussion?</p>
<p>Our approach is to examine neighborhoods that are considered "gentrified" and establish a baseline of data that gives a rich picture for how the neighborhood has changed over time. From there, we can begin to gather qualitative measures regarding factors such as policy decisions and technology development to see if there are any correlations.</p>
<h5>Data Sources</h5>
<ul>
<li><a href="http://www.census.gov/acs/www/" target="_blank">American Community Survey (Census)</a></li>
<li><a href="http://metrobostondatacommon.org/" target="_blank">The Boston Foundation/MAPC Data Common</a></li>
<li>Maps served by <a href="http://leafletjs.com/" target="_blank">Leaflet</a></li>
<li>Map tiles by <a href="http://cartodb.com/attributions#basemaps" target="_blank">CartoDB</a>, under <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.</li>
<li>Data by <a href="http://openstreetmap.org/" target="_blank">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright" target="_blank">ODbL</a></li>
</ul>
<h5>Who We Are</h5>
<p>Part of the Code for America Brigade network, we are a volunteer group of developers, designers, data geeks, and citizen activists who use creative technology to solve civic and social problems. You are welcome to help <a href="https://github.com/codeforboston/ungentry" target="_blank">work on Ungentry</a> or <a href="http://www.meetup.com/Code-for-Boston/" target="_blank">meet with us</a> where you can see any number of other projects.</p>
<div class="row">
<a href="http://www.codeforboston.org/" target="_blank" class="col-xs-4 col-xs-offset-2"><img src="lib/images/code-for-boston-logo.png" alt="Code for Boston" class="img-responsive"></a>
<a href="http://www.codeforamerica.org/" target="_blank" class="col-xs-3"><img src="lib/images/code-for-america-logo.png" alt="Code for America" class="img-responsive"></a>
</div>
</div>
<div class="modal-footer">
</div><!--/.modal footer-->
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="modal fade" id="dataModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">How did we Crunch our Data?</h4>
</div>
<div class="modal-body container-fixed">
<p>The data used comes from the 1990 and 2000 US Census and 2008-2012 American Community Survey 5-year estimates for census tracts in Suffolk, Middlesex, and Norfolk counties in Massachusetts. </p>
<p>We accessed the data using <a href="http://www.socialexplorer.com" target="_blank">Social Explorer</a>. We normalized the 1990 and 2000 Census data to 2010 census tract boundaries using aerial weights interpolation methods provided by the <a href="http://www.s4.brown.edu/us2010/Researcher/Bridging.htm" target="_blank">Longitudinal Tract Database</a>. The 2008-2012 data uses the 2010 census tract boundaries.</p>
<p>All dollar values are adjusted to 2013 constant dollars.</p>
<div class="row">
<a href="http://www.codeforboston.org/" target="_blank" class="col-xs-4 col-xs-offset-2"><img src="lib/images/code-for-boston-logo.png" alt="Code for Boston" class="img-responsive"></a>
<a href="http://www.codeforamerica.org/" target="_blank" class="col-xs-3"><img src="lib/images/code-for-america-logo.png" alt="Code for America" class="img-responsive"></a>
</div>
</div>
<div class="modal-footer">
</div><!--/.modal footer-->
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!--Twitter share button script -->
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=262994210406910&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</body>
</html>