library(jsTreeR)
jstree(
nodes = list(
url = "https://www.jstree.com/fiddle/?lazy",
data = JS('function(node){return { "id" : node.id };}')
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.