Is there a way to use a more up to date version of vega-lite than currently in clerk? I've got some issues with a chart that works fine when I load it into the vega editor, but doesn't have all the bells and whistles when running inside the clerk notebook.
updated chrome and still broken for me (on nix). It works fine on Firefox tho. so π€·
@andrea712 thx for having a look. I'll figure out what is broken on my side
hi @otfrom, could you paste the spec youβre trying to render? Clerk is currently using vega-embed v6.11.1, while the latest is v6.24.0 and we can bump that I guess https://github.com/nextjournal/clerk/blob/c741fcd021c333d6d3fb2ba000cc04bb5d3e8251/src/nextjournal/clerk/render.cljs#L895-L913
here is the clj and the json https://gist.github.com/otfrom/6543853674a52cbf41e7dc13c4804af8
I don't get the rule or the circles on mouseover in the clerk notebook but they turn up fine in the vega editor
hmm, it must be something else than the version, I see the ruler and the circles (with version 6.11.1 of vega embed)
there is a bug in that w/the number being shown in the tooltip, but I can wrestle that one down
which browser?
Chrome
bbiab
thx!
Some nice recent Clerk projects spotted in the wild! A Clojure introduction by @anthony-galea: https://github.clerk.garden/anthonygalea/notes-on-clojure/commit/1f7a15e4de6b61c363185691b340c74c95412f04/ An exploration of image embeddings by @smith.adriane: https://phronmophobic.github.io/clip.clj/semantic-image-search-with-clojure/
I work on a lot of graphical libraries, so clerk is a great fit for documentation π gratitude β’ https://phronmophobic.github.io/clj-graphviz/ β’ https://phronmophobic.github.io/membrane/styled-text/index.html β’ https://phronmophobic.github.io/llama.clj/notebooks/intro.html β’ https://phronmophobic.github.io/clj-media/
it was a pleasure to write using clerk π