powered by
D3Tree(JSON, file_out)
data(counties) JSON<-jsonNestedData(structure=counties[,1:3], values=counties[,4], top_label="UK") D3Tree(JSON, file_out="Tree.html")
Run the code above in your browser using DataLab