JSROOT provides possibility to read data from existing TTree object from ROOT file.
One can read selected branches and perform complex TTree::Draw operations.
It is not possible to create new TTree object and write it into the file.
One should use ROOT C++ code for such purposes.
ROOT provides THttpServer class which allows to use TTree object directly - via so called “player”.
See snapshot of such functionality here:
Hi again,
I already tested
root.cern/js/latest/jsdoc/JSROOT.html#.createHistogram
and
root.cern/js/latest/jsdoc/JSROOT.html#.createTGraph
but how to create 3D scatter plots or other 3D objects?