-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
59 lines (56 loc) · 2.93 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Alexander Simoes" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> -->
<meta name="description" content="Find out where languages are spoken with the highest concentration in the United States. Data USA API Demo.">
<meta property="og:site_name" content="Data USA API Demo" />
<meta property="og:title" content="Language Concentrations by Geography in the United States" />
<meta property="og:image" content="http://alexandersimoes.com/experiments/datausa-langs-spoken/shareImage.png" />
<meta property="og:description" content="Find out where languages are spoken with the highest concentration in the United States. Data USA API Demo."/>
<title>Data USA API Demo: Language Concentrations by Geography in the United States</title>
<link href='https://fonts.googleapis.com/css?family=Pathway+Gothic+One' rel='stylesheet' type='text/css'>
<link type="text/css" rel="stylesheet" media="all" href="styles.css" />
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
<div class="cont">
<header>
Which
<div class="dropdown" id="dd-sumlevel">
<button>County</button>
<ul class="dropdown-menu">
</ul>
</div>
has the highest share of
<div class="dropdown" id="dd-lang">
<button>Portuguese</button>
<div class="dropdown-menu">
</div>
</div>
speakers?
</header>
<div class="interactive">
<div class="viz">
<h2> </h2>
<iframe width="100%" height="480px" src="" frameborder="0" ></iframe>
</div>
<div class="geos"></div>
</div>
</div>
<footer>
<h3>About</h3>
<p>
Learn where in the US a certain language is spoken. Choose a geographic summary level (<a href="?sumlevel=state">state</a>, <a href="?sumlevel=county">county</a>, <a href="?sumlevel=msa">metro area</a> or <a href="?sumlevel=place">city</a>) and language to find out which locations have the highest concentration of speakers.
</p>
<a href="../">« More Experiments</a>
<p>Visualizations / API made possible via <a href="http://datausa.io/">Data USA.</a></p>
<p>Please <a href="https://github.com/alexandersimoes/datausa-api-demo">steal this source!</a></p>
<a href="https://twitter.com/share" class="twitter-share-button" data-via="ximoes" data-hashtags="DataUSA">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</footer>
<script src="app.js"></script>
</body>
</html>