-
Notifications
You must be signed in to change notification settings - Fork 1
/
graph1gif.html
217 lines (175 loc) · 8.37 KB
/
graph1gif.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<style>
aside{
background-color: white !important;
}
#hide-btns{
position: fixed !important;
bottom: 100px !important;
}
#time-series-btns{
position: relative;
top: -358px;
left: 10px;
}
.chart-notes {
top: -36px;
font-size: 0.8em;
line-height: 1.5em;
position: relative;
width: 450px;
}
#logo{
font-size: 11px;
font-weight: bold;
letter-spacing: 2px;
position: fixed;
top: 529px;
right: 116px;
}
#logo span{
color: #1696d2;
}
</style>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<title>Nine Charts about Wealth Inequality in America</title>
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@urbaninstitute">
<meta name="twitter:creator" content="@urbaninstitute">
<meta name="twitter:title" content="9 Charts about Wealth Inequality in America">
<meta name="twitter:description" content="These charts illustrate how income inequality, earnings gaps, homeownership rates, retirement savings, student loan debt, and lopsided asset-building subsidies have contributed to the country’s growing wealth disparities.">
<meta name="twitter:image" content="http://apps.urban.org/Features/wealth-inequality-charts/img/AP173355447669.jpg">
<meta property="og:title" content="9 Charts about Wealth Inequality in America" />
<meta property="og:description" content="These charts illustrate how income inequality, earnings gaps, homeownership rates, retirement savings, student loan debt, and lopsided asset-building subsidies have contributed to the country’s growing wealth disparities." />
<meta property="og:image" content="http://apps.urban.org/Features/wealth-inequality-charts/img/AP173355447669.jpg" />
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="400">
<meta property="og:image:height" content="400">
<meta property="og:url" content="http://urbn.is/wealthcharts">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/urban.css">
<link rel="stylesheet" type="text/css" href="css/urban-header.css"/>
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic,900" rel="stylesheet" type="text/css">
<script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-MKBD2W"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MKBD2W');</script>
<!-- End Google Tag Manager -->
<div class="overlay"></div>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="main-container">
<hr/>
<div class="main wrapper clearfix">
<!-- TEST -->
<aside>
<div class="aside-content">
<div id="wealthTime" class="chart"></div>
<div id="time-series-btns" class="btn-group clearfix">
<button id="button-1963" class="active">1963</button>
<button id="button-1983">1983</button>
<button id="button-1989">1989</button>
<button id="button-1992">1992</button>
<button id="button-1995">1995</button>
<button id="button-1998">1998</button>
<button id="button-2001">2001</button>
<button id="button-2004">2004</button>
<button id="button-2007">2007</button>
<button id="button-2010">2010</button>
<button id="button-2013">2013</button>
<button id="button-2016">2016</button>
</div>
<div class="static-chart">
<img src="img/WealthPercentiles.jpg" />
</div>
<div class="btn-group clearfix" id = "hide-btns">
<button id="button-time" class="btn autocompare">Animate</button>
<button class="btn dl save-chart custom" data-filenames='["WealthPercentiles","WealthPercentiles"]' data-headers='["Animation","Static chart"]'>Save chart</button>
<a href="data/WealthPercentiles.xlsx">
<button id="save1" class="btn dl data">Data</button>
</a>
</div>
<p class="chart-notes"><b>Sources:</b> Urban Institute calculations from Survey of Financial Characteristics of Consumers 1962 (December 31), Survey of Changes in Family Finances 1963, and Survey of Consumer Finances 1983–2016.</p>
<p class="chart-notes"><b>Notes:</b> 2016 dollars. No comparable data are available between 1963 and 1983.</p>
</div>
</aside>
</div>
<div id = "logo"><span>URBAN</span> INSTITUTE</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/vendor/jquery-1.11.1.min.js"><\/script>')
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<script src="js/graph1gif.js"></script>
<script src="js/vendor/d3.min.js"></script>
<script src="js/popup.js"></script>
<script src="js/header.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function (b, o, i, l, e, r) {
b.GoogleAnalyticsObject = l;
b[l] || (b[l] =
function () {
(b[l].q = b[l].q || []).push(arguments)
});
b[l].l = +new Date;
e = o.createElement(i);
r = o.getElementsByTagName(i)[0];
e.src = '//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e, r)
}(window, document, 'script', 'ga'));
ga('create', 'UA-57529944-1');
ga('send', 'pageview');
</script>
<script src="js/custom-analytics-master/urban-analytics.min.js"></script>
<!--custom element tracking-->
<script type="text/javascript">
$(".save-chart")
.custom_analytics('track', {
category: "button",
action: "click",
label: "object_HTML",
value: 1,
timing: true,
interaction: true
});
$(".data")
.custom_analytics('track', {
category: "button",
action: "click",
label: "object_HTML",
value: 1,
timing: true,
interaction: true
});
$(window)
.custom_analytics('scrollTrack', {
timing: true,
interaction: true
});
</script>
</body>
</html>