-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
154 lines (134 loc) · 5.62 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
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
<!doctype html>
<html>
<head>
<title>The US Federal Budget</title>
<link href="styles.css" rel="stylesheet"></link>
</head>
<body>
<div id="wrap">
<div class="overview">
<div class="row">
<div class="shown"></div>
<div class="revenues item" data-variable="revenues" data-format="barSection" data-scale="overview">
<div class="bar"></div>
<label>Revenues <span data-format="bDollars">$2,300b</span></label>
</div>
<div class="deficit item" data-variable="deficit" data-format="barSection" data-scale="overview">
<div class="bar"></div>
<label>Deficit <span data-format="bDollars">$1,300b</span></label>
</div>
</div>
<div class="row">
<div class="shown"></div>
<div class="spending item" data-variable="spending" data-format="barSection" data-scale="overview">
<div class="bar"></div>
<label>Spending <span data-format="bDollars">$3,600b</span></label>
</div>
</div>
</div>
<div class="zoomed revenues">
<div class="row">
<div class="row-inner">
<div class="item personalTax">
<div class="item" data-variable="tax-bracket-0-revenue" data-format="barSection">
<div class="bar"></div>
</div>
<div class="item" data-variable="tax-bracket-1-revenue" data-format="barSection">
<div class="bar"></div>
</div>
<div class="item" data-variable="tax-bracket-2-revenue" data-format="barSection">
<div class="bar"></div>
</div>
<div class="item" data-variable="tax-bracket-3-revenue" data-format="barSection">
<div class="bar"></div>
</div>
<div class="item" data-variable="tax-bracket-4-revenue" data-format="barSection">
<div class="bar"></div>
</div>
<div class="item" data-variable="tax-bracket-5-revenue" data-format="barSection">
<div class="bar"></div>
</div>
<div class="item" data-variable="tax-bracket-6-revenue" data-format="barSection">
<div class="bar"></div>
</div>
<label>
<div class="tax-rates">
Personal income tax rates
<dl>
<dt data-variable="tax-bracket-0" data-format="percent">10%</dt>
<dd data-variable="tax-bracket-0" data-format="taxRate" data-scale="taxRate"><div class="bar"></div></dd>
<dt data-variable="tax-bracket-1" data-format="percent">15%</dt>
<dd data-variable="tax-bracket-1" data-format="taxRate" data-scale="taxRate"><div class="bar"></div></dd>
<dt data-variable="tax-bracket-2" data-format="percent">25%</dt>
<dd data-variable="tax-bracket-2" data-format="taxRate" data-scale="taxRate"><div class="bar"></div></dd>
<dt data-variable="tax-bracket-3" data-format="percent">28%</dt>
<dd data-variable="tax-bracket-3" data-format="taxRate" data-scale="taxRate"><div class="bar"></div></dd>
<dt data-variable="tax-bracket-4" data-format="percent">33%</dt>
<dd data-variable="tax-bracket-4" data-format="taxRate" data-scale="taxRate"><div class="bar"></div></dd>
<dt data-variable="tax-bracket-5" data-format="percent">35%</dt>
<dd data-variable="tax-bracket-5" data-format="taxRate" data-scale="taxRate"><div class="bar"></div></dd>
<dt data-variable="tax-bracket-6" data-format="percent">40%</dt>
<dd data-variable="tax-bracket-6" data-format="taxRate" data-scale="taxRate"><div class="bar"></div></dd>
</dl>
</div>
</label>
</div>
<div class="item" data-variable="corporateTax" data-format="barSection">
<div class="bar"></div>
<label>Corporate taxes, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="socialTax" data-format="barSection">
<div class="bar"></div>
<label>Social taxes, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="otherTax" data-format="barSection">
<div class="bar"></div>
<label>Other taxes, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item deficit" data-variable="deficit" data-format="barSection">
<div class="bar"></div>
<label>Deficit, <span data-format="bDollars"></span></label>
</div>
</div>
</div>
</div>
<div class="zoomed spending">
<div class="row">
<div class="row-inner">
<div class="item" data-variable="socialsecurity" data-format="barSection">
<div class="bar"></div>
<label>Social Security, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="medicare" data-format="barSection">
<div class="bar"></div>
<label>Medicare, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="medicaid" data-format="barSection">
<div class="bar"></div>
<label>Medicaid, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="mandatoryother" data-format="barSection">
<div class="bar"></div>
<label>Other mandatory spending, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="defense" data-format="barSection">
<div class="bar"></div>
<label>Defense, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="nondefense" data-format="barSection">
<div class="bar"></div>
<label>Non-defense, <span data-format="bDollars">$20b</span></label>
</div>
<div class="item" data-variable="interest" data-format="barSection">
<div class="bar"></div>
<label>Interest, <span data-format="bDollars">$20b</span></label>
</div>
</div>
</div>
</div>
</div>
<script src="lib/c.js"></script>
<script src="lib/underscore.js"></script>
<script src="calc.js"></script>
</body>
</html>