-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (55 loc) · 2.64 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Languages Spoken in the United States</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin="" />
<link rel="stylesheet" href="css/styles.css">
<link rel="icon" href="favicon.ico">
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
</head>
<body>
<div class="heading">
<h1>Most Common Languages Spoken in the United States</h1>
<h2>(Not Including English and Spanish)</h2>
</div>
<div class="mapspace">
<div class="" id="mapid">
</div>
</div>
<div class="description">
<h2>Background</h2>
<p>Spanish and English are the most common languages spoken in the United States.
Excluding those two languages, what language is most popular in each state?
This map shows the answers.</p>
<p>The language data used to make this map are from the Census Bureau's 2018 American Community Survey.
In the dataset used, 1300 languages and language groups are collapsed into about 130 languages and language groups.
To see a list of languages spoken in each state, click or tap on the state.</p>
<h2>State Maps</h2>
<ul>
<li><a href="Illinois.html">Illinois</a></li>
<li><a href="Pennsylvania.html">Pennsylvania</a></li>
</ul>
<p>More states coming soon!</p>
<h2>Additional Sources</h2>
<p>Colors used for map and legend from <a href="https://carto.com/carto-colors/">CARTO</a>.<br />
Cartographic boundary files found at
<a href="https://eric.clst.org/tech/usgeojson/">https://eric.clst.org/tech/usgeojson/</a>. <br />
The map is powered by <a href="https://leafletjs.com/">Leaflet</a>. <br>
Files for this page are on <a href="https://github.com/lauramoon/language_map">GitHub</a>.
</p>
</div>
<div class="footer">
<p>Copyright 2020 by Laura Moon</p>
</div>
<script type="text/javascript">
const state = "US";
</script>
<script type="text/javascript" src="scripts/variables.js"></script>
<script type="text/javascript" src="scripts/gz_2010_us_040_00_5m.js"></script>
<script type="text/javascript" src="scripts/LANP_US.js"></script>
<script type="text/javascript" src="scripts/language_codes.js"></script>
<script type="text/javascript" src="scripts/colors.js"></script>
<script type="text/javascript" src="scripts/map.js" charset="utf-8"></script>
</body>
</html>