forked from Civica-Analytics/Civica-Analytics-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
203 lines (185 loc) · 7.04 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>📈 Civica Analytics</title>
<link rel="shortcut icon" href="assets/images/civicalogotransparent.ico" />
<link
rel="apple-touch-icon"
href="assets/images/civicalogotransparent.png"
/>
<link
rel="icon"
sizes="192x192"
href="assets/images/civicalogotransparent.png"
/>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/sidebar-style.css">
<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
</head>
<body>
<a class="screen-reader-text" href="#mission">Skip to content</a>
<header>
<img class="logo1" src="assets/images/logo2.png" alt="Image of Logo1" >
<nav>
<ul>
<button class="openbtn" onclick="openNav()">☰ Open Sidebar to View Graphs </button>
<li><a href="#mission">Our Mission</a></li>
<li><a href="#featured">Featured</a></li>
<li><a href="#sources">Sources</a></li>
<li><a href="#about">About</a></li>
</ul>
</nav>
</header>
<div id="mySidebar" class="sidebar">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<br> <br>
<a href="#page1">Republican Voter Demographics: Age, Education, Race </a>
<br>
<a href="#page3">Democratic Voter Demographics: Age, Education, Race</a>
<br>
<a href="#page5">Democratic Voter Turnout by State</a>
<br>
<a href="#page6">Democratic Voter Population</a>
<br>
<a href="#page7">Democratic Voter GDP Per Capita</a>
<br>
<a href="#page8">Democratic Voter White Demographics</a>
<br>
</div>
<div id="main">
<section class="mission" id="mission" tabindex="-1">
<h2>
A beautiful visualization of United States demographics.
</h2>
</section>
<br>
<section class="featured" id="featured">
<section class="page1" id="page1">
<div>
<h3 style="text-indent:10px;" class="chart-title">Republican Voter Demographics: Age, Education, Race <h3>
<script src="js/charts.js"></script>
<div>
<div id="chartContainer1" style="height: 600px; max-width: 900px; margin: 0px auto;"></div>
</div>
</div>
</section>
<section class="page3" id="page3">
<div>
<h3 style="text-indent:10px;" class="chart-title">Democratic Voter Demographics: Age, Education, Race <h3>
<script src="js/charts.js"></script>
<div>
<div id="chartContainer2" style="height: 600px; max-width: 900px; margin: 0px auto;"></div>
</div>
</div>
</section>
<section class="page5" id="page5">
<div>
<h3 style="text-indent:10px;" class="chart-title">Democratic Voter Turnout by State<h3>
<script src="js/charts.js"></script>
<div>
<div id="chartContainer3" style="height: 400px; max-width: 900px; margin: 0px auto;"></div>
</div>
</div>
</section>
<section class="page6" id="page6">
<div>
<h3 style="text-indent:10px;" class="chart-title">Democratic Voter Population<h3>
<script src="js/charts.js"></script>
<div>
<div id="chartContainer4" style="height: 400px; max-width: 900px; margin: 0px auto;"></div>
</div>
</div>
</section>
<section class="page7" id="page7">
<div>
<h3 style="text-indent:10px;" class="chart-title">Democratic Voter GDP Per Capita<h3>
<script src="js/charts.js"></script>
<div>
<div id="chartContainer5" style="height: 400px; max-width: 900px; margin: 0px auto;"></div>
</div>
</div>
</section>
<section class="page8" id="page8">
<div>
<h3 style="text-indent:10px;" class="chart-title">Democratic Voter White Demographics<h3>
<script src="js/charts.js"></script>
<div>
<div id="chartContainer6" style="height: 400px; max-width: 900px; margin: 0px auto;"></div>
</div>
</div>
</section>
</section>
<br>
<section class="sources" id="sources">
<br><br>
<div class="sourcetitle">SOURCES & LINKS</div>
<div class="links">
<div id="linkbox1">
<img class="linkboxpic" src="assets/images/linkbox1pic.jpg" alt="US Census Bureau">
<div class="linkbox">
<button class="linkboxbtn" onclick="window.location.href='https://www.census.gov/data/tables/time-series/demo/popest/2010s-state-total.html';">
US Census Bureau
</button>
</div>
</div>
<div id="linkbox2">
<img class="linkboxpic" src="assets/images/linkboxpic2.jpg" alt="US Elections Project">
<div class="linkbox">
<button class="linkboxbtn" onclick="window.location.href='http://www.electproject.org/2018g';">
US Elections Project
</button>
</div>
</div>
<div id="linkbox3">
<img class="linkboxpic" src="assets/images/linkboxpic3.png" alt="Kaiser Family Foundation">
<div class="linkbox">
<button class="linkboxbtn" onclick="window.location.href='https://www.kff.org/other/state-indicator/distribution-by-raceethnicity/?currentTimeframe=0&sortModel=%7B%22colId%22:%22Location%22,%22sort%22:%22asc%22%7D';">
Kaiser Family Foundation
</button>
</div>
</div>
<div id="linkbox4">
<img class="linkboxpic" src="assets/images/linkboxpic4.jpg" alt="Gallup News">
<div class="linkbox">
<button class="linkboxbtn" onclick="window.location.href='https://news.gallup.com/poll/247025/democratic-states-exceed-republican-states-four-2018.aspx';">
Gallup News
</button>
</div>
</div>
</div>
<br><br>
</section>
<section class="about" id="about">
<br><br>
<div class="sourcetitle">ABOUT US</div>
<div class="statistics">
<div id="box1">
<p><span class="statsnumbers">4</span><br />HACKERS</p>
</div>
<div id="box2">
<p><span class="statsnumbers">7</span><br />DAYS</p>
</div>
<div id="box3">
<p><span class="statsnumbers">1</span><br />AMAZING WEBSITE</p>
</div>
<div id="box4">
<p><span class="statsnumbers">6</span><br />INCREDIBLE GRAPHS</p>
</div>
</div>
<footer>
<br><br>
<img
class="footerlogo"
src="assets/images/logo2.png"
alt="Image of Logo1"/>
<p>
Made with ❤ by Anahita, Kayley, Natalie, & Swarnya <br /><br />
</p>
</footer>
</section>
</div>
<script src="js/sidebar-script.js"></script>
</body>
</html>