-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsandbox.html
91 lines (79 loc) · 3.22 KB
/
sandbox.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
<!DOCTYPE html>
<head>
<title>DRUGGLER</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles/style.css">
<meta charset="utf-8">
<!-- Load d3.js -->
<!-- <script src="./lib/d3.min.js"></script>-->
<!-- External D3 Library-->
<script src="https://d3js.org/d3.v4.js"></script>
</head>
<body>
<div class="dealer-wrapper">
<div id="textBubble" class="textBubble">adsfgasdf</div>
<div id="dealerContainer" class="dealer"></div>
<script src="scripts/dialogue.js"></script>
</div>
<div class="container">
<section id="introduction">
<h1> Introduction</h1>
<input type="button" value="Yes!" formaction="https://google.com">
<input type="button" onclick="speak()" value="Of course not!">
<p class="textBubble">Fantastic. My name's Steve. I'm a local drug dealer. What's your name?</p>
<form>
<input type="text">
<input type="submit">
</form>
</section>
<section id="bigMacIndex-section">
<h1> BigMac Price Comparisation</h1>
<p>USA, CH, NL, GB & JP Daten in Bigmac CSV<br> Stundenlohn CSV USA, CH, NL, GB, JP</p>
<div id="bigMacIndexChart"></div>
<div>
<svg id="bigMacIndexChartInfo" height=50 width=460></svg>
</div>
<p class="textBubble">Did you know that...</p>
</section>
<section id="price-section">
<h1> Drogenpreis Comparison</h1>
<div class="box-box">
<div>
<div id="canabisPrice"></div>
<div>
<svg id="canabisPriceInfo" height=50 width=460></svg>
</div>
</div>
<div>
<div id="cocainePrice"></div>
<div>
<svg id="cocainePriceInfo" height=50 width=460></svg>
</div>
</div>
<div>
<div id="methPrice"></div>
<div>
<svg id="methPriceInfo" height=50 width=460></svg>
</div>
</div>
</div>
</section>
<section id="workForDrugs-section">
<h1> Wie lange muss man Arbeiten für Essen & Drogen? </h1>
<!-- Add buttons for each country -->
<button onclick="update(dataUSA)">United States</button>
<button onclick="update(dataJAPAN)">Japan</button>
<button onclick="update(dataGREATBRITAN)">Great Britan</button>
<button onclick="update(dataNORWAY)">Norway</button>
<button onclick="update(dataSWITZERLAND)">Switzerland</button>
<div id="finalComparison"></div>
</section>
</div>
<script src="scripts/cannabisPrice.js"></script>
<script src="./scripts/cocainePrice.js"></script>
<script src="./scripts/methPrice.js"></script>
<!-- Color Scale -->
<script src="https://d3js.org/d3-scale-chromatic.v1.min.js"></script>
<!--<script src="./scripts/price.js"></script>-->
<!--<script src="./scripts/purity.js"></script>-->
</body>