forked from MakingDataVisual/makingdatavisual.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dropdown.html
33 lines (30 loc) · 1.25 KB
/
dropdown.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Visualizations</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" rel="stylesheet">
<!--<script src="node_modules/vega/build/vega.js"></script>
<script src="node_modules/vega-lite/build/vega-lite.js"></script>
<script src="node_modules/vega-embed/vega-embed.js"></script>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/3.0.8/vega.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.0.3/vega-lite.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.0.0-rc7/vega-embed.js"></script>
<body>
<div id="header">
Vega Specification:
<select id="specs">
<option value="">-----</option>
</select> Renderer:
<select id="render">
<option value="svg" selected>svg</option>
<option value="canvas">canvas</option>
</select> <br/>
</div>
<div id="buttons">
</div>
<div id="view"></div>
<script src="main.js"></script>
</body>
</html>