Home

Awesome

ui-vega GitHub Actions status |pink-gorilla/ui-vegaCodecov ProjectClojars Project

ui.vega

ui.vega.plot

Demos (port : 8080)

Run clj -X:docs to see ui-vega goldly snippets.

development

clj -X:docs:build :profile "npm-install" clj -X:docs:build :profile "npm-compile2" clj -X:docs

Implementation

Performance test

clj -M:perf

Unit test

clj -M:test
./scripts/test-cljs.sh

vega problems

If there are problems in using vega with errors to "buffer" then npm install shadow-cljs --save might fix it. thheller: both buffer and process are polyfills packages that shadow-cljs will provide ... the npm package is mostly the for CLI stuff but also brings in some extra npm packages the compiler is from the CLJ dependency you have in project.clj. the npm stuff never does any actual compilation, just runs the java process

you do not need to worry about process or buffer at all you can fix this easily by bumping :compiler-options {:output-feature-set :es6} or whatever language level is appropriate :es8 is good if you have bunch of async/await code in libs

With UNPKG you can see output of npm builds. Useful for debugging. https://unpkg.com/browse/vega-embed@6.19.1/build/vega-embed.js

vega-embed iterator.js bug: