-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.html
74 lines (69 loc) · 3.17 KB
/
dashboard.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Movie Data Dashboard for Data Viz</title>
<!--Link CSS design file-->
<link href="css/graphics_global.css" rel="stylesheet" type="text/css" />
<link href="css/Layout_dashboard.css" rel="stylesheet" type="text/css" />
<!-- Include D3.js library -->
<script src="d3.v7.min.js"></script>
</head>
<style>
</style>
<div class="topnav">
<a class="active" href="index.html">Proposal</a>
<a href="dashboard.html">Dashboard</a>
<a href="https://github.com/JonahRileyHuggins/DataVizDashboard">Github</a>
</div>
<!-- Add buttons for each genre -->
<div class="title">
<h1>Movie Data Dashboard</h1>
</div>
<div class="Information">
<div class="legend">
<button class="legend-button" id="action">Action</button>
<button class="legend-button" id="adventure">Adventure</button>
<button class="legend-button" id="animation">Animation</button>
<button class="legend-button" id="comedy">Comedy</button>
<button class="legend-button" id="crime">Crime</button>
<button class="legend-button" id="documentary">Documentary</button>
<button class="legend-button" id="drama">Drama</button>
<button class="legend-button" id="family">Family</button>
<button class="legend-button" id="fantasy">Fantasy</button>
<button class="legend-button" id="foreign">Foreign</button>
<button class="legend-button" id="history">History</button>
<button class="legend-button" id="horror">Horror</button>
<button class="legend-button" id="music">Music</button>
<button class="legend-button" id="mystery">Mystery</button>
<button class="legend-button" id="romance">Romance</button>
<button class="legend-button" id="science-fiction">Science Fiction</button>
<button class="legend-button" id="tv-movie">TV Movie</button>
<button class="legend-button" id="thriller">Thriller</button>
<button class="legend-button" id="war">War</button>
<button class="legend-button" id="western">Western</button>
</div>
<div class="clear-selection">
<button id="clear">Clear Selection</button>
</div>
<div class="question1">
<!-- Create an SVG container for the plot -->
<svg id="q1canvas"></svg>
</div>
<div class="question2">
<!-- Create an SVG container for the plot -->
<svg id="barchart" width="1000" height="750"></svg>
</div>
<div class="question3">
<!-- Create an SVG container for the plot -->
<svg id="q3scatterplot"></svg>
</div>
</div>
<!-- </div> -->
</div>
<!-- Include JavaScript file -->
<script src="javascript/q1.js"></script>
<script src="javascript/q2.js"></script>
<script src="javascript/q3.js"></script>
</html>