-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplay-original.html
37 lines (29 loc) · 1.52 KB
/
play-original.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>pl0t</title>
<link rel="icon" type="image/png" href="http://files.pl0t.com/view-1/favicon.ico">
<!-- PL0T begin, putting it at the end of the page to avoid blocking other content -->
<script>
window.env = {
base_url: "http://files.pl0t.com/view-1"
}
</script>
<link rel="stylesheet" href="http://files.pl0t.com/view-1/releases/2021-08-01-117078/bundle.css">
<script defer src="http://files.pl0t.com/view-1/releases/2021-08-01-117078/bundle.js"></script>
<!-- PL0T end -->
</head>
<body>
<!-- PL0T data, specify 'json', 'yml' or 'md' formats in the `type` attribute -->
<script id="data" type="json">
{"title":"Some page","desc":"Some description","page":[{"id":"Some text","text":"Some formula $E=mc^2$\n\nSome code `puts \"Hello World\"`\n"},{"id":"Some table","table":{"columns":[{"id":"name"},{"id":"age"},{"id":"hp","format":{"type":"line","ticks":[100]}},{"id":"is_alive"}]},"data":[{"name":"Jim Raynor","age":30,"hp":250,"is_alive":true},{"name":"Angus Mengsk","age":50,"hp":100,"is_alive":false},{"name":"Amon","age":30000,"hp":500,"is_alive":true}]},{"id":"Some chart","chart":["bar",{"x":"a","type":"nominal"},{"y":"b"}],"data":{"a":[1,2,3,4,5],"b":[1,3,2,-1,2]}},{"id":"Some image","image":{"base64":"R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs="}}]}
</script>
<script>
window.on_plot_loaded = function() {
window.plot_api.run()
}
</script>
</body>
</html>