Replies: 1 comment 2 replies
-
Mosaic already supports running queries in DuckDB running in WebAssembly and well as Node (connected via REST or WebSockets). The visualizations in vgplot are currently implanted to run in a browser. It should be fairly straight forward to integrate Mosaic into VSCode or other web-based environments. I think this could be done similar to the Jupyter widget (which also works in Google Colab). I like the idea to extend to more platforms but we don't have any immediate plans to implement e.g. a VSCode plugin. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This looks like a great project!
I have a question on what kinds of workflows this could be integrated with. I see that you have examples for Jupyter and Observable — and the documentation talks about running DuckDB-wasm from inside a browser like this and then handling the HTML insertion on your own:
Do you plan or have you considered the ability to run similar code from a Node environment and viewing the charts from VS Code or other editors? I would find it super useful to use Arquero and Mosaic to visualize analysis from a local CSV or connect DuckDB to postgres. The R package httpgd is a good example of integrating plots into VS Code (side note: being able to write the plots to file would also be really useful).
Thanks for your work on this and very excited to see how it develops.
Beta Was this translation helpful? Give feedback.
All reactions