-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
107 lines (107 loc) · 5.11 KB
/
index.html
File metadata and controls
107 lines (107 loc) · 5.11 KB
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
<html>
<head>
<title>Game of Debates</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div class="wrapper">
<div id="intro" class="row">
<div class="col-md-10 col-sm-offset-1">
<h1 class="text-center">Game of Debates</h1>
<p class="text-center">Meera Parat, Vishal Disawar, Pranav Boopathy, Haocheng Zhang, Emily Chao</p>
<div class="col-md-12">
<p>The goal of our visualization is to show the overall picture of the Republican and Democratic party primary debates.</p>
<p>Transcripts courtesy of the <i>Washington Post</i>, <i>New York Times</i>, <i>CNN</i>, <i>CBS News</i>, and <i>Time</i>.</p>
<p>Talk-time data courtesy of <i>Politico</i>, <i>InsideGov</i>, <i>NPR</i>, <i>CNN</i>.</p>
</div>
</div>
</div>
<h2 class="text-center">First Question</h2>
<h3 class="text-center">How much time do candidates get during a debate relative to other candidates?</h3>
<p class="text-center">Click on a news anchor's rectangle to filter results.</p>
<p class="text-center">y-axis: The percentage of time they got to speak compared to everyone else</p>
<div id="ttR" class="row">
<div id="talkingTimeRep" class="col-md-9">
<h4 class="text-center">The Republicans</h4>
</div>
<div class="col-md-3">
<h4 class="text-center">Number of Candidates</h4>
<table id="numCandidatesRepublican" class="table table-bordered table-condensed">
<tr>
<td>Date</td>
<td># Candidates</td>
</tr>
</table>
</div>
</div>
<div id="ttD" class="row">
<div id="talkingTimeDem" class="col-md-9">
<h4 class="text-center">The Democrats</h4>
</div>
<div class="col-md-3">
<h4 class="text-center">Number of Candidates</h4>
<table id="numCandidatesDemocrat" class="table table-bordered table-condensed">
<tr>
<td>Date</td>
<td># Candidates</td>
</tr>
</table>
</div>
</div>
<h2 class="text-center">Second Question</h2>
<h3 class="text-center">What is the overall sentiment of each debate?</h3>
<p class="text-center">y-axis: The positive-negative score</p>
<div id="soR" class="row">
<h4 class="text-center">The Republicans</h4>
<div class="col-md-6" id="sentimentRep1"></div>
<div class="col-md-6" id="sentimentRep2"></div>
</div>
<div id="soD" class="row">
<h4 class="text-center">The Democrats</h4>
<div class="col-md-6" id="sentimentDem1"></div>
<div class="col-md-6" id="sentimentDem2"></div>
</div>
<h2 class="text-center">Third Question(s)</h2>
<h3 class="text-center">What topics were talked about during each debate?</h3>
<h3 class="text-center">What was each candidate's general sentiment towards them?</h3>
<p class="text-center">y-axis: How positive the score was</p>
<div id="toR" class="row">
<h4 class="text-center">The Republicans</h4>
<div class="col-md-2">
<p>Click on a date to view the topics discussed in each debate.</p>
<div class="btn-group-vertical" id="debateDatesRepublican"></div>
</div>
<div class="col-md-8" id="topicModelingRep">
</div>
<div class="col-md-2">
<h4>Top Words</h4>
<h4><span id="currentRepDate"></span></h4>
<div id="topicWordsRepublican">
</div>
</div>
</div>
<div id="toD" class="row">
<h4 class="text-center">The Democrats</h4>
<div class="col-md-2">
<p>Click on a date to view the topics discussed in each debate.</p>
<div class="btn-group-vertical" id="debateDatesDemocrat"></div>
</div>
<div class="col-md-8" id="topicModelingDem"></div>
<div class="col-md-2">
<h4>Top Words</h4>
<h4><span id="currentDemDate"></span></h4>
<div id="topicWordsDemocrat">
</div>
</div>
</div>
</div>
</body>
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.12.0/moment.min.js"></script>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="http://dimplejs.org/dist/dimple.v2.1.6.min.js"></script>
<script src="js/script.js"></script>
</html>