-
Notifications
You must be signed in to change notification settings - Fork 37
/
index.html
45 lines (45 loc) · 2.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Earthquakes in 2019</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://js.arcgis.com/4.22/esri/themes/light/main.css" />
<script src="https://js.arcgis.com/4.22/"></script>
<link rel="stylesheet" href="./style.css" />
<script src="./main.js" defer></script>
</head>
<body>
<div id="view-container"></div>
<h1 class="title">Major earthquakes in 2019</h1>
<div id="details">
<div id="legend">
In 2019, there were 13456 earthquakes with magnitude higher or equal to 4. In this visualization, small yellow
spheres (
<div class="small-circle"></div>
) are earthquakes with magnitudes between 4 and 6. Large red spheres (
<div class="big-circle"></div>
) are earthquakes with a magnitude higher than 7. In between, the color and size of spheres are interpolated.
Earthquake depth is exaggerated by a factor of 6. The orange lines (
<div class="orange-line"></div>
) represent the boundaries of the tectonic plates. Earthquake data from
<a href="https://earthquake.usgs.gov/earthquakes/search/">USGS</a>.
<a href="https://www.arcgis.com/home/item.html?id=2b93b06dc0dc4e809d3c8db5cb96ba69"
>Country borders feature service</a
>
is made available by the <a href="https://livingatlas.arcgis.com/en/">Living Atlas</a>. Visualization created
with <a href="https://developers.arcgis.com/javascript">Esri's ArcGIS API for JavaScript</a>.
</div>
<button id="legend-control">Hide explanation</button>
<p>
<button id="toggle-exaggeration">
Toggle exaggeration
</button>
to visualize the actual depth and the exaggerated depth. The list below displays the earthquakes with magnitude
higher than 7 in chronological order.
</p>
<div id="earthquake-list"></div>
</div>
</body>
</html>