jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

Can D3.js visualization library be integrated in JASP #1050

Closed tomtomme closed 3 years ago

tomtomme commented 3 years ago

I have no clue if you could even add javascript to the JASP code base, but D3.js seems like a very powerful solution to enhance graphing / plotting capabilities of JASP. See: https://flowingdata.com/2020/11/11/tour-of-the-d3-ecosystem/

boutinb commented 3 years ago

@vandenman Can you have a look if it is something we could use for plot editing?

vandenman commented 3 years ago

Although D3.js certainly is a power graphing library, it would require a complete rewrite of all plots (which are currently written in R) as well as javascript integration into R. I suppose integrating javascript into R is possible with V8, but to do something like that we're talking years rather than weeks or months. I see more potential in something like plotly. However, plotly might introduce a kind of watermark and might also complicate editing or saving figures to different formats (e.g., pdf, svg).

boutinb commented 3 years ago

Also for your information: we will already implementing some plot editing features, that will be available in 0.15

tomtomme commented 3 years ago

thanks for looking into this. I will close this then for now :+1: