-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcountries.html
133 lines (122 loc) · 5.79 KB
/
countries.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="description" content="Icelandic names for countries and ISO country codes">
<meta name="author" content="Judy Fong">
<title>Íslenskra heita landa og svæða - Icelandic language country and territory names</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<style>
path {
stroke: orange;
stroke-width: 2;
fill: none;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
stroke-width: 1;
shape-rendering: crispEdges;
}
.bar2 {
fill: orange;
}
div.tooltip {
position: absolute;
text-align: center;
width: 60px;
height: 28px;
padding: 2px;
font: 12px sans-serif;
background: lightyellow;
border: 0px;
border-radius: 8px;
pointer-events: none;
}
</style>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="#">EN-IS Dictionary</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://about.judyyfong.xyz/">About</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="countries.html">Countries</a>
</li>
<li class="nav-item">
<a class="nav-link" href="common_verbs.html">100 verbs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="general.html">General dictionary</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://idord.arnastofnun.is/leit//ordabok/MALTAEKNI">Íðorðabankinn</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">HÍ ÍSE BA</a>
<div class="dropdown-menu" aria-labelledby="dropdown01">
<a class="dropdown-item" href="hi_mf1.html">Málfræði 1<span class="sr-only">(current)</span></a>
</div>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" id="myInput" type="text" placeholder="Search" aria-label="Search" onkeyup="searchForWords()" onkeypress="return event.keyCode != 13;" autofocus>
</form>
</div>
</nav>
<main role="main">
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1 class="display-3">Íslenskra heita landa og svæða</h1>
<h1 class="display-3">Icelandic language country and territory names</h1>
<p>This is a list of country and territory names in Icelandic and their ISO codes.</p>
</div>
</div>
<div class="container">
<!-- Example row of columns -->
<h1>Country and territory names in Icelandic</h1>
<table class="table" id="EN-IS-dictionary">
</table>
<script src="csv-to-table.js"></script>
<script>
data2table("#EN-IS-dictionary","countries_is2iso_sorted.csv");
</script>
</div>
</main>
<footer class="container">
<p>© Judy Fong 2022</p>
<p>The list of names have been converted from json to csv, formatted, and sorted.
Duplicates have been removed. It is licensed from
<a href="http://hdl.handle.net/20.500.12537/61">
Þórðarson, Sveinbjörn, 2020, countries_is2iso (2020-09-28), CLARIN-IS,
http://hdl.handle.net/20.500.12537/61.
</a>
under
<a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons - Attribution 4.0 International (CC BY 4.0)</a>.
</p>
</footer>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="general.js"></script>
</body>
</html>