d3 all branches on top of each other vertical dendogram. r2d3 shiny
问题 I want to make a vertical dendogram, however all branches are on top of each other, and I don't understand why. enter image description here this is a dendogram based on the flare dataset... The code is meant to go into a shiny app, and that is why i use r2d3. Not sure if this makes a huge difference as the .js doesn't show the proper tree anyway. the code I use right now is: // !preview r2d3 data = read.csv("flare.csv"), d3_version = 4 // Based on: https://bl.ocks.org/mbostock/4063570 var g