@explorable-viz/fluid 0.12.2 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fluid/shared/fluid.mjs +478 -438
- package/dist/fluid/shared/load-figure.js +3193 -2969
- package/package.json +12 -26
- package/script/install-website.sh +27 -9
- package/web/lib/CodeMirror.svelte +19 -0
- package/web/lib/DataPane.svelte +46 -0
- package/web/lib/Figure.svelte +38 -0
- package/web/lib/FigureSrc.svelte +35 -0
- package/web/lib/Grid.svelte +32 -0
- package/web/lib/index.js +5 -0
- package/web/lib/view-styles.css +262 -0
- package/website/article/eslint.config.js +45 -0
- package/website/article/package.json +46 -0
- package/website/article/src/app.d.ts +13 -0
- package/website/article/src/app.html +12 -0
- package/website/article/src/lib/assets/css/styles.css +245 -0
- package/website/article/src/lib/assets/image/bristol.png +0 -0
- package/website/article/src/lib/assets/image/fluid.png +0 -0
- package/website/article/src/lib/assets/image/iccs.png +0 -0
- package/website/article/src/lib/assets/image/schmidt.png +0 -0
- package/website/article/src/lib/assets/image/turing.jpg +0 -0
- package/website/article/src/lib/config/nav.ts +7 -0
- package/website/article/src/lib/config/supporters.ts +27 -0
- package/website/article/src/routes/+layout.svelte +15 -0
- package/website/article/src/routes/+layout.ts +1 -0
- package/website/article/{index.html → src/routes/+page.svelte} +8 -17
- package/website/article/src/routes/convolution/+page.svelte +62 -0
- package/website/article/src/routes/energy-scatter/+page.svelte +34 -0
- package/website/article/src/routes/methane/+page.svelte +35 -0
- package/website/article/src/routes/moving-average/+page.svelte +57 -0
- package/website/article/src/routes/non-renewables/+page.svelte +40 -0
- package/website/article/src/routes/renewables-linked/+page.svelte +34 -0
- package/website/article/src/routes/scigen-1805.02474v1-10/+page.svelte +40 -0
- package/website/article/static/fluid/lib/graphics.fld +274 -0
- package/website/article/static/fluid/lib/matrix.fld +40 -0
- package/website/article/static/fluid/lib/prelude.fld +348 -0
- package/website/article/static/fluid/lib/stats.fld +83 -0
- package/website/article/svelte.config.js +13 -0
- package/website/article/test.mjs +66 -11
- package/website/article/tsconfig.json +20 -0
- package/website/article/vite.config.ts +6 -0
- package/.spago/aff/v7.1.0/.editorconfig +0 -13
- package/.spago/aff/v7.1.0/.eslintrc.json +0 -28
- package/.spago/aff/v7.1.0/.gitignore +0 -14
- package/.spago/aff/v7.1.0/.tidyrc.json +0 -10
- package/.spago/affjax/v13.0.0/.editorconfig +0 -13
- package/.spago/affjax/v13.0.0/.eslintrc.json +0 -28
- package/.spago/affjax/v13.0.0/.gitignore +0 -14
- package/.spago/affjax/v13.0.0/.tidyrc.json +0 -10
- package/.spago/affjax-web/v1.0.0/.editorconfig +0 -13
- package/.spago/affjax-web/v1.0.0/.eslintrc.json +0 -30
- package/.spago/affjax-web/v1.0.0/.gitignore +0 -14
- package/.spago/affjax-web/v1.0.0/.tidyrc.json +0 -10
- package/.spago/argonaut-codecs/v9.1.0/.editorconfig +0 -13
- package/.spago/argonaut-codecs/v9.1.0/.gitignore +0 -9
- package/.spago/argonaut-codecs/v9.1.0/.tidyrc.json +0 -10
- package/.spago/argonaut-core/v7.0.0/.editorconfig +0 -13
- package/.spago/argonaut-core/v7.0.0/.eslintrc.json +0 -29
- package/.spago/argonaut-core/v7.0.0/.gitignore +0 -14
- package/.spago/argonaut-core/v7.0.0/.tidyrc.json +0 -10
- package/.spago/arraybuffer-types/v3.0.2/.editorconfig +0 -13
- package/.spago/arraybuffer-types/v3.0.2/.gitignore +0 -9
- package/.spago/arraybuffer-types/v3.0.2/.tidyrc.json +0 -10
- package/.spago/arrays/v7.2.1/.eslintrc.json +0 -26
- package/.spago/arrays/v7.2.1/.gitignore +0 -9
- package/.spago/assert/v6.0.0/.eslintrc.json +0 -26
- package/.spago/assert/v6.0.0/.gitignore +0 -8
- package/.spago/bifunctors/v6.0.0/.gitignore +0 -7
- package/.spago/catenable-lists/v7.0.0/.gitignore +0 -7
- package/.spago/console/v6.1.0/.eslintrc.json +0 -30
- package/.spago/console/v6.1.0/.gitignore +0 -9
- package/.spago/const/v6.0.0/.gitignore +0 -7
- package/.spago/contravariant/v6.0.0/.gitignore +0 -7
- package/.spago/control/v6.0.0/.gitignore +0 -7
- package/.spago/datetime/v6.1.0/.eslintrc.json +0 -26
- package/.spago/datetime/v6.1.0/.gitignore +0 -8
- package/.spago/debug/v6.0.2/.eslintrc.json +0 -36
- package/.spago/debug/v6.0.2/.gitignore +0 -8
- package/.spago/distributive/v6.0.0/.gitignore +0 -7
- package/.spago/effect/v4.0.0/.eslintrc.json +0 -26
- package/.spago/effect/v4.0.0/.gitignore +0 -8
- package/.spago/either/v6.1.0/.gitignore +0 -7
- package/.spago/enums/v6.0.1/.gitignore +0 -7
- package/.spago/exceptions/v6.0.0/.eslintrc.json +0 -26
- package/.spago/exceptions/v6.0.0/.gitignore +0 -8
- package/.spago/exists/v6.0.0/.gitignore +0 -7
- package/.spago/filterable/v5.0.0/.gitignore +0 -11
- package/.spago/foldable-traversable/v6.0.0/.eslintrc.json +0 -26
- package/.spago/foldable-traversable/v6.0.0/.gitignore +0 -8
- package/.spago/foreign/v7.0.0/.eslintrc.json +0 -26
- package/.spago/foreign/v7.0.0/.gitignore +0 -8
- package/.spago/foreign-object/v4.1.0/.eslintrc.json +0 -26
- package/.spago/foreign-object/v4.1.0/.gitignore +0 -8
- package/.spago/form-urlencoded/v7.0.0/.editorconfig +0 -13
- package/.spago/form-urlencoded/v7.0.0/.gitignore +0 -9
- package/.spago/form-urlencoded/v7.0.0/.tidyrc.json +0 -10
- package/.spago/free/v7.1.0/.gitignore +0 -8
- package/.spago/functions/v6.0.0/.eslintrc.json +0 -26
- package/.spago/functions/v6.0.0/.gitignore +0 -8
- package/.spago/functors/v5.0.0/.gitignore +0 -7
- package/.spago/gen/v4.0.0/.gitignore +0 -8
- package/.spago/graphs/v8.1.0/.gitignore +0 -7
- package/.spago/http-methods/v6.0.0/.editorconfig +0 -13
- package/.spago/http-methods/v6.0.0/.gitignore +0 -9
- package/.spago/http-methods/v6.0.0/.tidyrc.json +0 -10
- package/.spago/identity/v6.0.0/.gitignore +0 -7
- package/.spago/integers/v6.0.0/.eslintrc.json +0 -26
- package/.spago/integers/v6.0.0/.gitignore +0 -8
- package/.spago/invariant/v6.0.0/.gitignore +0 -7
- package/.spago/js-date/v8.0.0/.editorconfig +0 -13
- package/.spago/js-date/v8.0.0/.eslintrc.json +0 -29
- package/.spago/js-date/v8.0.0/.gitignore +0 -14
- package/.spago/js-date/v8.0.0/.tidyrc.json +0 -10
- package/.spago/js-uri/v3.1.0/.eslintrc.json +0 -30
- package/.spago/js-uri/v3.1.0/.gitignore +0 -14
- package/.spago/js-uri/v3.1.0/.tidyrc.json +0 -10
- package/.spago/lazy/v6.0.0/.eslintrc.json +0 -26
- package/.spago/lazy/v6.0.0/.gitignore +0 -8
- package/.spago/lcg/v4.0.0/.gitignore +0 -8
- package/.spago/lists/v7.0.0/.gitignore +0 -7
- package/.spago/maybe/v6.0.0/.gitignore +0 -7
- package/.spago/media-types/v6.0.0/.editorconfig +0 -13
- package/.spago/media-types/v6.0.0/.gitignore +0 -9
- package/.spago/media-types/v6.0.0/.tidyrc.json +0 -10
- package/.spago/newtype/v5.0.0/.gitignore +0 -7
- package/.spago/node-buffer/v9.0.0/.eslintrc.json +0 -26
- package/.spago/node-buffer/v9.0.0/.gitignore +0 -8
- package/.spago/node-fs/v9.1.0/.eslintrc.json +0 -29
- package/.spago/node-fs/v9.1.0/.gitignore +0 -9
- package/.spago/node-path/v5.0.0/.eslintrc.json +0 -26
- package/.spago/node-path/v5.0.0/.gitignore +0 -8
- package/.spago/node-process/v11.2.0/.eslintrc.json +0 -29
- package/.spago/node-process/v11.2.0/.gitignore +0 -8
- package/.spago/node-streams/v9.0.0/.eslintrc.json +0 -29
- package/.spago/node-streams/v9.0.0/.gitignore +0 -8
- package/.spago/nonempty/v7.0.0/.gitignore +0 -7
- package/.spago/now/v6.0.0/.editorconfig +0 -13
- package/.spago/now/v6.0.0/.eslintrc.json +0 -29
- package/.spago/now/v6.0.0/.gitignore +0 -14
- package/.spago/now/v6.0.0/.tidyrc.json +0 -10
- package/.spago/nullable/v6.0.0/.editorconfig +0 -13
- package/.spago/nullable/v6.0.0/.eslintrc.json +0 -29
- package/.spago/nullable/v6.0.0/.gitignore +0 -14
- package/.spago/nullable/v6.0.0/.tidyrc.json +0 -10
- package/.spago/optparse/v6.0.0/.gitignore +0 -8
- package/.spago/optparse/v6.0.0/.npmrc +0 -1
- package/.spago/ordered-collections/v3.1.1/.gitignore +0 -8
- package/.spago/orders/v6.0.0/.gitignore +0 -7
- package/.spago/parallel/v7.0.0/.gitignore +0 -7
- package/.spago/parsing/v10.3.1/.editorconfig +0 -13
- package/.spago/parsing/v10.3.1/.gitignore +0 -12
- package/.spago/parsing/v10.3.1/.tidyoperators +0 -231
- package/.spago/parsing/v10.3.1/.tidyrc.json +0 -10
- package/.spago/partial/v4.0.0/.eslintrc.json +0 -26
- package/.spago/partial/v4.0.0/.gitignore +0 -8
- package/.spago/posix-types/v6.0.0/.gitignore +0 -7
- package/.spago/prelude/v6.0.1/.eslintrc.json +0 -26
- package/.spago/prelude/v6.0.1/.gitignore +0 -8
- package/.spago/profunctor/v6.0.0/.gitignore +0 -7
- package/.spago/psci-support/v6.0.0/.eslintrc.json +0 -28
- package/.spago/psci-support/v6.0.0/.gitignore +0 -8
- package/.spago/quickcheck/v8.0.1/.eslintrc.json +0 -26
- package/.spago/quickcheck/v8.0.1/.gitignore +0 -8
- package/.spago/random/v6.0.0/.eslintrc.json +0 -26
- package/.spago/random/v6.0.0/.gitignore +0 -8
- package/.spago/record/v4.0.0/.eslintrc.json +0 -26
- package/.spago/record/v4.0.0/.gitignore +0 -8
- package/.spago/refs/v6.0.0/.eslintrc.json +0 -26
- package/.spago/refs/v6.0.0/.gitignore +0 -8
- package/.spago/st/v6.2.0/.eslintrc.json +0 -26
- package/.spago/st/v6.2.0/.gitignore +0 -8
- package/.spago/strings/v6.0.1/.eslintrc.json +0 -26
- package/.spago/strings/v6.0.1/.gitignore +0 -8
- package/.spago/tailrec/v6.1.0/.gitignore +0 -7
- package/.spago/transformers/v6.0.0/.gitignore +0 -7
- package/.spago/tuples/v7.0.0/.gitignore +0 -7
- package/.spago/type-equality/v4.0.1/.gitignore +0 -7
- package/.spago/typelevel-prelude/v7.0.0/.gitignore +0 -8
- package/.spago/unfoldable/v6.0.0/.eslintrc.json +0 -26
- package/.spago/unfoldable/v6.0.0/.gitignore +0 -8
- package/.spago/unicode/v6.0.0/.editorconfig +0 -13
- package/.spago/unicode/v6.0.0/.gitattributes +0 -2
- package/.spago/unicode/v6.0.0/.gitignore +0 -19
- package/.spago/unicode/v6.0.0/.tidyrc.json +0 -10
- package/.spago/unsafe-coerce/v6.0.0/.eslintrc.json +0 -26
- package/.spago/unsafe-coerce/v6.0.0/.gitignore +0 -8
- package/.spago/web-dom/v6.0.0/.eslintrc.json +0 -29
- package/.spago/web-dom/v6.0.0/.gitignore +0 -9
- package/.spago/web-events/v4.0.0/.eslintrc.json +0 -29
- package/.spago/web-events/v4.0.0/.gitignore +0 -8
- package/.spago/web-file/v4.0.0/.eslintrc.json +0 -29
- package/.spago/web-file/v4.0.0/.gitignore +0 -8
- package/.spago/web-html/v4.1.0/.eslintrc.json +0 -29
- package/.spago/web-html/v4.1.0/.gitignore +0 -8
- package/.spago/web-storage/v5.0.0/.eslintrc.json +0 -29
- package/.spago/web-storage/v5.0.0/.gitignore +0 -8
- package/.spago/web-xhr/v5.0.1/.eslintrc.json +0 -29
- package/.spago/web-xhr/v5.0.1/.gitignore +0 -8
- package/LICENSE +0 -21
- package/README.md +0 -95
- package/dist/fluid/shared/website-test.js +0 -41
- package/dist/fluid/shared/webtest-lib.js +0 -300023
- package/script/bundle-website.sh +0 -52
- package/script/util/clean.sh +0 -5
- package/script/util/lisp-case.sh +0 -10
- package/website/article/convolution/index.html +0 -97
- package/website/article/css/styles.css +0 -325
- package/website/article/css/view-styles.css +0 -205
- package/website/article/energy-scatter/index.html +0 -47
- package/website/article/methane/index.html +0 -46
- package/website/article/moving-average/index.html +0 -64
- package/website/article/non-renewables/index.html +0 -52
- package/website/article/renewables-linked/index.html +0 -46
- package/website/article/scigen-1805.02474v1-10/index.html +0 -54
- package/website/article/shared/util.js +0 -15
- /package/website/article/{favicon.ico → src/lib/assets/image/favicon.ico} +0 -0
- /package/website/article/{dataset → static/dataset}/SciGen/1805.02474v1-10.json +0 -0
- /package/website/article/{dataset → static/dataset}/methane-emissions.json +0 -0
- /package/website/article/{dataset → static/dataset}/non-renewables.json +0 -0
- /package/website/article/{dataset → static/dataset}/renewable-new.json +0 -0
- /package/website/article/{dataset → static/dataset}/renewable.json +0 -0
- /package/website/article/{fluid → static/fluid}/1805.02474v1-10.fld +0 -0
- /package/website/article/{fluid → static/fluid}/bar-chart-line-chart.fld +0 -0
- /package/website/article/{fluid → static/fluid}/convolution/emboss.fld +0 -0
- /package/website/article/{fluid → static/fluid}/convolution/testImage.fld +0 -0
- /package/website/article/{fluid → static/fluid}/convolution.fld +0 -0
- /package/website/article/{fluid → static/fluid}/dataset/scigen/_1805_02474v1_10.fld +0 -0
- /package/website/article/{fluid → static/fluid}/energyscatter.fld +0 -0
- /package/website/article/{fluid → static/fluid}/methane.fld +0 -0
- /package/website/article/{fluid → static/fluid}/methane_data.fld +0 -0
- /package/website/article/{fluid → static/fluid}/moving-average.fld +0 -0
- /package/website/article/{fluid → static/fluid}/non-renewables.fld +0 -0
- /package/website/article/{fluid → static/fluid}/nonRenewables.fld +0 -0
- /package/website/article/{fluid → static/fluid}/renewables.fld +0 -0
- /package/website/article/{fluid → static/fluid}/scigen.fld +0 -0
- /package/website/article/{fluid → static/fluid}/util.fld +0 -0
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>Fluid: Data-Linked Visualisations</title>
|
|
9
|
-
<link href="/css/styles.css" rel="stylesheet" type="text/css">
|
|
10
|
-
<link href="/css/view-styles.css" rel="stylesheet" type="text/css">
|
|
11
|
-
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
|
12
|
-
<script src="/shared/util.js"></script>
|
|
13
|
-
</head>
|
|
14
|
-
<body class="standalone">
|
|
15
|
-
<div id="grid" class="grid-container data-pane-hidden double-size">
|
|
16
|
-
<div></div>
|
|
17
|
-
<div></div>
|
|
18
|
-
<div>
|
|
19
|
-
<h3>Clean energy efficiency scatter plot</h3>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div id="fig-data-pane" class="flex-right-align data-pane">
|
|
23
|
-
<div id="fig-input" class="data-pane-column"></div>
|
|
24
|
-
</div>
|
|
25
|
-
<div onclick="toggleDataPane('grid')">
|
|
26
|
-
<i class="data-pane-button toggle-button fa-solid fa-eye-slash"></i>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="flex-left-align">
|
|
29
|
-
<div id="fig">
|
|
30
|
-
<div class="fig-loading">loading figure(s)</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<script type="module">
|
|
36
|
-
import { loadFigure } from "/shared/load-figure.js"
|
|
37
|
-
const spec = {
|
|
38
|
-
"fluidSrcPath": ["../fluid"],
|
|
39
|
-
"inputs": [ "nonRenewables", "renewables" ],
|
|
40
|
-
"query": false,
|
|
41
|
-
"linking": true
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
loadFigure(spec)("fig")("../fluid/energyscatter.fld")()
|
|
45
|
-
</script>
|
|
46
|
-
</body>
|
|
47
|
-
</html>
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>Fluid: Data-Linked Visualisations</title>
|
|
9
|
-
<link href="/css/styles.css" rel="stylesheet" type="text/css">
|
|
10
|
-
<link href="/css/view-styles.css" rel="stylesheet" type="text/css">
|
|
11
|
-
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
|
12
|
-
<script src="/shared/util.js"></script>
|
|
13
|
-
</head>
|
|
14
|
-
<body class="standalone">
|
|
15
|
-
<div id="grid" class="grid-container data-pane-hidden double-size">
|
|
16
|
-
<div></div>
|
|
17
|
-
<div></div>
|
|
18
|
-
<div class="flex-left-align">
|
|
19
|
-
<h3>Methane</h3>
|
|
20
|
-
<p>Methane emissions example</p>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<div id="fig-data-pane" class="flex-right-align data-pane">
|
|
24
|
-
<div id="fig-input" class="data-pane-column"></div>
|
|
25
|
-
</div>
|
|
26
|
-
<div onclick="toggleDataPane('grid')">
|
|
27
|
-
<i class="data-pane-button toggle-button fa-solid fa-eye-slash"></i>
|
|
28
|
-
</div>
|
|
29
|
-
<div id="fig">
|
|
30
|
-
<div class="fig-loading">loading figure(s)</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
<script type="module">
|
|
35
|
-
import { loadFigure } from "/shared/load-figure.js"
|
|
36
|
-
const spec = {
|
|
37
|
-
"fluidSrcPath": ["../fluid"],
|
|
38
|
-
"inputs": [ "methane"],
|
|
39
|
-
"query": false,
|
|
40
|
-
"linking": true
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
loadFigure(spec)("fig")("../fluid/methane.fld")()
|
|
44
|
-
</script>
|
|
45
|
-
</body>
|
|
46
|
-
</html>
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="icon" href="../favicon.ico" type="image/x-icon">
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>Fluid: Data-Linked Visualisations</title>
|
|
9
|
-
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
|
10
|
-
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
|
11
|
-
<script src="../shared/util.js"></script>
|
|
12
|
-
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
|
13
|
-
<style>
|
|
14
|
-
:root {
|
|
15
|
-
--text-pane-width: 400px;
|
|
16
|
-
}
|
|
17
|
-
.data-pane {
|
|
18
|
-
max-width: 300px;
|
|
19
|
-
}
|
|
20
|
-
</style>
|
|
21
|
-
</head>
|
|
22
|
-
<body>
|
|
23
|
-
<div id="grid" class="grid-container data-pane-hidden">
|
|
24
|
-
<div></div>
|
|
25
|
-
<div></div>
|
|
26
|
-
<div class="flex-left-align">
|
|
27
|
-
<h4>Moving Average</h4>
|
|
28
|
-
<p>The following chart shows a moving average (or rolling average) plot for methane
|
|
29
|
-
emissions under projected emissions scenario <a
|
|
30
|
-
href="https://en.wikipedia.org/wiki/Shared_Socioeconomic_Pathways">SSP5-8.5</a>.
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
<div class="flex-right-align data-pane">
|
|
34
|
-
<p>Every <code>year</code> value is used in both the original curve and its moving average.
|
|
35
|
-
|
|
36
|
-
<div id="fig-input"></div>
|
|
37
|
-
|
|
38
|
-
<p>With <code>emissions</code>, each value contributes to
|
|
39
|
-
<span class="highlight">one</span> point in the original curve but <span class="highlight">three</span>
|
|
40
|
-
in the moving average.</p>
|
|
41
|
-
</div>
|
|
42
|
-
<div onclick="toggleDataPane('grid')">
|
|
43
|
-
<i class="data-pane-button toggle-button fa-solid fa-eye-slash"></i>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="flex-left-align">
|
|
46
|
-
<div id="fig">
|
|
47
|
-
<div class="fig-loading">loading figure(s)</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
<script type="module">
|
|
53
|
-
import { loadFigure } from "../shared/load-figure.js"
|
|
54
|
-
const jsonSpec = {
|
|
55
|
-
"fluidSrcPath": ["../fluid"],
|
|
56
|
-
"inputs": ["methane"],
|
|
57
|
-
"query": false,
|
|
58
|
-
"linking": false
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
loadFigure(jsonSpec)("fig")("../fluid/moving-average.fld")()
|
|
62
|
-
</script>
|
|
63
|
-
</body>
|
|
64
|
-
</html>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="icon" href="../favicon.ico" type="image/x-icon">
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>Fluid: Data-Linked Visualisations</title>
|
|
9
|
-
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
|
10
|
-
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
|
11
|
-
<script src="../shared/util.js"></script>
|
|
12
|
-
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
|
13
|
-
<style>
|
|
14
|
-
.data-pane {
|
|
15
|
-
max-width: 475px;
|
|
16
|
-
}
|
|
17
|
-
</style>
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
|
|
21
|
-
<div id="grid" class="grid-container data-pane-hidden">
|
|
22
|
-
<div></div>
|
|
23
|
-
<div></div>
|
|
24
|
-
<div class="flex-left-align">
|
|
25
|
-
<h4>Non-Renewable Energy plots</h4>
|
|
26
|
-
</div>
|
|
27
|
-
|
|
28
|
-
<div class="flex-right-align data-pane">
|
|
29
|
-
<div id="fig-input"></div>
|
|
30
|
-
</div>
|
|
31
|
-
<div onclick="toggleDataPane('grid')">
|
|
32
|
-
<i class="data-pane-button toggle-button fa-solid fa-eye-slash"></i>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="flex-left-align">
|
|
35
|
-
<div id="fig">
|
|
36
|
-
<div class="fig-loading">loading figure(s)</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<script type="module">
|
|
42
|
-
import { loadFigure } from "../shared/load-figure.js"
|
|
43
|
-
const jsonSpec = {
|
|
44
|
-
"fluidSrcPath": ["../fluid"],
|
|
45
|
-
"inputs": ["nonRenewables"],
|
|
46
|
-
"query": false,
|
|
47
|
-
"linking": true
|
|
48
|
-
}
|
|
49
|
-
loadFigure(jsonSpec)("fig")("../fluid/non-renewables.fld")()
|
|
50
|
-
</script>
|
|
51
|
-
</body>
|
|
52
|
-
</html>
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>Fluid: Data-Linked Visualisations</title>
|
|
9
|
-
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
|
10
|
-
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
|
11
|
-
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
|
12
|
-
<script src="../shared/util.js"></script>
|
|
13
|
-
</head>
|
|
14
|
-
<body class="standalone">
|
|
15
|
-
<div id="grid" class="grid-container data-pane-hidden double-size">
|
|
16
|
-
<div></div>
|
|
17
|
-
<div></div>
|
|
18
|
-
<div>
|
|
19
|
-
<h3>Non-renewables energy output</h3>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div id="fig-data-pane" class="flex-right-align data-pane">
|
|
23
|
-
<div id="fig-input" class="data-pane-column"></div>
|
|
24
|
-
</div>
|
|
25
|
-
<div onclick="toggleDataPane('grid')">
|
|
26
|
-
<i class="data-pane-button toggle-button fa-solid fa-eye-slash"></i>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="flex-left-align">
|
|
29
|
-
<div id="fig">
|
|
30
|
-
<div class="fig-loading">loading figure(s)</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<script type="module">
|
|
36
|
-
import { loadFigure, loadCode } from "../shared/load-figure.js"
|
|
37
|
-
const jsonSpec = {
|
|
38
|
-
"fluidSrcPath": ["../fluid"],
|
|
39
|
-
"inputs": ["renewables"],
|
|
40
|
-
"query": false,
|
|
41
|
-
"linking": true
|
|
42
|
-
}
|
|
43
|
-
loadFigure(jsonSpec)("fig")("../fluid/bar-chart-line-chart.fld")()
|
|
44
|
-
</script>
|
|
45
|
-
</body>
|
|
46
|
-
</html>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8
|
-
<title>Fluid: scigen-multiple-replace</title>
|
|
9
|
-
<link href="../css/styles.css" rel="stylesheet" type="text/css">
|
|
10
|
-
<link href="../css/view-styles.css" rel="stylesheet" type="text/css">
|
|
11
|
-
<script src="../shared/util.js"></script>
|
|
12
|
-
<script src="https://kit.fontawesome.com/20cf8b42c0.js" crossorigin="anonymous"></script>
|
|
13
|
-
<style>
|
|
14
|
-
.data-pane {
|
|
15
|
-
max-width: 400px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
:root {
|
|
19
|
-
--text-pane-width: 530px;
|
|
20
|
-
}
|
|
21
|
-
</style>
|
|
22
|
-
</head>
|
|
23
|
-
<body>
|
|
24
|
-
<div id="grid" class="grid-container data-pane-hidden">
|
|
25
|
-
<div></div>
|
|
26
|
-
<div></div>
|
|
27
|
-
<div class="flex-left-align">
|
|
28
|
-
<h3>1805.02474v1-10</h3>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<div class="flex-right-align data-pane">
|
|
32
|
-
<div id="fig-input"></div>
|
|
33
|
-
</div>
|
|
34
|
-
<div onclick="toggleDataPane('grid')">
|
|
35
|
-
<i class="data-pane-button toggle-button fa-solid fa-eye-slash"></i>
|
|
36
|
-
</div>
|
|
37
|
-
<div id="fig">
|
|
38
|
-
<div class="fig-loading">loading figure(s)</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
<script type="module">
|
|
43
|
-
import { loadFigure, loadCode } from "../shared/load-figure.js"
|
|
44
|
-
const jsonSpec = {
|
|
45
|
-
"fluidSrcPath": ["../fluid"],
|
|
46
|
-
"inputs": [ "tableData" ],
|
|
47
|
-
"query": true,
|
|
48
|
-
"linking": true
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
loadFigure(jsonSpec)("fig")("../fluid/1805.02474v1-10.fld")()
|
|
52
|
-
</script>
|
|
53
|
-
</body>
|
|
54
|
-
</html>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
function toggleDataPane(gridId) {
|
|
2
|
-
const grid = document.getElementById(gridId)
|
|
3
|
-
const hidden = grid.classList.contains('data-pane-hidden')
|
|
4
|
-
const dataPaneButton = document.querySelector('.data-pane-button')
|
|
5
|
-
|
|
6
|
-
if (hidden) {
|
|
7
|
-
grid.classList.remove('data-pane-hidden')
|
|
8
|
-
dataPaneButton.classList.remove('fa-eye-slash')
|
|
9
|
-
dataPaneButton.classList.add('fa-eye')
|
|
10
|
-
} else {
|
|
11
|
-
grid.classList.add('data-pane-hidden')
|
|
12
|
-
dataPaneButton.classList.remove('fa-eye')
|
|
13
|
-
dataPaneButton.classList.add('fa-eye-slash')
|
|
14
|
-
}
|
|
15
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|