@explorable-viz/fluid 0.0.23 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. package/.spago/aff/v7.0.0/.editorconfig +13 -0
  2. package/.spago/aff/v7.0.0/.eslintrc.json +28 -0
  3. package/.spago/aff/v7.0.0/.gitignore +14 -0
  4. package/.spago/aff/v7.0.0/.tidyrc.json +10 -0
  5. package/.spago/affjax/v13.0.0/.editorconfig +13 -0
  6. package/.spago/affjax/v13.0.0/.eslintrc.json +28 -0
  7. package/.spago/affjax/v13.0.0/.gitignore +14 -0
  8. package/.spago/affjax/v13.0.0/.tidyrc.json +10 -0
  9. package/.spago/affjax-node/v1.0.0/.editorconfig +13 -0
  10. package/.spago/affjax-node/v1.0.0/.eslintrc.json +30 -0
  11. package/.spago/affjax-node/v1.0.0/.gitignore +13 -0
  12. package/.spago/affjax-web/v1.0.0/.editorconfig +13 -0
  13. package/.spago/affjax-web/v1.0.0/.eslintrc.json +30 -0
  14. package/.spago/affjax-web/v1.0.0/.gitignore +14 -0
  15. package/.spago/affjax-web/v1.0.0/.tidyrc.json +10 -0
  16. package/.spago/argonaut/v9.0.0/.editorconfig +13 -0
  17. package/.spago/argonaut/v9.0.0/.gitignore +9 -0
  18. package/.spago/argonaut/v9.0.0/.tidyrc.json +10 -0
  19. package/.spago/argonaut-codecs/v9.0.0/.editorconfig +13 -0
  20. package/.spago/argonaut-codecs/v9.0.0/.gitignore +9 -0
  21. package/.spago/argonaut-codecs/v9.0.0/.tidyrc.json +10 -0
  22. package/.spago/argonaut-core/v7.0.0/.editorconfig +13 -0
  23. package/.spago/argonaut-core/v7.0.0/.eslintrc.json +29 -0
  24. package/.spago/argonaut-core/v7.0.0/.gitignore +14 -0
  25. package/.spago/argonaut-core/v7.0.0/.tidyrc.json +10 -0
  26. package/.spago/argonaut-traversals/v10.0.0/.editorconfig +13 -0
  27. package/.spago/argonaut-traversals/v10.0.0/.gitignore +9 -0
  28. package/.spago/argonaut-traversals/v10.0.0/.tidyrc.json +10 -0
  29. package/.spago/arraybuffer-types/v3.0.2/.editorconfig +13 -0
  30. package/.spago/arraybuffer-types/v3.0.2/.gitignore +9 -0
  31. package/.spago/arraybuffer-types/v3.0.2/.tidyrc.json +10 -0
  32. package/.spago/arrays/v7.0.0/.eslintrc.json +26 -0
  33. package/.spago/arrays/v7.0.0/.gitignore +9 -0
  34. package/.spago/assert/v6.0.0/.eslintrc.json +26 -0
  35. package/.spago/assert/v6.0.0/.gitignore +8 -0
  36. package/.spago/avar/v5.0.0/.editorconfig +13 -0
  37. package/.spago/avar/v5.0.0/.eslintrc.json +29 -0
  38. package/.spago/avar/v5.0.0/.gitignore +14 -0
  39. package/.spago/avar/v5.0.0/.tidyrc.json +10 -0
  40. package/.spago/bifunctors/v6.0.0/.gitignore +7 -0
  41. package/.spago/catenable-lists/v7.0.0/.gitignore +7 -0
  42. package/.spago/console/v6.0.0/.eslintrc.json +30 -0
  43. package/.spago/console/v6.0.0/.gitignore +9 -0
  44. package/.spago/const/v6.0.0/.gitignore +7 -0
  45. package/.spago/contravariant/v6.0.0/.gitignore +7 -0
  46. package/.spago/control/v6.0.0/.gitignore +7 -0
  47. package/.spago/datetime/v6.1.0/.eslintrc.json +26 -0
  48. package/.spago/datetime/v6.1.0/.gitignore +8 -0
  49. package/.spago/debug/v6.0.0/.eslintrc.json +36 -0
  50. package/.spago/debug/v6.0.0/.gitignore +8 -0
  51. package/.spago/distributive/v6.0.0/.gitignore +7 -0
  52. package/.spago/effect/v4.0.0/.eslintrc.json +26 -0
  53. package/.spago/effect/v4.0.0/.gitignore +8 -0
  54. package/.spago/either/v6.1.0/.gitignore +7 -0
  55. package/.spago/enums/v6.0.0/.gitignore +7 -0
  56. package/.spago/exceptions/v6.0.0/.eslintrc.json +26 -0
  57. package/.spago/exceptions/v6.0.0/.gitignore +8 -0
  58. package/.spago/exists/v6.0.0/.gitignore +7 -0
  59. package/.spago/filterable/v5.0.0/.gitignore +11 -0
  60. package/.spago/foldable-traversable/v6.0.0/.eslintrc.json +26 -0
  61. package/.spago/foldable-traversable/v6.0.0/.gitignore +8 -0
  62. package/.spago/foreign/v7.0.0/.eslintrc.json +26 -0
  63. package/.spago/foreign/v7.0.0/.gitignore +8 -0
  64. package/.spago/foreign-object/v4.0.0/.eslintrc.json +26 -0
  65. package/.spago/foreign-object/v4.0.0/.gitignore +8 -0
  66. package/.spago/fork/v6.0.0/.editorconfig +13 -0
  67. package/.spago/fork/v6.0.0/.gitignore +9 -0
  68. package/.spago/fork/v6.0.0/.tidyrc.json +10 -0
  69. package/.spago/form-urlencoded/v7.0.0/.editorconfig +13 -0
  70. package/.spago/form-urlencoded/v7.0.0/.gitignore +9 -0
  71. package/.spago/form-urlencoded/v7.0.0/.tidyrc.json +10 -0
  72. package/.spago/free/v7.0.0/.gitignore +8 -0
  73. package/.spago/functions/v6.0.0/.eslintrc.json +26 -0
  74. package/.spago/functions/v6.0.0/.gitignore +8 -0
  75. package/.spago/functors/v5.0.0/.gitignore +7 -0
  76. package/.spago/gen/v4.0.0/.gitignore +8 -0
  77. package/.spago/graphs/v8.0.0/.gitignore +7 -0
  78. package/.spago/http-methods/v6.0.0/.editorconfig +13 -0
  79. package/.spago/http-methods/v6.0.0/.gitignore +9 -0
  80. package/.spago/http-methods/v6.0.0/.tidyrc.json +10 -0
  81. package/.spago/identity/v6.0.0/.gitignore +7 -0
  82. package/.spago/integers/v6.0.0/.eslintrc.json +26 -0
  83. package/.spago/integers/v6.0.0/.gitignore +8 -0
  84. package/.spago/invariant/v6.0.0/.gitignore +7 -0
  85. package/.spago/js-date/v8.0.0/.editorconfig +13 -0
  86. package/.spago/js-date/v8.0.0/.eslintrc.json +29 -0
  87. package/.spago/js-date/v8.0.0/.gitignore +14 -0
  88. package/.spago/js-date/v8.0.0/.tidyrc.json +10 -0
  89. package/.spago/js-uri/v3.0.0/.eslintrc.json +30 -0
  90. package/.spago/js-uri/v3.0.0/.gitignore +14 -0
  91. package/.spago/js-uri/v3.0.0/.tidyrc.json +10 -0
  92. package/.spago/lazy/v6.0.0/.eslintrc.json +26 -0
  93. package/.spago/lazy/v6.0.0/.gitignore +8 -0
  94. package/.spago/lcg/v4.0.0/.gitignore +8 -0
  95. package/.spago/lists/v7.0.0/.gitignore +7 -0
  96. package/.spago/maybe/v6.0.0/.gitignore +7 -0
  97. package/.spago/media-types/v6.0.0/.editorconfig +13 -0
  98. package/.spago/media-types/v6.0.0/.gitignore +9 -0
  99. package/.spago/media-types/v6.0.0/.tidyrc.json +10 -0
  100. package/.spago/newtype/v5.0.0/.gitignore +7 -0
  101. package/.spago/node-buffer/v8.0.0/.eslintrc.json +26 -0
  102. package/.spago/node-buffer/v8.0.0/.gitignore +8 -0
  103. package/.spago/node-child-process/v9.0.0/.eslintrc.json +29 -0
  104. package/.spago/node-child-process/v9.0.0/.gitignore +8 -0
  105. package/.spago/node-fs/v9.1.0/.eslintrc.json +29 -0
  106. package/.spago/node-fs/v9.1.0/.gitignore +9 -0
  107. package/.spago/node-http/v8.0.0/.eslintrc.json +29 -0
  108. package/.spago/node-http/v8.0.0/.gitignore +8 -0
  109. package/.spago/node-net/v4.0.0/.eslintrc.json +29 -0
  110. package/.spago/node-net/v4.0.0/.gitignore +8 -0
  111. package/.spago/node-path/v5.0.0/.eslintrc.json +26 -0
  112. package/.spago/node-path/v5.0.0/.gitignore +8 -0
  113. package/.spago/node-process/v10.0.0/.eslintrc.json +29 -0
  114. package/.spago/node-process/v10.0.0/.gitignore +8 -0
  115. package/.spago/node-streams/v7.0.0/.eslintrc.json +29 -0
  116. package/.spago/node-streams/v7.0.0/.gitignore +8 -0
  117. package/.spago/node-url/v6.0.0/.eslintrc.json +26 -0
  118. package/.spago/node-url/v6.0.0/.gitignore +8 -0
  119. package/.spago/nonempty/v7.0.0/.gitignore +7 -0
  120. package/.spago/now/v6.0.0/.editorconfig +13 -0
  121. package/.spago/now/v6.0.0/.eslintrc.json +29 -0
  122. package/.spago/now/v6.0.0/.gitignore +14 -0
  123. package/.spago/now/v6.0.0/.tidyrc.json +10 -0
  124. package/.spago/nullable/v6.0.0/.editorconfig +13 -0
  125. package/.spago/nullable/v6.0.0/.eslintrc.json +29 -0
  126. package/.spago/nullable/v6.0.0/.gitignore +14 -0
  127. package/.spago/nullable/v6.0.0/.tidyrc.json +10 -0
  128. package/.spago/options/v7.0.0/.editorconfig +13 -0
  129. package/.spago/options/v7.0.0/.gitignore +9 -0
  130. package/.spago/options/v7.0.0/.tidyrc.json +10 -0
  131. package/.spago/optparse/v5.0.0/.gitignore +8 -0
  132. package/.spago/optparse/v5.0.0/.npmrc +1 -0
  133. package/.spago/ordered-collections/v3.0.0/.gitignore +8 -0
  134. package/.spago/orders/v6.0.0/.gitignore +7 -0
  135. package/.spago/parallel/v6.0.0/.gitignore +7 -0
  136. package/.spago/parsing/v10.0.0/.editorconfig +13 -0
  137. package/.spago/parsing/v10.0.0/.gitignore +10 -0
  138. package/.spago/parsing/v10.0.0/.tidyoperators +231 -0
  139. package/.spago/parsing/v10.0.0/.tidyrc.json +10 -0
  140. package/.spago/partial/v4.0.0/.eslintrc.json +26 -0
  141. package/.spago/partial/v4.0.0/.gitignore +8 -0
  142. package/.spago/pathy/v9.0.0/.editorconfig +13 -0
  143. package/.spago/pathy/v9.0.0/.gitignore +9 -0
  144. package/.spago/pathy/v9.0.0/.tidyrc.json +10 -0
  145. package/.spago/posix-types/v6.0.0/.gitignore +7 -0
  146. package/.spago/prelude/v6.0.0/.eslintrc.json +26 -0
  147. package/.spago/prelude/v6.0.0/.gitignore +8 -0
  148. package/.spago/profunctor/v6.0.0/.gitignore +7 -0
  149. package/.spago/profunctor-lenses/v8.0.0/.editorconfig +13 -0
  150. package/.spago/profunctor-lenses/v8.0.0/.gitignore +9 -0
  151. package/.spago/profunctor-lenses/v8.0.0/.tidyrc.json +10 -0
  152. package/.spago/psci-support/v6.0.0/.eslintrc.json +28 -0
  153. package/.spago/psci-support/v6.0.0/.gitignore +8 -0
  154. package/.spago/quickcheck/v8.0.1/.eslintrc.json +26 -0
  155. package/.spago/quickcheck/v8.0.1/.gitignore +8 -0
  156. package/.spago/random/v6.0.0/.eslintrc.json +26 -0
  157. package/.spago/random/v6.0.0/.gitignore +8 -0
  158. package/.spago/record/v4.0.0/.eslintrc.json +26 -0
  159. package/.spago/record/v4.0.0/.gitignore +8 -0
  160. package/.spago/refs/v6.0.0/.eslintrc.json +26 -0
  161. package/.spago/refs/v6.0.0/.gitignore +8 -0
  162. package/.spago/st/v6.0.0/.eslintrc.json +26 -0
  163. package/.spago/st/v6.0.0/.gitignore +8 -0
  164. package/.spago/strings/v6.0.0/.eslintrc.json +26 -0
  165. package/.spago/strings/v6.0.0/.gitignore +8 -0
  166. package/.spago/tailrec/v6.0.0/.gitignore +7 -0
  167. package/.spago/transformers/v6.0.0/.gitignore +7 -0
  168. package/.spago/tuples/v7.0.0/.gitignore +7 -0
  169. package/.spago/type-equality/v4.0.1/.gitignore +7 -0
  170. package/.spago/typelevel-prelude/v7.0.0/.gitignore +8 -0
  171. package/.spago/unfoldable/v6.0.0/.eslintrc.json +26 -0
  172. package/.spago/unfoldable/v6.0.0/.gitignore +8 -0
  173. package/.spago/unicode/v6.0.0/.editorconfig +13 -0
  174. package/.spago/unicode/v6.0.0/.gitattributes +2 -0
  175. package/.spago/unicode/v6.0.0/.gitignore +19 -0
  176. package/.spago/unicode/v6.0.0/.tidyrc.json +10 -0
  177. package/.spago/unsafe-coerce/v6.0.0/.eslintrc.json +26 -0
  178. package/.spago/unsafe-coerce/v6.0.0/.gitignore +8 -0
  179. package/.spago/web-dom/v6.0.0/.eslintrc.json +29 -0
  180. package/.spago/web-dom/v6.0.0/.gitignore +9 -0
  181. package/.spago/web-events/v4.0.0/.eslintrc.json +29 -0
  182. package/.spago/web-events/v4.0.0/.gitignore +8 -0
  183. package/.spago/web-file/v4.0.0/.eslintrc.json +29 -0
  184. package/.spago/web-file/v4.0.0/.gitignore +8 -0
  185. package/.spago/web-html/v4.0.0/.eslintrc.json +29 -0
  186. package/.spago/web-html/v4.0.0/.gitignore +8 -0
  187. package/.spago/web-storage/v5.0.0/.eslintrc.json +29 -0
  188. package/.spago/web-storage/v5.0.0/.gitignore +8 -0
  189. package/.spago/web-xhr/v5.0.0/.eslintrc.json +29 -0
  190. package/.spago/web-xhr/v5.0.0/.gitignore +8 -0
  191. package/LICENSE +1 -1
  192. package/README.md +13 -7
  193. package/dist/fluid/css/styles.css +343 -0
  194. package/dist/{article → fluid}/css/view-styles.css +66 -25
  195. package/dist/fluid/favicon.ico +0 -0
  196. package/dist/fluid/fluid/dataset/methane-emissions.fld +123 -0
  197. package/dist/{article/fluid/example/linked-inputs → fluid/fluid/dataset}/non-renewables.fld +1 -1
  198. package/dist/fluid/fluid/example/dict-list-comp.fld +1 -0
  199. package/dist/fluid/fluid/example/dicts.fld +10 -0
  200. package/dist/{article → fluid}/fluid/example/linked-inputs/energyscatter.fld +1 -1
  201. package/dist/{article → fluid}/fluid/example/linked-inputs/mini-energyscatter.fld +1 -1
  202. package/dist/{article → fluid}/fluid/example/linked-outputs/line-chart.fld +4 -2
  203. package/dist/fluid/fluid/example/linked-outputs/moving-average.fld +19 -0
  204. package/dist/fluid/fluid/example/linked-outputs/pairs-data.fld +1 -0
  205. package/dist/fluid/fluid/example/linked-outputs/pairs.fld +2 -0
  206. package/dist/fluid/fluid/example/percent.fld +1 -0
  207. package/dist/fluid/fluid/example/plot/methane.fld +14 -0
  208. package/dist/fluid/fluid/example/plot/non-renewables.fld +22 -0
  209. package/dist/fluid/fluid/example/slicing/convolution/edgeDetect.expect.fld +1 -0
  210. package/dist/fluid/fluid/example/slicing/convolution/edgeDetect.fld +1 -0
  211. package/dist/fluid/fluid/example/slicing/convolution/emboss-wrap.fld +1 -0
  212. package/dist/fluid/fluid/example/slicing/convolution/emboss.expect.fld +1 -0
  213. package/dist/fluid/fluid/example/slicing/convolution/emboss.fld +1 -0
  214. package/dist/fluid/fluid/example/slicing/convolution/gaussian.expect.fld +1 -0
  215. package/dist/fluid/fluid/example/slicing/convolution/gaussian.fld +1 -0
  216. package/dist/{article → fluid}/fluid/example/slicing/convolution/test-image.fld +1 -1
  217. package/dist/fluid/fluid/example/slicing/dict/create.expect.fld +2 -0
  218. package/dist/fluid/fluid/example/slicing/dict/create.fld +1 -0
  219. package/dist/fluid/fluid/example/slicing/dict/difference.expect.fld +4 -0
  220. package/dist/fluid/fluid/example/slicing/dict/difference.fld +3 -0
  221. package/dist/fluid/fluid/example/slicing/dict/disjointUnion.expect.fld +2 -0
  222. package/dist/fluid/fluid/example/slicing/dict/disjointUnion.fld +1 -0
  223. package/dist/fluid/fluid/example/slicing/dict/foldl.expect.fld +3 -0
  224. package/dist/fluid/fluid/example/slicing/dict/foldl.fld +1 -0
  225. package/dist/fluid/fluid/example/slicing/dict/get.expect.fld +5 -0
  226. package/dist/fluid/fluid/example/slicing/dict/get.fld +3 -0
  227. package/dist/fluid/fluid/example/slicing/dict/intersectionWith.expect.fld +5 -0
  228. package/dist/fluid/fluid/example/slicing/dict/intersectionWith.fld +4 -0
  229. package/dist/fluid/fluid/example/slicing/dict/map.expect.fld +8 -0
  230. package/dist/fluid/fluid/example/slicing/dict/map.fld +5 -0
  231. package/dist/fluid/fluid/example/slicing/dict/match.expect.fld +6 -0
  232. package/dist/fluid/fluid/example/slicing/dict/match.fld +5 -0
  233. package/dist/fluid/fluid/example/slicing/explained.expect.fld +1 -0
  234. package/dist/fluid/fluid/example/slicing/explained.fld +1 -0
  235. package/dist/{article → fluid}/fluid/example/slicing/linked-outputs/bar-chart-line-chart.fld +9 -6
  236. package/dist/{article → fluid}/fluid/example/slicing/linked-outputs/stacked-bar-scatter-plot.fld +8 -7
  237. package/dist/fluid/fluid/example/text-viz/datasets/ssp126.fld +898 -0
  238. package/dist/fluid/fluid/example/text-viz/datasets/ssp245.fld +954 -0
  239. package/dist/fluid/fluid/example/text-viz/datasets/ssp370.fld +842 -0
  240. package/dist/fluid/fluid/example/text-viz/datasets/ssp585.fld +954 -0
  241. package/dist/fluid/fluid/example/text-viz/explainable-table.fld +7 -0
  242. package/dist/fluid/fluid/example/text-viz/fake-probabilities.fld +3 -0
  243. package/dist/fluid/fluid/example/text-viz/figure-spm-4.fld +42 -0
  244. package/dist/fluid/fluid/example/text-viz/left-barchart-table.fld +5 -0
  245. package/dist/fluid/fluid/example/text-viz/likelihoods.fld +9 -0
  246. package/dist/fluid/fluid/example/text-viz/right-barchart-table.fld +5 -0
  247. package/dist/fluid/fluid/example/text-viz/table-spm-1.fld +30 -0
  248. package/dist/{article → fluid}/fluid/lib/prelude.fld +21 -1
  249. package/dist/{article/fluid/lib/nombre.fld → fluid/fluid/lib/text-viz.fld} +4 -0
  250. package/dist/fluid/fluid.mjs +28584 -0
  251. package/dist/fluid/font/GraphikLight.woff2 +0 -0
  252. package/dist/fluid/font/GraphikLightItalic.woff2 +0 -0
  253. package/dist/fluid/font/GraphikMedium.woff2 +0 -0
  254. package/dist/fluid/font/GraphikMediumItalic.woff2 +0 -0
  255. package/dist/fluid/font/OdiseanTech.woff2 +0 -0
  256. package/dist/fluid/load-fig.js +44294 -0
  257. package/dist/fluid/shared/footer.html +6 -0
  258. package/dist/fluid/shared/header.html +26 -0
  259. package/dist/fluid/shared/sub-header.html +12 -0
  260. package/dist/fluid/shared/util.js +72 -0
  261. package/index.js +44294 -0
  262. package/package.json +32 -30
  263. package/script/rebundle-website.sh +81 -0
  264. package/script/util/clean.sh +5 -0
  265. package/dist/article/app.js +0 -40580
  266. package/dist/article/css/styles.css +0 -191
  267. package/dist/article/fluid/example/dicts.fld +0 -11
  268. package/dist/article/fluid/example/graphics/small-barchart.fld +0 -5
  269. package/dist/article/fluid/example/linked-outputs/bar-chart-line-chart.fld +0 -26
  270. package/dist/article/fluid/example/linked-outputs/moving-average-data.fld +0 -9
  271. package/dist/article/fluid/example/linked-outputs/moving-average.fld +0 -15
  272. package/dist/article/fluid/example/linked-outputs/pairs-data.fld +0 -1
  273. package/dist/article/fluid/example/linked-outputs/pairs.fld +0 -3
  274. package/dist/article/fluid/example/linked-outputs/stacked-bar-chart-scatter-plot.fld +0 -38
  275. package/dist/article/fluid/example/slicing/convolution/edgeDetect.expect.fld +0 -1
  276. package/dist/article/fluid/example/slicing/convolution/edgeDetect.fld +0 -1
  277. package/dist/article/fluid/example/slicing/convolution/emboss-wrap.fld +0 -1
  278. package/dist/article/fluid/example/slicing/convolution/emboss.expect.fld +0 -1
  279. package/dist/article/fluid/example/slicing/convolution/emboss.fld +0 -1
  280. package/dist/article/fluid/example/slicing/convolution/gaussian.expect.fld +0 -1
  281. package/dist/article/fluid/example/slicing/convolution/gaussian.fld +0 -1
  282. package/dist/article/fluid/example/slicing/dict/create.expect.fld +0 -1
  283. package/dist/article/fluid/example/slicing/dict/create.fld +0 -1
  284. package/dist/article/fluid/example/slicing/dict/difference.expect.fld +0 -3
  285. package/dist/article/fluid/example/slicing/dict/difference.fld +0 -3
  286. package/dist/article/fluid/example/slicing/dict/disjointUnion.expect.fld +0 -1
  287. package/dist/article/fluid/example/slicing/dict/disjointUnion.fld +0 -1
  288. package/dist/article/fluid/example/slicing/dict/foldl.expect.fld +0 -1
  289. package/dist/article/fluid/example/slicing/dict/foldl.fld +0 -1
  290. package/dist/article/fluid/example/slicing/dict/fromRecord.expect.fld +0 -2
  291. package/dist/article/fluid/example/slicing/dict/fromRecord.fld +0 -1
  292. package/dist/article/fluid/example/slicing/dict/get.expect.fld +0 -3
  293. package/dist/article/fluid/example/slicing/dict/get.fld +0 -2
  294. package/dist/article/fluid/example/slicing/dict/intersectionWith.expect.fld +0 -2
  295. package/dist/article/fluid/example/slicing/dict/intersectionWith.fld +0 -4
  296. package/dist/article/fluid/example/slicing/dict/map.expect.fld +0 -6
  297. package/dist/article/fluid/example/slicing/dict/map.fld +0 -5
  298. package/dist/article/fluid/example/text.fld +0 -27
  299. package/dist/article/fluid/lib/moving-average.fld +0 -35
  300. package/dist/article/index.html +0 -44
  301. package/fluid.js +0 -46
  302. /package/dist/{article/fluid/example/linked-inputs → fluid/fluid/dataset}/mini-non-renewables.fld +0 -0
  303. /package/dist/{article/fluid/example/linked-inputs → fluid/fluid/dataset}/mini-renewables.fld +0 -0
  304. /package/dist/{article/fluid/example/linked-inputs/renewables.fld → fluid/fluid/dataset/renewables-new.fld} +0 -0
  305. /package/dist/{article → fluid}/fluid/dataset/renewables-restricted.fld +0 -0
  306. /package/dist/{article/fluid/example/linked-outputs → fluid/fluid/dataset}/renewables.fld +0 -0
  307. /package/dist/{article → fluid}/fluid/example/arithmetic.fld +0 -0
  308. /package/dist/{article → fluid}/fluid/example/array.fld +0 -0
  309. /package/dist/{article → fluid}/fluid/example/compose.fld +0 -0
  310. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-1.fld +0 -0
  311. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-10.fld +0 -0
  312. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-2.fld +0 -0
  313. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-3.fld +0 -0
  314. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-4.fld +0 -0
  315. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-5.fld +0 -0
  316. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-6.fld +0 -0
  317. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-7.fld +0 -0
  318. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-8.fld +0 -0
  319. /package/dist/{article → fluid}/fluid/example/desugar/list-comp-9.fld +0 -0
  320. /package/dist/{article → fluid}/fluid/example/desugar/list-enum.fld +0 -0
  321. /package/dist/{article → fluid}/fluid/example/div-mod-quot-rem.fld +0 -0
  322. /package/dist/{article → fluid}/fluid/example/factorial.fld +0 -0
  323. /package/dist/{article → fluid}/fluid/example/filter.fld +0 -0
  324. /package/dist/{article → fluid}/fluid/example/first-class-constr.fld +0 -0
  325. /package/dist/{article → fluid}/fluid/example/flatten.fld +0 -0
  326. /package/dist/{article → fluid}/fluid/example/foldr-sumSquares.fld +0 -0
  327. /package/dist/{article → fluid}/fluid/example/graphics/background.fld +0 -0
  328. /package/dist/{article → fluid}/fluid/example/graphics/grouped-bar-chart.fld +0 -0
  329. /package/dist/{article → fluid}/fluid/example/graphics/line-chart.fld +0 -0
  330. /package/dist/{article → fluid}/fluid/example/graphics/stacked-bar-chart.fld +0 -0
  331. /package/dist/{article → fluid}/fluid/example/include-input-into-output.fld +0 -0
  332. /package/dist/{article → fluid}/fluid/example/length.fld +0 -0
  333. /package/dist/{article → fluid}/fluid/example/lexicalScoping.fld +0 -0
  334. /package/dist/{article → fluid}/fluid/example/lib/some-constants.fld +0 -0
  335. /package/dist/{article → fluid}/fluid/example/linked-outputs/convolution-data.fld +0 -0
  336. /package/dist/{article → fluid}/fluid/example/linked-outputs/convolution.fld +0 -0
  337. /package/dist/{article → fluid}/fluid/example/lookup.fld +0 -0
  338. /package/dist/{article → fluid}/fluid/example/map.fld +0 -0
  339. /package/dist/{article → fluid}/fluid/example/mergeSort.fld +0 -0
  340. /package/dist/{article → fluid}/fluid/example/normalise.fld +0 -0
  341. /package/dist/{article → fluid}/fluid/example/nub.fld +0 -0
  342. /package/dist/{article → fluid}/fluid/example/pattern-match.fld +0 -0
  343. /package/dist/{article → fluid}/fluid/example/range.fld +0 -0
  344. /package/dist/{article → fluid}/fluid/example/record-lookup.fld +0 -0
  345. /package/dist/{article/fluid/example/linked-outputs/bar-chart-line-chart.expect.fld → fluid/fluid/example/records.expect.fld} +0 -0
  346. /package/dist/{article → fluid}/fluid/example/records.fld +0 -0
  347. /package/dist/{article → fluid}/fluid/example/reverse.fld +0 -0
  348. /package/dist/{article → fluid}/fluid/example/scratchpad.fld +0 -0
  349. /package/dist/{article → fluid}/fluid/example/slicing/add.expect.fld +0 -0
  350. /package/dist/{article → fluid}/fluid/example/slicing/add.fld +0 -0
  351. /package/dist/{article → fluid}/fluid/example/slicing/array/array.expect.fld +0 -0
  352. /package/dist/{article → fluid}/fluid/example/slicing/array/array.fld +0 -0
  353. /package/dist/{article → fluid}/fluid/example/slicing/array/dims.expect.fld +0 -0
  354. /package/dist/{article → fluid}/fluid/example/slicing/array/dims.fld +0 -0
  355. /package/dist/{article → fluid}/fluid/example/slicing/array/lookup.expect.fld +0 -0
  356. /package/dist/{article → fluid}/fluid/example/slicing/array/lookup.fld +0 -0
  357. /package/dist/{article/fluid/example/slicing/linked-outputs → fluid/fluid/example/slicing/array}/renewables.fld +0 -0
  358. /package/dist/{article → fluid}/fluid/example/slicing/convolution/filter/edge-detect.fld +0 -0
  359. /package/dist/{article → fluid}/fluid/example/slicing/convolution/filter/emboss.fld +0 -0
  360. /package/dist/{article → fluid}/fluid/example/slicing/convolution/filter/gaussian.fld +0 -0
  361. /package/dist/{article → fluid}/fluid/example/slicing/divide.expect.fld +0 -0
  362. /package/dist/{article → fluid}/fluid/example/slicing/divide.fld +0 -0
  363. /package/dist/{article → fluid}/fluid/example/slicing/dtw/average-series.expect.fld +0 -0
  364. /package/dist/{article → fluid}/fluid/example/slicing/dtw/average-series.fld +0 -0
  365. /package/dist/{article → fluid}/fluid/example/slicing/dtw/compute-dtw.expect.fld +0 -0
  366. /package/dist/{article → fluid}/fluid/example/slicing/dtw/compute-dtw.fld +0 -0
  367. /package/dist/{article → fluid}/fluid/example/slicing/filter.expect.fld +0 -0
  368. /package/dist/{article → fluid}/fluid/example/slicing/filter.fld +0 -0
  369. /package/dist/{article → fluid}/fluid/example/slicing/intersperse-1.expect.fld +0 -0
  370. /package/dist/{article → fluid}/fluid/example/slicing/intersperse-2.expect.fld +0 -0
  371. /package/dist/{article → fluid}/fluid/example/slicing/intersperse.fld +0 -0
  372. /package/dist/{article → fluid}/fluid/example/slicing/length.expect.fld +0 -0
  373. /package/dist/{article → fluid}/fluid/example/slicing/length.fld +0 -0
  374. /package/dist/{article → fluid}/fluid/example/slicing/linked-outputs/bar-chart-line-chart.expect.fld +0 -0
  375. /package/dist/{article → fluid}/fluid/example/slicing/linked-outputs/stacked-bar-scatter-plot.expect.fld +0 -0
  376. /package/dist/{article → fluid}/fluid/example/slicing/list-comp-1.expect.fld +0 -0
  377. /package/dist/{article → fluid}/fluid/example/slicing/list-comp-2.expect.fld +0 -0
  378. /package/dist/{article → fluid}/fluid/example/slicing/list-comp.fld +0 -0
  379. /package/dist/{article → fluid}/fluid/example/slicing/lookup.expect.fld +0 -0
  380. /package/dist/{article → fluid}/fluid/example/slicing/lookup.fld +0 -0
  381. /package/dist/{article → fluid}/fluid/example/slicing/map.expect.fld +0 -0
  382. /package/dist/{article → fluid}/fluid/example/slicing/map.fld +0 -0
  383. /package/dist/{article → fluid}/fluid/example/slicing/matrix-update.expect.fld +0 -0
  384. /package/dist/{article → fluid}/fluid/example/slicing/matrix-update.fld +0 -0
  385. /package/dist/{article → fluid}/fluid/example/slicing/multiply.expect.fld +0 -0
  386. /package/dist/{article → fluid}/fluid/example/slicing/multiply.fld +0 -0
  387. /package/dist/{article → fluid}/fluid/example/slicing/nth.expect.fld +0 -0
  388. /package/dist/{article → fluid}/fluid/example/slicing/nth.fld +0 -0
  389. /package/dist/{article → fluid}/fluid/example/slicing/output-not-source.expect.fld +0 -0
  390. /package/dist/{article → fluid}/fluid/example/slicing/output-not-source.fld +0 -0
  391. /package/dist/{article → fluid}/fluid/example/slicing/section-5-example-1.expect.fld +0 -0
  392. /package/dist/{article → fluid}/fluid/example/slicing/section-5-example-2.expect.fld +0 -0
  393. /package/dist/{article → fluid}/fluid/example/slicing/section-5-example-3.expect.fld +0 -0
  394. /package/dist/{article → fluid}/fluid/example/slicing/section-5-example.fld +0 -0
  395. /package/dist/{article → fluid}/fluid/example/slicing/zeros-1.expect.fld +0 -0
  396. /package/dist/{article → fluid}/fluid/example/slicing/zeros-2.expect.fld +0 -0
  397. /package/dist/{article → fluid}/fluid/example/slicing/zeros.fld +0 -0
  398. /package/dist/{article → fluid}/fluid/example/slicing/zipWith-1.expect.fld +0 -0
  399. /package/dist/{article → fluid}/fluid/example/slicing/zipWith.fld +0 -0
  400. /package/dist/{article → fluid}/fluid/lib/convolution.fld +0 -0
  401. /package/dist/{article → fluid}/fluid/lib/dtw.fld +0 -0
  402. /package/dist/{article → fluid}/fluid/lib/fnum.fld +0 -0
  403. /package/dist/{article → fluid}/fluid/lib/graphics.fld +0 -0
@@ -0,0 +1,343 @@
1
+ @charset "UTF-8";
2
+ @import url("https://fonts.googleapis.com/css2?family=Fira+Code&display=swap");
3
+ @import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
4
+
5
+ @font-face {
6
+ font-family: 'OdiseanTech';
7
+ src: url('/font/OdiseanTech.woff2') format('woff2');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'GraphikLight';
14
+ src: url('/font/GraphikLight.woff2') format('woff2');
15
+ font-weight: 300;
16
+ font-style: normal;
17
+ }
18
+
19
+ @font-face {
20
+ font-family: 'GraphikLightItalic';
21
+ src: url('/font/GraphikLightItalic.woff2') format('woff2');
22
+ font-weight: 300;
23
+ font-style: italic;
24
+ }
25
+
26
+ @font-face {
27
+ font-family: 'GraphikMedium';
28
+ src: url('/font/GraphikMedium.woff2') format('woff2');
29
+ font-weight: 500;
30
+ font-style: normal;
31
+ }
32
+
33
+ @font-face {
34
+ font-family: 'GraphikMediumItalic';
35
+ src: url('/font/GraphikMediumItalic.woff2') format('woff2');
36
+ font-weight: 500;
37
+ font-style: italic;
38
+ }
39
+
40
+ .fluid-logo {
41
+ margin-bottom: 0;
42
+ }
43
+
44
+ .fluid-subtitle {
45
+ margin-bottom: 0;
46
+ margin-top: 0;
47
+ font-size: 12pt;
48
+ }
49
+
50
+ a:link {
51
+ color: darkslategray;
52
+ }
53
+
54
+ a:visited {
55
+ color: #004d40;
56
+ }
57
+
58
+ a:hover {
59
+ color: #009688;
60
+ }
61
+
62
+ a:active {
63
+ color: #003d33;
64
+ }
65
+
66
+ .right-justified {
67
+ margin-left: auto;
68
+ width: fit-content;
69
+ }
70
+
71
+ .nowrap {
72
+ white-space: nowrap;
73
+ }
74
+
75
+ code {
76
+ font-family: 'Ubuntu Mono', monospace;
77
+ }
78
+
79
+ body {
80
+ font-size: 12pt;
81
+ font-family: "GraphikLight", sans-serif;
82
+ font-weight: 300;
83
+ line-height: 1.25;
84
+ padding: 0;
85
+ margin: 0;
86
+ background-color: #FFFFFF;
87
+ color: #404040;
88
+ margin-bottom: 10em;
89
+ }
90
+
91
+ p {
92
+ margin-top: 1em;
93
+ margin-bottom: 1em;
94
+ }
95
+
96
+ p + p {
97
+ margin-top: 0;
98
+ }
99
+
100
+ .faq-question {
101
+ font-family: 'GraphikMedium';
102
+ color: darkslategrey;
103
+ }
104
+
105
+ .highlight {
106
+ font-family: 'GraphikMedium';
107
+ }
108
+
109
+ .align-right {
110
+ text-align: right;
111
+ }
112
+
113
+ h2 {
114
+ font-size: 18pt;
115
+ }
116
+
117
+ h3 {
118
+ width: 100%;
119
+ font-size: 16pt;
120
+ font-weight: bold;
121
+ margin-top: 10pt;
122
+ margin-bottom: 4pt;
123
+ border-bottom: 0.5px solid lightgray;
124
+ }
125
+
126
+ h4 {
127
+ font-size: 16pt;
128
+ font-weight: bold;
129
+ margin-top: 0.4em;
130
+ margin-bottom: 0;
131
+ }
132
+
133
+ .sub-header * {
134
+ font-size: 16pt;
135
+ margin-bottom: 4px;
136
+ }
137
+
138
+ ul {
139
+ padding-left: 20px;
140
+ margin-top: 0;
141
+ margin-bottom: 0;
142
+ }
143
+
144
+ li {
145
+ margin-bottom: 1ex;
146
+ }
147
+
148
+ li:last-child {
149
+ margin-bottom: 0;
150
+ }
151
+
152
+ .table-caption {
153
+ text-align: left;
154
+ }
155
+
156
+ nav ul {
157
+ padding-left: 0;
158
+ list-style: none;
159
+ }
160
+
161
+ nav ul li {
162
+ float: left;
163
+ overflow: hidden;
164
+ margin-bottom: 0;
165
+ }
166
+
167
+ nav ul li:not(:last-child)::after {
168
+ content: "•";
169
+ margin-right: 5px;
170
+ margin-left: 5px;
171
+ }
172
+
173
+ nav ul li.active-page a {
174
+ pointer-events: none;
175
+ color: inherit;
176
+ text-decoration: none;
177
+ cursor: default;
178
+ font-weight: bold;
179
+ color: rgb(135, 129, 255);
180
+ }
181
+
182
+ .cm-editor {
183
+ background: #2D2D2D;
184
+ color: #F0F0F0;
185
+ }
186
+
187
+ .cm-line {
188
+ font-family: 'Ubuntu Mono';
189
+ font-size: 10pt;
190
+ }
191
+
192
+ .cm-gutter {
193
+ background-color: #232323;
194
+ }
195
+
196
+ .cm-gutterElement {
197
+ font-family: 'Ubuntu Mono';
198
+ font-size: 10pt;
199
+ color: #88C0D0;
200
+ }
201
+
202
+ .right-border {
203
+ border-right: 0.5px solid lightgray;
204
+ padding-right: 6px;
205
+ }
206
+
207
+ .right-border + div {
208
+ padding-left: 4px
209
+ }
210
+
211
+ .header-grid-container {
212
+ display: grid;
213
+ background-color: #f0f0f0;
214
+ width: 100%;
215
+ grid-template-columns: 35% 1fr;
216
+ padding-top: 7px;
217
+ padding-bottom: 7px;
218
+ }
219
+
220
+ .footer-grid-container {
221
+ display: grid;
222
+ background-color: #f0f0f0;
223
+ width: 100%;
224
+ grid-template-columns: 35% 1fr;
225
+ margin-top: 10px;
226
+ }
227
+
228
+ :root {
229
+ --toggle-button-width: 24px;
230
+ --text-pane-width: 800px;
231
+ }
232
+
233
+ .grid-container {
234
+ display: grid;
235
+ grid-template-columns: auto var(--toggle-button-width) var(--text-pane-width);
236
+ justify-content: center;
237
+ }
238
+
239
+ .grid-container.data-pane-hidden {
240
+ grid-template-columns: 0 var(--toggle-button-width) var(--text-pane-width);
241
+ }
242
+
243
+ .grid-container.double-size {
244
+ max-width: 66.7vw; /* undo effect of transform: scale(1.5) for layout purposes */
245
+ }
246
+
247
+ .grid-container > :last-child {
248
+ padding-right: 10px;
249
+ }
250
+
251
+ .flex-bottom-align {
252
+ display: flex;
253
+ flex-direction: row;
254
+ }
255
+
256
+ .flex-bottom-align:first-child {
257
+ margin-top: auto;
258
+ }
259
+
260
+ .flex-left-align {
261
+ display: flex;
262
+ flex-direction: column;
263
+ align-items: start;
264
+ }
265
+
266
+ .flex-right-align {
267
+ display: flex;
268
+ flex-direction: column;
269
+ align-items: flex-end;
270
+ }
271
+
272
+ .flex-bottom-align {
273
+ display: flex;
274
+ flex-direction: row;
275
+ align-items: flex-end;
276
+ }
277
+
278
+ .data-pane-button {
279
+ font-size: 10pt;
280
+ }
281
+
282
+ .toggle-button {
283
+ color: #CCCCCC;
284
+ user-select: none;
285
+ }
286
+
287
+ .toggle-button:hover {
288
+ color: #999999;
289
+ cursor: pointer;
290
+ }
291
+
292
+ .data-pane {
293
+ border-right: 1px dotted #CCCCCC;
294
+ }
295
+
296
+ .data-pane-hidden .data-pane {
297
+ visibility: hidden;
298
+ }
299
+
300
+ .data-pane-hidden .data-pane * {
301
+ display: none;
302
+ }
303
+
304
+ .data-pane * {
305
+ font-size: 10pt;
306
+ }
307
+
308
+ .data-pane p {
309
+ margin-right: 3px;
310
+ }
311
+
312
+ /* Not actually double-size any more.. */
313
+ .double-size {
314
+ transform: scale(1.5);
315
+ transform-origin: top;
316
+ --text-pane-width: 600px;
317
+ }
318
+
319
+ body.standalone {
320
+ height: 100%;
321
+ display: grid;
322
+ justify-items: center;
323
+ align-items: start;
324
+ }
325
+
326
+ /* Needed for contained height specifications to work */
327
+ html {
328
+ height: 100%;
329
+ }
330
+
331
+ @keyframes fadeIn {
332
+ from { opacity: 0; }
333
+ to { opacity: 1; }
334
+ }
335
+
336
+ .fig-loading:only-child {
337
+ color: fuchsia;
338
+ animation: fadeIn 2s ease-in-out infinite alternate;
339
+ }
340
+
341
+ .fig-loading:not(:only-child) {
342
+ display: none;
343
+ }
@@ -1,48 +1,74 @@
1
- table {
2
- border-collapse: collapse;
3
- border-spacing: 0px;
4
- }
5
-
6
- thead {
7
- border-top: 0.5px solid lightgray;
8
- }
9
-
10
1
  .legend-box {
11
2
  stroke: lightgray;
12
3
  stroke-width: 0.5px;
13
4
  fill: none;
14
5
  }
15
6
 
7
+ .legend-text {
8
+ font-size: 9pt;
9
+ }
10
+
16
11
  .title-text {
17
12
  fill: Black;
18
13
  font-size: 9pt;
19
- font-family: "Roboto", sans-serif;
20
14
  }
21
15
 
22
- .table-row {
23
- display: table-row;
16
+ .table-view th {
17
+ font-size: 11px;
18
+ text-align: left;
19
+ border-bottom: 'thin solid';
20
+ }
21
+
22
+ .table-view td {
23
+ font-size: 11px;
24
+ }
25
+
26
+ .table-view td:nth-child(1) {
27
+ color: lightgray;
28
+ }
29
+
30
+ table {
31
+ border-collapse: collapse;
32
+ }
33
+
34
+ thead {
35
+ border-top: 0.5px solid lightgray;
24
36
  }
25
37
 
26
38
  .table-cell {
27
- border-radius: 2px;
28
- background-color: White;
29
- border-left: 2px solid white;
39
+ border-radius: 0px;
30
40
  }
31
41
 
32
- .table-cell.selected-primary-persistent {
33
- background-color: #93E9BE;
42
+ td.table-cell {
43
+ background-color: white;
34
44
  }
35
45
 
36
- .table-cell.selected-primary-transient {
37
- border-left: 2px solid blue;
46
+ .table-cell.inert {
47
+ color: lightgrey;
48
+ }
49
+
50
+ .table-cell.selected-primary-persistent {
51
+ background-color: #93E9BE;
38
52
  }
39
53
 
40
54
  .table-cell.selected-secondary-persistent {
41
55
  background-color: rgb(226, 226, 226);
42
56
  }
43
57
 
58
+ .table-cell.selected-primary-transient {
59
+ color: blue;
60
+ }
61
+
44
62
  .table-cell.selected-secondary-transient {
45
- border-left: 2px solid lightblue;
63
+ color: royalblue;
64
+ }
65
+
66
+ .table-row {
67
+ display: table-row;
68
+ }
69
+
70
+ .table-row.hidden {
71
+ visibility: collapse;
46
72
  }
47
73
 
48
74
  .linked-text {
@@ -54,6 +80,10 @@ thead {
54
80
  display: inline;
55
81
  }
56
82
 
83
+ .linked-text.inert {
84
+ fill: lightgrey;
85
+ }
86
+
57
87
  .linked-text.selected-primary-persistent {
58
88
  background-color: #93E9BE;
59
89
  }
@@ -70,15 +100,16 @@ thead {
70
100
  border-bottom-color: lightblue;
71
101
  }
72
102
 
73
- .table-row.hidden {
74
- visibility: collapse;
75
- }
76
-
77
103
  .matrix-cell {
78
104
  stroke: DarkGray;
79
105
  fill: White;
80
106
  }
81
107
 
108
+ .matrix-cell.inert {
109
+ stroke: DarkGray;
110
+ fill: rgb(185, 185, 185);
111
+ }
112
+
82
113
  .matrix-cell.selected-primary-persistent {
83
114
  fill: LightGreen;
84
115
  }
@@ -95,7 +126,7 @@ thead {
95
126
 
96
127
  .matrix-cell-text {
97
128
  font-size: 10pt;
98
- font-family: "Roboto", sans-serif;
129
+ font-family: "GraphikLight", sans-serif;
99
130
  color: rgb(205, 205, 205)
100
131
  }
101
132
 
@@ -122,11 +153,21 @@ thead {
122
153
  stroke: black;
123
154
  }
124
155
 
156
+ .scatterplot-point.inert {
157
+ fill: rgb(185,185,185);
158
+ stroke: black;
159
+ }
160
+
125
161
  .scatterplot-point.selected-primary-persistent {
126
162
  fill: LightGreen;
127
163
  stroke: teal;
128
164
  }
129
165
 
166
+ .scatterplot-point.selected-secondary-transient {
167
+ stroke: blue;
168
+ stroke-width: 1;
169
+ }
170
+
130
171
  .scatterplot-point.selected-primary-transient {
131
172
  stroke: blue;
132
173
  stroke-width: 1;
Binary file
@@ -0,0 +1,123 @@
1
+ -- This dataset contains methane emissions for the region of Africa and the Middle East.
2
+ -- Model: REMIND; Scenario: MAGPIE-SSP5-8.5
3
+ [
4
+ -- 2015
5
+ { year: 2015, type: "total", emissions: 64.82295407 },
6
+ { year: 2015, type: "Agricultural Waste Burning", emissions: 0.41125300 },
7
+ { year: 2015, type: "Agriculture", emissions: 18.17094166 },
8
+ { year: 2015, type: "Energy Sector", emissions: 29.76188165 },
9
+ { year: 2015, type: "Forest Burning", emissions: 0.51736129 },
10
+ { year: 2015, type: "Grassland Burning", emissions: 4.12193675 },
11
+ { year: 2015, type: "Industrial Sector", emissions: 0.09559156 },
12
+ { year: 2015, type: "Residential Commercial Other", emissions: 2.69146350 },
13
+ { year: 2015, type: "Transportation Sector", emissions: 0.06519554 },
14
+ { year: 2015, type: "Waste", emissions: 8.98732911 },
15
+
16
+ -- 2020
17
+ { year: 2020, type: "total", emissions: 78.43285535 },
18
+ { year: 2020, type: "Agricultural Waste Burning", emissions: 0.54358088 },
19
+ { year: 2020, type: "Agriculture", emissions: 22.13282073 },
20
+ { year: 2020, type: "Energy Sector", emissions: 38.81883821 },
21
+ { year: 2020, type: "Forest Burning", emissions: 0.51329337 },
22
+ { year: 2020, type: "Grassland Burning", emissions: 3.95741764 },
23
+ { year: 2020, type: "Industrial Sector", emissions: 0.09594071},
24
+ { year: 2020, type: "Residential Commercial Other", emissions: 2.56548807 },
25
+ { year: 2020, type: "Transportation Sector", emissions: 0.06546724 },
26
+ { year: 2020, type: "Waste", emissions: 9.74000850 },
27
+
28
+ -- 2030
29
+ { year: 2030, type: "total", emissions: 121.57147078 },
30
+ { year: 2030, type: "Agricultural Waste Burning", emissions: 0.84583739 },
31
+ { year: 2030, type: "Agriculture", emissions: 37.74454937 },
32
+ { year: 2030, type: "Energy Sector", emissions: 64.18597740 },
33
+ { year: 2030, type: "Forest Burning", emissions: 0.80870342 },
34
+ { year: 2030, type: "Grassland Burning", emissions: 4.02610215 },
35
+ { year: 2030, type: "Industrial Sector", emissions: 0.09598039 },
36
+ { year: 2030, type: "Residential Commercial Other", emissions: 1.97035231 },
37
+ { year: 2030, type: "Transportation Sector", emissions: 0.06571693 },
38
+ { year: 2030, type: "Waste", emissions: 11.82825140 },
39
+
40
+ -- 2040
41
+ { year: 2040, type: "total", emissions: 179.45174841 },
42
+ { year: 2040, type: "Agricultural Waste Burning", emissions: 1.19171607 },
43
+ { year: 2040, type: "Agriculture", emissions: 61.27090324 },
44
+ { year: 2040, type: "Energy Sector", emissions: 97.37841569 },
45
+ { year: 2040, type: "Forest Burning", emissions: 0.66064656 },
46
+ { year: 2040, type: "Grassland Burning", emissions: 3.84519255 },
47
+ { year: 2040, type: "Industrial Sector", emissions: 0.09689225 },
48
+ { year: 2040, type: "Residential Commercial Other", emissions: 1.33010499 },
49
+ { year: 2040, type: "Transportation Sector", emissions: 0.06631730 },
50
+ { year: 2040, type: "Waste", emissions: 13.61155975 },
51
+
52
+ -- 2050
53
+ { year: 2050, type: "total", emissions: 219.38894442 },
54
+ { year: 2050, type: "Agricultural Waste Burning", emissions: 1.60321718 },
55
+ { year: 2050, type: "Agriculture", emissions: 90.85759433 },
56
+ { year: 2050, type: "Energy Sector", emissions: 107.15311705 },
57
+ { year: 2050, type: "Forest Burning", emissions: 0.52749839 },
58
+ { year: 2050, type: "Grassland Burning", emissions: 3.76717842 },
59
+ { year: 2050, type: "Industrial Sector", emissions: 0.09848635 },
60
+ { year: 2050, type: "Residential Commercial Other", emissions: 0.82742253 },
61
+ { year: 2050, type: "Transportation Sector", emissions: 0.06709878 },
62
+ { year: 2050, type: "Waste", emissions: 14.48733139 },
63
+
64
+ -- 2060
65
+ { year: 2060, type: "total", emissions: 242.63229347 },
66
+ { year: 2060, type: "Agricultural Waste Burning", emissions: 1.93557102 },
67
+ { year: 2060, type: "Agriculture", emissions: 104.69106253 },
68
+ { year: 2060, type: "Energy Sector", emissions: 116.74729530 },
69
+ { year: 2060, type: "Forest Burning", emissions: 0.46539144 },
70
+ { year: 2060, type: "Grassland Burning", emissions: 3.66022062 },
71
+ { year: 2060, type: "Industrial Sector", emissions: 0.09971953 },
72
+ { year: 2060, type: "Residential Commercial Other", emissions: 0.46752611 },
73
+ { year: 2060, type: "Transportation Sector", emissions: 0.06781869 },
74
+ { year: 2060, type: "Waste", emissions: 14.49768823 },
75
+
76
+ -- 2070
77
+ { year: 2070, type: "total", emissions: 255.90313098 },
78
+ { year: 2070, type: "Agricultural Waste Burning", emissions: 2.08050211 },
79
+ { year: 2070, type: "Agriculture", emissions: 109.93855666 },
80
+ { year: 2070, type: "Energy Sector", emissions: 125.14149136 },
81
+ { year: 2070, type: "Forest Burning", emissions: 0.45346383 },
82
+ { year: 2070, type: "Grassland Burning", emissions: 3.52716441 },
83
+ { year: 2070, type: "Industrial Sector", emissions: 0.10005683 },
84
+ { year: 2070, type: "Residential Commercial Other", emissions: 0.21893571 },
85
+ { year: 2070, type: "Transportation Sector", emissions: 0.06817304 },
86
+ { year: 2070, type: "Waste", emissions: 14.37478702 },
87
+
88
+ -- 2080
89
+ { year: 2080, type: "total", emissions: 249.84379933 },
90
+ { year: 2080, type: "Agricultural Waste Burning", emissions: 2.15889057 },
91
+ { year: 2080, type: "Agriculture", emissions: 110.07024720 },
92
+ { year: 2080, type: "Energy Sector", emissions: 119.99949417 },
93
+ { year: 2080, type: "Forest Burning", emissions: 0.45790596 },
94
+ { year: 2080, type: "Grassland Burning", emissions: 3.37155974 },
95
+ { year: 2080, type: "Industrial Sector", emissions: 0.09982383 },
96
+ { year: 2080, type: "Residential Commercial Other", emissions: 0.11500102 },
97
+ { year: 2080, type: "Transportation Sector", emissions: 0.06831200 },
98
+ { year: 2080, type: "Waste", emissions: 13.50256483 },
99
+
100
+ -- 2090
101
+ { year: 2090, type: "total", emissions: 209.67760329 },
102
+ { year: 2090, type: "Agricultural Waste Burning", emissions: 2.25135814 },
103
+ { year: 2090, type: "Agriculture", emissions: 100.25638786 },
104
+ { year: 2090, type: "Energy Sector", emissions: 90.74292491 },
105
+ { year: 2090, type: "Forest Burning", emissions: 0.47913947 },
106
+ { year: 2090, type: "Grassland Burning", emissions: 3.01972800 },
107
+ { year: 2090, type: "Industrial Sector", emissions: 0.09911105 },
108
+ { year: 2090, type: "Residential Commercial Other", emissions: 0.06762289 },
109
+ { year: 2090, type: "Transportation Sector", emissions: 0.06829208 },
110
+ { year: 2090, type: "Waste", emissions: 12.69303888 },
111
+
112
+ -- 2100
113
+ { year: 2100, type: "total", emissions: 187.43439917 },
114
+ { year: 2100, type: "Agricultural Waste Burning", emissions: 2.27400509 },
115
+ { year: 2100, type: "Agriculture", emissions: 84.57857015 },
116
+ { year: 2100, type: "Energy Sector", emissions: 82.87915239 },
117
+ { year: 2100, type: "Forest Burning", emissions: 0.47888571 },
118
+ { year: 2100, type: "Grassland Burning", emissions: 2.92857597 },
119
+ { year: 2100, type: "Industrial Sector", emissions: 0.09806927 },
120
+ { year: 2100, type: "Residential Commercial Other", emissions: 0.04356964 },
121
+ { year: 2100, type: "Transportation Sector", emissions: 0.06813231 },
122
+ { year: 2100, type: "Waste", emissions: 14.08543862 }
123
+ ]
@@ -64,4 +64,4 @@
64
64
  { country: "MEX", year: 2018, nuclearOut: 13.32, nuclearCap: 14.10, gasOut: 200.38, gasCap: 308.88, coalOut: 27.0, coalCap: 47.13, petrolOut: 33.19, petrolCap: 50.46},
65
65
  { country: "NGA", year: 2018, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 23.49, gasCap: 94.26, coalOut: 0.62, coalCap: 2.45, petrolOut: 0.0, petrolCap: 0.00},
66
66
  { country: "USA", year: 2018, nuclearOut: 807.08, nuclearCap: 871.01, gasOut: 1469.13, gasCap: 4431.51, coalOut: 1149.49, coalCap: 2293.89, petrolOut: 42.68, petrolCap: 304.67}
67
- ]
67
+ ]
@@ -0,0 +1 @@
1
+ [ x | {fst: x, snd: []} <- [{fst: 5, third: "hello", snd: []}, {fst: 6, snd: [7, 8]}] ]
@@ -0,0 +1,10 @@
1
+ let d = {};
2
+ e = { ["a"]: 5, ["a" ++ "b"] : 6 };
3
+ f = { ["ab"]: 12 }
4
+ in {
5
+ d: d,
6
+ e: e,
7
+ e_ab: e.ab,
8
+ f: dict_map ((+) 1) e,
9
+ g: dict_difference e f
10
+ }
@@ -18,7 +18,7 @@ let plot year countries =
18
18
 
19
19
  in ScatterPlot {
20
20
  caption: "Clean energy efficiency vs. proportion of renewable energy capacity",
21
- data: plot 2018 [ "BRA", "CHN", "DEU", "FRA", "EGY", "IND", "JPN", "MEX", "NGA", "USA" ],
21
+ points: plot 2018 [ "BRA", "CHN", "DEU", "FRA", "EGY", "IND", "JPN", "MEX", "NGA", "USA" ],
22
22
  xlabel: "Renewables/TotalEnergyCap",
23
23
  ylabel: "Clean Capacity Factor"
24
24
  }
@@ -21,7 +21,7 @@ let energy year c_names =
21
21
  map energy_per_country c_names
22
22
  in ScatterPlot {
23
23
  caption: "Clean energy efficiency against proportion of renewable energy cap",
24
- data: [{
24
+ points: [{
25
25
  x: country.nonRenewables / country.totalCap,
26
26
  y: country.renCapFactor
27
27
  }| country <- energy 2018 ["USA"]],
@@ -3,9 +3,11 @@ let series type country = [
3
3
  | year <- [2013..2018], row <- renewables,
4
4
  row.year == year, row.energyType == type, row.country == country
5
5
  ] in LineChart {
6
- caption: "Output of USA relative to China",
6
+ tickLabels: { x: Default, y: Default },
7
+ caption: "Change in renewable energy output of USA relative to China",
8
+ size: { width: 330, height: 285 },
7
9
  plots: [
8
- LinePlot { name: type, data: plot }
10
+ LinePlot { name: type, points: plot }
9
11
  | type <- ["Bio", "Hydro", "Solar", "Wind"],
10
12
  let plot = zipWith (fun p1 p2 -> { x: p1.x, y: p1.y / p2.y })
11
13
  (series type "USA") (series type "China")
@@ -0,0 +1,19 @@
1
+ let nthPad n xs =
2
+ nth (min (max n 0) (length xs - 1)) xs;
3
+ movingAvg ys window =
4
+ [ sum [ nthPad n ys | n <- [ i - window .. i + window ] ] / (1 + 2 * window)
5
+ | i <- [ 0 .. length ys - 1 ] ];
6
+ movingAvg' rs window =
7
+ zipWith
8
+ (fun x y -> {x: x, y: y})
9
+ (map (fun r -> r.x) rs)
10
+ (movingAvg (map (fun r -> r.y) rs) window);
11
+ let points =
12
+ [ { x: r.year, y: r.emissions } | r <- methane, r.type == "Agriculture" ]
13
+ in LineChart {
14
+ tickLabels: { x: Rotated, y: Default },
15
+ size: { width: 330, height: 285 },
16
+ caption: "SSP5-8.5 projected methane emissions (Agriculture)",
17
+ plots: [ LinePlot { name: "Moving average", points: movingAvg' points 1 },
18
+ LinePlot { name: "Original curve", points: points } ]
19
+ }
@@ -0,0 +1,2 @@
1
+ let q = 1 in
2
+ ((fun (w, x) -> (w, (w, x))) data)