-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprofiles.html
286 lines (253 loc) · 15.3 KB
/
profiles.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
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4964NB1NTF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-4964NB1NTF');
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="MIT Civic Data Design Lab: Alberto Meouchi, Ashley Louie, Niko McGlashan">
<title>Profiles</title>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.typekit.net/eqc7jzl.css">
<!-- CAVEAT FONT REGULAR 400 and 600 SEMIBOLD-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<script type="text/javascript" src="./js/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="./css/pyramid.css">
<link rel="stylesheet" href="./css/sankey.css">
<link rel="stylesheet" href="./css/profiles.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/ScrollMagic.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/plugins/debug.addIndicators.min.js"></script>
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/d3-sankey.min.js">
</script>
<script src="./js/tooltip.js"></script>
</head>
<body>
<div id="mobile-button">
<div id="hamburger-menu" onclick="toggleMenu(this)">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
<div class="mobile-menu" id="mobile-menu">
<h1 onclick='redirect_Page(this,"origins.html")'>ORIGINS</h1>
<h1 onclick='redirect_Page(this,"motivations.html")'>MOTIVATIONS</h1>
<h1 onclick='redirect_Page(this,"profiles.html")'>PROFILES</h1>
<h1 onclick='redirect_Page(this,"outcomes.html")'>OUTCOMES</h1>
<h1 onclick='redirect_Page(this,"cost.html")'>COST</h1>
<h1 onclick='redirect_Page(this,"about.html")'>ABOUT</h1>
</div>
</div>
<div id="wrapper">
<section class='chapter' id="closed">
<div class="bk origins-img" onclick='redirect_Page(this,"origins.html")'>
<div class="gradient origins-g">
<h2 class="chapter-title" onclick='redirect_Page(this,"index")'>VIOLENCE, CLIMATE,<br>FOOD INSECURITY,<br>AND POLICY<br>HISTORICALLY DRIVE EMIGRATION</h2>
<h1 class="chapter-summary">ORIGINS</h1>
</div>
</div>
<div class="chapter-prompt position-fixed p-3">
<span class="text-uppercase">CLICK HERE TO LEARN MORE</span>
</div>
</section>
<section class='chapter' id="closed">
<div class="bk motivations-img" onclick='redirect_Page(this,"motivations.html")'>
<div class="gradient motivations-g">
<h2 class="chapter-title" onclick='redirect_Page(this,"index")'>FINANCIAL<br>INSECURITY<br>DRIVES<br>MIGRATION</h2>
<h1 class="chapter-summary">MOTIVATIONS</h1>
</div>
</div>
<div class="chapter-prompt position-fixed p-3">
<span class="text-uppercase">CLICK HERE TO LEARN MORE</span>
</div>
</section>
<section class='chapter' id="open">
<div id="shortcutlan" class="position-fixed p-4" style="top: 90vh;font-size: 1.4rem;font-weight: 700;">
<a href="profiles.html"><span class="text-uppercase text-white"><u>ENGLISH</u></span></a><span class="text-uppercase text-white"> | </span><a href="es_perfiles.html"><span class="text-uppercase text-white">ESPAÑOL</span></a>
</div>
<div id="shortcutscr-container" class="position-fixed p-3">
<div id="shortcutscr" class="text-white" >
<span class="ps-2 text-uppercase">Scroll Down to Learn More</span>
</div>
</div>
<div id="shortcut" class="position-sticky p-3">
<a class="text-white" href="#">
<i id="arrow-jump" class="arrow"></i>
<span class="ps-2 text-uppercase">Skip to visualization</span>
</a>
</div>
<div class="bk profiles-img" onclick='redirect_Page(this,"profiles.html")'>
<div class="gradient profiles-g">
<h2 class="chapter-title" onclick='redirect_Page(this,"index")'>HALF OF MIGRANTS<br>WORK IN THE<br>SAME OCCUPATION<br>AFTER RELOCATION</h2>
<h1 class="chapter-summary">PROFILES
</h1>
</div>
</div>
<div class="content-block position-sticky bk profiles2-img" >
<div class="gradient profiles-g">
<div class="container">
<div class="row">
<div class="col-12 col-md-8 align-items-center">
<div id="chart" class="svg-container"></div>
</div>
</div>
</div>
</div>
</div>
<div class=" step righty active" style="padding-bottom: 30vh;">
<div class="profile-map-theme scrolly-container">
<div class="scrollytelling-text">
<div class="forceLink1"><span></span></div>
<div class="forceLinka" ><span></span></div>
<h2 class="scrollytelling" style="padding-right: 10px; padding-left: 10px">69% of Migrants are Male</h2>
<h3 class="scrollytelling description" style="padding-right: 10px; padding-left: 10px">The vast majority—87% of all surveyed households—report being satisfied with the area where they live. The intention to migrate is largely driven by necessity and the desire to provide for better economic conditions.</h3>
</div>
</div>
<div class="col-4 vh-100"></div>
<!-- <div class=" step righty active "> -->
<div class=" profile-map-theme scrolly-container">
<div class="scrollytelling-text">
<div class="forceLink2"><span></span></div>
<div class="forceLinkb"><span></span></div>
<h2 class="scrollytelling" style="padding-right: 10px; padding-left: 10px">Migration Leads to Family Separation</h2>
<h3 class="scrollytelling description" style="padding-right: 10px; padding-left: 10px">13% of recent migrants reported are minors between 0 and 17 years of age. Many migrants choose to leave their children with family and relatives because to protect them from the dangerous trip.</h3>
</div>
</div>
<div class="col-4 vh-100"></div>
<div class="profile-map-theme scrolly-container">
<div class="scrollytelling-text">
<!-- <div class="forceLink2"><span></span></div> -->
<h2 class="scrollytelling" style="padding-right: 10px; padding-left: 10px">55% are in their Prime Working Age</h2>
<h3 class="scrollytelling description" style="padding-right: 10px; padding-left: 10px">Individuals ranging from age 18 to 34 represented 55% of the recent migrants reported. Comprising adults in their prime working age, this contributes to a significant loss of the productive workforce in the Central American origin countries.</h3>
<div class="forceLink3"><span></span></div>
<div class="forceLinkc"><span></span></div>
</div>
</div>
<script type="text/javascript" src="./js/pyramidscript.js"></script>
</div>
<div class="step1 fully active">
<div class="scrolly-container-profile">
<div class="ribbon">
<div class="scrollytelling-text">
<h2 class="scrollytelling">The U.S. Depends on Migrants for Labor Force</h2>
<h3 class="scrollytelling description">Foreign-born workers composed 73% of all U.S. hired crop labor workers in fiscal year 2016, and about half of all hired crop workers were unauthorized immigrants. Mexico is the overwhelming source of migrant workers on U.S. farms, but Central Americans accounted for only 6% of U.S. hired crop migrant workers between the fiscal years 2015-2016.* The agriculture working visa, has improved regular pathways for Mexicans contribute labor, but Central American countries need increased access to the U.S. labor market with pathways to help them acquire such visas.</h3>
<p class="scrollytelling new-footer">* USDOL. <span class="fs-italic">Demographic and Employment Characteristics, Table 1.</span>, FY 2015-2016.<a class="text-white" href="https://www.dol.gov/agencies/eta/national-agricultural-workers-survey/research/data-tables" target="_blank">[external reference]</a></p>
</div>
<div class="forceLink4"><span></span></div>
<!-- <div class="forceLinkd"><span></span></div> -->
</div>
</div>
</div>
<div class="solid-white">
<div class="row vh-100 p-3">
<div id="chartsank" class="position-relative col-12 col-md-7">
<div class="row pb-3 pb-md-5">
<div class="col-6 col-md-6 pt-md-4" style="padding-left:3rem;">
<h2 class="sankey1"style="margin: 0;">Occupation Before</h2>
<h2 class="sankey2 pt-md-2">Migration</h2>
</div>
<div class="col-6 col-md-6 pt-md-4" style="padding-left:2rem;">
<h2 class="sankey1" style="margin: 0;">Occupation After</h2>
<h2 class="sankey2 pt-md-2">Migration</h2>
</div>
</div>
<!-- sankey d3 chart here -->
</div>
<div id="tt-select" class="top-0 end-0 translate-bottom-y col-5 col-12 col-md-5 p-5">
<div class="pt-md-6 mb-2">
<img class="img w-100" src="./img/profiles/prof5.jpg">
</div>
<h3 class="occ-title fw-bold" style="color: rgb(44, 125, 135); background: none; padding: 0px;">Agriculture</h3>
</div>
<script type="text/javascript" src="./js/sankeychart.js"></script>
<!-- tooltip template -->
<div class="tooltip template">
<div class="side-color"></div>
<div class="row">
<div class="col">
<p>Occupation Before Migration</p>
<span class="label-before text-color-before text-label">Agriculture</span>
</div>
<div class="col">
<p>Origin Country</p>
<span class="label-origin text-label">El Salvador</span>
</div>
</div>
<div class="line-divide mt-2 mb-2"></div>
<div class="row">
<div class="col">
<p>Occupation After Migration</p>
<span class="label-after text-color-after text-label">Informal Work</span>
</div>
<div class="col">
<p>Destination Country</p>
<span class="label-dest text-label">United States</span>
</div>
</div>
</div>
<script>
new ScrollMagic.Scene({triggerElement: ".forceLink1",duration: '300%',triggerHook:'onLeave',
})
.setClassToggle(".profiles2-img", "profiles3-img")
.addTo(controller);
new ScrollMagic.Scene({triggerElement: ".forceLink2",duration: '300%',triggerHook:'onLeave',
})
.setClassToggle(".profiles2-img", "profiles4-img")
.addTo(controller);
new ScrollMagic.Scene({triggerElement: ".forceLink3",duration: '300%',triggerHook:'onLeave',
})
.setClassToggle(".profiles2-img", "profiles5-img")
.addTo(controller);
</script>
</section>
<section class='chapter' id="closed">
<div class="bk outcomes-img" onclick='redirect_Page(this,"outcomes.html")'>
<div class="gradient outcomes-g">
<h2 class="chapter-title" onclick='redirect_Page(this,"index")'>ONLY 57%<br>OF MIGRANTS<br>RESIDE IN THEIR<br>INTENDED<br>DESTINATION</h2>
<h1 class="chapter-summary">OUTCOMES</h1>
</div>
</div>
<div class="chapter-prompt position-fixed p-3">
<span class="text-uppercase">CLICK HERE TO LEARN MORE</span>
</div>
</section>
<section class='chapter' id="closed">
<div class="bk cost-img" onclick='redirect_Page(this,"cost.html")'>
<div class="gradient cost-g">
<h2 class="chapter-title" onclick='redirect_Page(this,"index")'>MIGRATION<br>COSTS<br>ADD TO<br>FINANCIAL<br>BURDEN</h2>
<h1 class="chapter-summary">COST</h1>
</div>
</div>
<div class="chapter-prompt position-fixed p-3">
<span class="text-uppercase">CLICK HERE TO LEARN MORE</span>
</div>
</section>
<section class="chapter" id="closed">
<div class="bk about-img" onclick='redirect_Page(this,"about.html")'>
<div class="gradient about-g">
<h2 class="chapter-title">Charting A New Regional Course of Action</h2>
<h1 class="chapter-summary">ABOUT</h1>
<br><br><br><br>
</div>
</div>
<div class="chapter-prompt position-fixed p-3">
<span class="text-uppercase">CLICK HERE TO LEARN MORE</span>
</div>
</section>
</div>
<script type="text/javascript" src="./js/chapterClick.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/script.js"></script>
<script type="text/javascript" src="./js/profiles.js"></script>
</body>
</html>