Open beingkk opened 2 years ago
+1 On Observable examples. It would be awesome to get gemini working on OHQ
My error on OHQ is about an unrecognised function: bandwidth
.
This is coming from vega-expression code.
https://vega.github.io/vega/docs/expressions/#bandwidth
The function is used in the vega spec when I pull it into vega editor: "height": {"signal": "max(0.25, bandwidth('y'))"}
This is generated by gemini.vl2vg4gemini
, but I don't see anything wrong with it.
There is test code in animationSequence.html
in the test folder. This is working for me with changes in my fork: https://github.com/declann/gemini
Example specs aren't consistent. Some use "charts" key instead of "sequence", so I can't easily get all the examples to run, but usually working with little refactoring. Mainly, my own examples are working now. In future I may want this in Observable, and will report if I make progress.
This does appear to be really handy when it is working.
Working (again) on OHQ - see collection.
Issue was gemini will only work with vega lite 4 (on v5 we get bandwidth errors). But gemimi.web.js is fetching latest vega-lite whenever it doesn't find window.vl
(I guess): that means v5. I made a fork which instead bundles vega-lite 4, and using that it's working again in OHQ (we can't set window.vl
in OHQ: in the past it might have been possible)
Hey, I'm trying to use and adjust the example provided in the readme, but it unfortunately does not work on my mac: It only shows one of the charts (
sSpec
) and does not animate (code attached below).These simple examples on Observable also do not work for me (also this one with the Play button), which makes wonder if it's something else than just a bug in my code...
The examples in the gemini editor however work very well! Perhaps I'm missing something very obvious - would appreciate any advice.
Also, this is a really cool project, thank you so much for developing gemini!
The html code I'm trying out: