forked from jcraig13/thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
278 lines (259 loc) · 14.1 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hanging by a Thread</title>
<link rel="stylesheet" href="https://use.typekit.net/glg6vnu.css">
<link rel="stylesheet" href="style.css">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://unpkg.com/scrollama"></script>
</head>
<body>
<main>
<!-- TITLE -->
<div class="title">
<img src="./assets/title.svg">
</div>
<!-- <h1>Hanging by a Thread</h1>
<h2 class="subtitle">Visualizing the life of a garment and its effects on the environment</h2>
<h2>by Juliet Craig</h2> -->
<!-- PIE CHART -->
<!-- WATER -->
<div></div>
<section id="scrolly">
<figure>
<div id="fast-fashion">
<h2>That's so last season</h2>
<form></form>
<div id="seasons_pie"></div>
</div>
</figure>
<article>
<div class="step" data-step="1" style="margin-top:175px;">
<p>Traditionally, fashion companies would design collections based on seasonal trends, equalling to about four times a year.</p>
</div>
<div class="step" data-step="2">
<p>With the introduction of "fast" fashion, there has been higher demand for more trends, creating nameless micro-seasons. This creates a new trend "season" every week.</p>
</div>
<div class="step" data-step="4">
<p>Fast fashion is the industry of mass production clothing sold at inexpensive prices. This process exploits the labor of workers and is attributed to fashion waste. </p>
</div>
</article>
</section>
<div>
<div class="spacer" style="height:250px;"></div>
</div>
<div id="app">
<div class="row">
<div class="col-md-12 text-center">
<div id="annotated-image-wrapper" class="annotated-image-wrapper">
<img id="annotated-image" src="assets/landfill2.jpg" alt="" @click="onImageClick">
<div v-for="annotation in annotations"
class="image-annotation"
:id="annotation.id"
:style="{ top: `${annotation.y}%`, left: `${annotation.x}%` }"
></div>
</div>
</div>
</div>
</div>
<!-- <div>
<h2>Comparing top fast fashion brands to top reseller</h2>
<button onclick="update(data1)">Fast Fashion</button>
<button onclick="update(data2)">Online Thrift</button>
<div id="brand-line"></div>
</div> -->
<h2>Where do our clothes from?</h2>
<section id="scrolly-2">
<figure>
<div class="stream-graph">
<div id="stream-graph"></div>
</div>
</figure>
<article>
<div class="step" data-step="1" style="margin-top:275px;">
<p>Raw materials are gathered and processed</p>
<img src="assets/raw-material.jpeg" style="width:350px;padding-bottom:24px;">
<br>
</div>
<div class="step" data-step="2">
<p>Raw materials are spun into yarn</p>
<img src="assets/yarn.jpeg" style="width:350px;padding-bottom:24px;">
</div>
<div class="step" data-step="3">
<p>The yarn is woven into a textile</p>
<img src="assets/fabric-production.jpeg" style="width:350px;padding-bottom:24px;">
</div>
<div class="step" data-step="4">
<p>They are dyed and printed with hazarous chemicals</p>
<img src="assets/dye2.jpeg" style="width:350px;padding-bottom:24px;">
</div>
<div class="step" data-step="5">
<p>Finally, the fabrics are cut and sewn together to create a garment. Once this process is over, it is shipped to retail to be sold and worn.</p>
</div>
<div class="step" data-step="6">
<p>China is the leader in garment production at every stage. In 2020, China was the world's largest producer of carbon dioxide (CO2).</p>
</div>
<div class="step" data-step="7">
<p>The United States is part of garment production at the fiber production stage. This is because the USA is the 3rd largest cotton producer.</p>
</div>
<div class="step" data-step="8" style="opacity:0;">
<p>hello</p>
</div>
</article>
</section>
<div class="spacer" style="height:550px;"></div>
<div class="animated-water">
</div>
<h2>What uses the most water?</h2>
<div class="grid-container">
<div class="grid-item">
<h3>15 minute shower</h3>
<img src="./assets/logo-shower.png" style ="width:100px;"></div>
<div class="grid-item">
<h3>A t-shirt and pair of jeans</h3>
<img src="./assets/logo-shirt.png" style ="width:100px;">
</div>
<div class="grid-item">
<h3>1 pound of beef</h3>
<img src="./assets/logo-beef.png" style ="width:100px;">
</div>
<div class="grid-item">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" style="display: none;">
<symbol id="wave2">
<path d="M420,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C514,6.5,518,4.7,528.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H420z"></path>
<path d="M420,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C326,6.5,322,4.7,311.5,2.7C304.3,1.4,293.6-0.1,280,0c0,0,0,0,0,0v20H420z"></path>
<path d="M140,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C234,6.5,238,4.7,248.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H140z"></path>
<path d="M140,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C46,6.5,42,4.7,31.5,2.7C24.3,1.4,13.6-0.1,0,0c0,0,0,0,0,0l0,20H140z"></path>
</symbol>
</svg>
<div class="box">
<div class="percent">
<div class="percentNum">120</div>
<div class="percentB">gal</div>
</div>
<div id="water2" class="water">
<svg viewBox="0 0 560 20" class="water2_wave water2_wave_back">
<use xlink:href="#wave2"></use>
</svg>
<svg viewBox="0 0 560 20" class="water2_wave water2_wave_front">
<use xlink:href="#wave2"></use>
</svg>
</div>
</div>
</div>
<div class="grid-item">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" style="display: none;">
<symbol id="wave">
<path d="M420,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C514,6.5,518,4.7,528.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H420z"></path>
<path d="M420,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C326,6.5,322,4.7,311.5,2.7C304.3,1.4,293.6-0.1,280,0c0,0,0,0,0,0v20H420z"></path>
<path d="M140,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C234,6.5,238,4.7,248.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H140z"></path>
<path d="M140,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C46,6.5,42,4.7,31.5,2.7C24.3,1.4,13.6-0.1,0,0c0,0,0,0,0,0l0,20H140z"></path>
</symbol>
</svg>
<div class="box">
<div class="percent">
<div class="percentNum" id="count">0</div>
<div class="percentB">gal</div>
</div>
<div id="water" class="water">
<svg viewBox="0 0 560 20" class="water_wave water_wave_back">
<use xlink:href="#wave"></use>
</svg>
<svg viewBox="0 0 560 20" class="water_wave water_wave_front">
<use xlink:href="#wave"></use>
</svg>
</div>
</div>
</div>
<div class="grid-item">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" style="display: none;">
<symbol id="wave3">
<path d="M420,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C514,6.5,518,4.7,528.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H420z"></path>
<path d="M420,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C326,6.5,322,4.7,311.5,2.7C304.3,1.4,293.6-0.1,280,0c0,0,0,0,0,0v20H420z"></path>
<path d="M140,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C234,6.5,238,4.7,248.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H140z"></path>
<path d="M140,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C46,6.5,42,4.7,31.5,2.7C24.3,1.4,13.6-0.1,0,0c0,0,0,0,0,0l0,20H140z"></path>
</symbol>
</svg>
<div class="box">
<div class="percent">
<div class="percentNum">1910</div>
<div class="percentB">gal</div>
</div>
<div id="water3" class="water">
<svg viewBox="0 0 560 20" class="water2_wave water2_wave_back">
<use xlink:href="#wave3"></use>
</svg>
<svg viewBox="0 0 560 20" class="water2_wave water2_wave_front">
<use xlink:href="#wave3"></use>
</svg>
</div>
</div>
</div>
</div>
<div class="fabric-chart">
<section id="scrolly-3">
<figure>
<div>
<h2>What is synthetic material?</h2>
</div>
<div class="fabric-pie">
<img src="./assets/fabric-pie.png" style="width:900px">
</div>
</figure>
<article>
<div class="step" data-step="1" style="margin-top:275px;">
<p>Material is not created equally</p>
</div>
<div class="step" data-step="2">
<p>Natural materials come from natural sources, such as plants and animals. These materials tend to be more eco friendly, however a lot of time, land, and water that go into harvesting these fibers.</p>
</div>
<div class="step" data-step="3">
<p>Synthetic fibers are manmade and oil-based type of plastics. Though these materials do not require a lot of land or water, they emit toxic pollution during their creation process. Since they are a type of plastic, they take many years to decompose.</p>
</div>
<div class="step" data-step="4">
<p>Over 74% of materials used in fiber production is synthetic.</p>
</div>
</article>
</section>
</div>
<div class="spacer" style="height:550px;"></div>
<div class="final" style = "margin-bottom: 0px;">
<img src="./assets/final.png"></img>
<!-- <h2>Let's Start a New Trend</h2>
<div class="grid-container">
<div class="grid-item">
<ul class="a" style="width:500px;">
<li>Try buying only what you need, this will help your closet stay in style.</li>
<li>Research the brands you shop from to find more mindfully made clothing.</li>
<li>Before throwing away or donating clothes, try giving them a new life by up-cycling.</li>
<li>Consider the materials used during production.</li>
<li>Shopping second-hand is a good way to repurpose material already in use.</li>
</ul>
</div>
<div class="grid-item" style="width:900px; height: 400px;">
<h4>Brands trying to make a difference</h4>
<img src="assets/brands.png" style="width:80%;">
</div>
</div> -->
</div>
<!-- <div class="material-market-share-graph">
<h2>Production</h2>
<div id="material-graph"></div>
</div> -->
</main>
</body>
<script src="./scripts/fast-fashion-line.js"></script>
<script src="./scripts/seasons.js"></script>
<script src="./scripts/stream.js"></script>
<script src="./scripts/scroll.js"></script>
<script src="./scripts/scroll2.js"></script>
<script src="./scripts/scroll3.js"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.bundle.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js'></script>
<script src="./scripts/trash.js"></script>
<!-- <script src="./scripts/sunburst.js"></script> -->
</html>