-
Hello, I would like to run a Quarto notebook where I create a beeswarm chart in the following way:
I am currently trying to leverage the algorithm from this OJS notebook to perform step 2. While I can use
and similar, as described here, but it never worked from within a All the examples I was able to find only show how to pass the data from R/Python into JS, and not in reverse. Is there a way to do it in Quarto? Being able to access the D3 data manipulation function would be a very useful feature for creating complex charts without having to learn a JS-based visualization library. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is no way to pass data from OJS to Python or R. OJS is a client side library. This means that all OJS code runs in the web browser of the user reading your document instead of the machine the is converting the Quarto document to HTML. You can try to use https://github.com/mgymrek/pybeeswarm. |
Beta Was this translation helpful? Give feedback.
There is no way to pass data from OJS to Python or R. OJS is a client side library. This means that all OJS code runs in the web browser of the user reading your document instead of the machine the is converting the Quarto document to HTML.
You can try to use https://github.com/mgymrek/pybeeswarm.